Commit Graph

64 Commits (pr/rotary)

Author SHA1 Message Date
Hauke Petersen d5e00e594a cpu/msp430fxyz+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
6 years ago
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 6 years ago
Hauke Petersen 363b883d51 boards: fixed doxygen in msp430 and x86 board.h 7 years ago
Hauke Petersen 43a65e890e boards/wsn430-v1_4: unified LED defines 7 years ago
Hauke Petersen 1fc2da1508 boards/wsn430: cleanup for common board.h
- renamed board-conf.h to board_common.h
- moved xtimer defines to board_common.h
7 years ago
Kaspar Schleiser 13c99bbb35 boards: wsn-430: fix Makefiles 7 years ago
Hauke Petersen db25206a58 boards: use default values for STDIO defines 7 years ago
Hauke Petersen ac2b9f2524 boards: changed module name to 'board' 7 years ago
Hauke Petersen 49efe3f611 boards/wsn430-v1_4: adjusted to UART changes 8 years ago
Hauke Petersen 528e832c90 boards: cleaned up entries in Makefile.features 8 years ago
Hauke Petersen 6f5786d08d boards/wsn-430xxx: Makefile cleanup 8 years ago
Kaspar Schleiser 44cdec0e1e boards: msp430*: added (x)timer XTIMER_SHIFT_ON_COMPARE values 8 years ago
Kaspar Schleiser e97553537b boards: wsn430-v1_4: remove hwtimer from board.h 8 years ago
Hauke Petersen 8aa247ff8e boards/wsn430-v1_4: added GPIO feature 8 years ago
Hauke Petersen 2bd250e912 boards/wsn430-xxx: now using periph UART driver 8 years ago
Hauke Petersen c33deca818 board/wsn430-v1_4: added (x)timer configuration 8 years ago
Hauke Petersen bff1d7e73e boards: remove feature 'transceiver' 8 years ago
Kaspar Schleiser bbf64e81ec remove defaulttransceiver, cc110x, cc2420 traces 8 years ago
Kaspar Schleiser ebc9b2ab5f remove legacy board specific cc2420 code 8 years ago
Kaspar Schleiser 830af458ea oldnet: remove radio_packet_length_t define 8 years ago
Oleg Hahm 5ca37400b8 boards: remove all C++ comments 8 years ago
BigDaddyD b6bd067863 boards: removed leading underscores from macros
* also added a trailing underscore to header guards for consistency

Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards

SQUASH ME: fix underscore removal overdos

SQUASH ME: consistent macro naming

SQUASH ME: missed that one

SQUASH ME: fixed overdo

SQUASH ME: consistency
8 years ago
Oleg Hahm 828839316b core: renamed crash.h to panic.h 8 years ago
Tom Van den Eynde 05073bf50a boards/wsn430-v1_4: split FEATURES_PROVIDED over multiple lines 8 years ago
Philipp Rosenkranz 02d0c88284 tests/travis: split buildtests into MCU groups. 8 years ago
Oleg Hahm d798539f86 make: boards: add feature config to Makefiles 8 years ago
Oleg Hahm 39abba1bc2 licenses: fix miss-spelled & missing boiler plates 8 years ago
BytesGalore fc56535dd3 boards: add `extern "C"` to header files 9 years ago
Oleg Hahm 3c0d91720b Revert "boards: introduced a HAS_RADIO define"
This reverts commit 4238f40429.
9 years ago
Oleg Hahm 4238f40429 boards: introduced a HAS_RADIO define 9 years ago
René Kijewski 765c88d08a make: allow drivers to implement features
This change allows drivers (or any module for that matter) to provide
features. This is e.g. useful if a board does not have a transceiver,
but your application uses `USEMODULE += some_driver`, which implements
the transceiver interface.

The line `FEATURES_PROVIDED += some_feature` should go to the guarded
block in `{sys,drivers}/Makefile.include`.
9 years ago
Oleg Hahm 481d4f2ee3 doc: fix ambiguous file name warnings
doxygen does a good job itself, identifying the unique part of the path
to identify a file.
9 years ago
René Kijewski f49bd3e660 make: add Makefile.features telling the BOARDs' features
Please see #1715.
Closes #1715.

This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:


An application can have a corresponding line


If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.

This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module

`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.

Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
  `\setminus` the provided features. The output is empty if there are no
  features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
  but as a table for all boards, but heeded `BOARD_WHITELIST` and

Applications don't have to use this new feature. This change does not
break existing Makefile.
9 years ago
Ludwig Ortmann d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
9 years ago
Ludwig Ortmann 73aa3739d2 doc: use lgplv2.1-short license header instead of lgplv2-short-v2 9 years ago
Cenk Gündoğan 7ca2e874e1 converting tabs to spaces in boards (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
'''find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;'''
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
9 years ago
Ludwig Ortmann b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
9 years ago
Kévin Roussel bee4698158 boards/xx/driver_cc2420: fix race condition in CCA determination
Ensure that CS is active and IRQ disabled when querying CCA
on CC2420 (cc2420_get_cca() function).
Also do a little refactoring (renamed c variable into count,
and named the constant corresponding to RSSI "timeout").
9 years ago
Kévin Roussel e77a3b0e56 Correction of HAL for CC2420 on concerned boards 9 years ago
Thomas Eichinger 2989932fa8 boards: harmonise cc2420 isr
TelosB, wsn430-v14, Z1
9 years ago
René Kijewski 467b41ad49 make: easifier usage of module subdirectories
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:

DIRS = …

all: $(BINDIR)$(MODULE).a
   @for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;

include $(RIOTBASE)/Makefile.base

   @for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;

This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
9 years ago
René Kijewski a8064fd97c Automatically remove dups in `$(USEMODULE)` 9 years ago
René Kijewski 542a2e5d9d Merge pull request #995 from Kijewski/issue-993
Make: exterminate 'clean' buildtarget clutter
9 years ago
Oleg Hahm 4797560c09 wsn430-v1_4b: don't always link cc2420 9 years ago
René Kijewski 300d6b3e35 Make: exterminate 'clean' buildtarget
Closes #993.

We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.

This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
9 years ago
Kévin Roussel 7f4c8f8938 Fix for WSN430 1.4 driver 9 years ago
Kévin Roussel 6c40108c9c Added standard way to query CCA status on CC2420 transceiver (squashed) 9 years ago
Ludwig Ortmann 8ac4f3332d core cpu: add defaulttransceiver pseudomodule
update examples/default
9 years ago
Ludwig Ortmann 9b61d95545 make: don't ignore failures in for loops
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
9 years ago
René Kijewski 2349d0806e "Exterminate `} else {`" 9 years ago