Commit Graph

68 Commits (pr/rotary)

Author SHA1 Message Date
Bas Stottelaar 3b14a584b8 boards: *: remove SPI_*_EN now rework is merged 6 years ago
Alexandre Abadie ebc35a0613 boards: fix doxygen @brief in periph.conf 6 years ago
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 a5c2a2875e boards/msb-430h: unified LED defines 7 years ago
Hauke Petersen c11517138e boards/msb-430: cleanup in common files
- renamed board-conf.h to board_common.h
- moved common defines to board_common.h
7 years ago
Joakim Nohlgård 49a7368c33 Merge pull request #4970 from kaspar030/fix_board_common_module_names
boards: fix board common module names
7 years ago
Kaspar Schleiser 08b8ac4ba1 boards: msb-430: fix common module name 7 years ago
Hauke Petersen 08d1e8de91 boards/msb-430(h): style fixed in board.h
fixed indention and parens for LED defines
7 years ago
Hauke Petersen 6dc4f0d007 boards/msb-430(h): added LED_GREEN_x macros 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 a4372ce514 boards/msb-430h: adjusted to UART changes 8 years ago
Hauke Petersen 528e832c90 boards: cleaned up entries in Makefile.features 8 years ago
Hauke Petersen e395dfd91e boards: s/GPIO(x,y)/GPIO_PIN(x,y)/ 8 years ago
Hauke Petersen a3e11cad93 boards: s/TIMER_DEV/TIMER_BASE/ for msp430 boards 8 years ago
Hauke Petersen fd693ee092 boards/msb-430h: added SPI configuration 8 years ago
Hauke Petersen c531d157e3 boards/msb-430xx: Makefile cleanup 8 years ago
Kaspar Schleiser 44cdec0e1e boards: msp430*: added (x)timer XTIMER_SHIFT_ON_COMPARE values 8 years ago
Kaspar Schleiser ffd87aacc4 boards: msb-430h: remove hwtimer from board.h 8 years ago
Hauke Petersen 64b3e27479 boards/msb-430h: added GPIO feature 8 years ago
Hauke Petersen daa716aaf8 boards/msb-430h: switched to periph/uart driver 8 years ago
Hauke Petersen 929a38c319 board/msb-430h: 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 723d0b2479 remove legacy board specific cc110x code 8 years ago
Kaspar Schleiser 830af458ea oldnet: remove radio_packet_length_t define 8 years ago
Oleg Hahm 140afc3800 boards: cosmetics 8 years ago
Oleg Hahm 49d4153892 msb-430h: removed superfluous #endif 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
Joakim Gebart e9c567107d all: remove extra blank lines at the end 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 f7b197007d travis: make travis happy for empty header files 8 years ago
Oleg Hahm ed54a5765a boards: created periph-conf.h for remaining boards 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 c33e1b5dad Merge pull request #1844 from OlegHahm/doxygen_cleanup
Doxygen cleanup
9 years ago
Fabian Nack 07fff37efe drivers - cc110x_ng: rename ng driver to legacy 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:

```make
FEATURES_PROVIDED = transceiver
```

An application can have a corresponding line

```make
FEATURES_REQUIRED = transceiver
```

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
"defaulttransceiver".

`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
  `BOARD_BLACKLIST`.

Applications don't have to use this new feature. This change does not
break existing Makefile.
9 years ago
Ludwig Ortmann 2439bd839c doc: fix more license headers
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
9 years ago
Ludwig Ortmann d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
9 years ago
Ludwig Ortmann 3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 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
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:

```make
DIRS = …

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

include $(RIOTBASE)/Makefile.base

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

This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
9 years ago
Thomas Eichinger c6bf3f1ab1 boards: fix license headers to LGPL
harmonises license headers in msb-430, msba2-common,
msba2 and wsn430-common

fixes #1160
9 years ago