1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

134 Commits

Author SHA1 Message Date
Bas Stottelaar
3b14a584b8 boards: *: remove SPI_*_EN now rework is merged 2017-01-31 19:38:41 +01:00
ebc35a0613 boards: fix doxygen @brief in periph.conf 2017-01-27 10:31:56 +01:00
Hauke Petersen
d5e00e594a cpu/msp430fxyz+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Oleg Hahm
3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
PeterKietzmann
94df5a81a8 boards/z1:increase SPI speed for on-board radio 2016-11-29 09:03:22 +01:00
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +02:00
Hauke Petersen
fc243f1841 boards: removed some superfluous definitions
- removed UART_STDIO_DEV as they use the default value
- removed BTN_B1_PIN for nucleo-207, as its already defined in the common header
2016-09-29 11:21:48 +02:00
1c6c447493 Merge pull request #5607 from gebart/pr/xtimer-cleanups
xtimer: Code refactoring and clean ups
2016-07-07 06:37:50 +02:00
Joakim Nohlgård
4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
46bd2f45d9 sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config 2016-07-06 18:16:15 +02:00
Hauke Petersen
204702897b boards/z1: add support for CC2420 radio 2016-07-06 18:14:48 +02:00
Ian Martin
963f8a495d sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE 2016-04-18 12:06:20 -04:00
Martine Lenders
dd0fe60789 Merge pull request #5210 from gtrpucp/BOARD_Z1_FIX_UART
Board z1: Fix UART pin assignment
2016-03-31 12:36:18 +02:00
Joel Palomino
28d0097e5b z1: Fix UART pin assignment 2016-03-30 11:59:38 -05:00
malo
f093d10409 msp430: spi/uart cleaned up USIC - USCI confusion
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-24 09:42:59 +01:00
Hauke Petersen
363b883d51 boards: fixed doxygen in msp430 and x86 board.h 2016-03-15 18:37:54 +01:00
Hauke Petersen
899fb27fa4 boards/z1: unified LED defines 2016-03-15 18:37:53 +01:00
Joakim Nohlgård
ae108581d3 boards/*/Makefile.include: replace $(shell ls) by native Makefile functions 2016-03-11 15:05:06 +01:00
Joakim Nohlgård
dc303a4f0b sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header 2016-03-11 12:04:00 +01:00
Joel Palomino
2f610add9c Board z1: Fix issue #2109 2016-02-26 17:48:13 +01:00
Joakim Nohlgård
717d89899f make: Move Makefile.msp430_common to cpu dir 2016-02-10 16:37:03 +01:00
Hauke Petersen
db25206a58 boards: use default values for STDIO defines 2016-01-05 12:08:31 +01:00
Hauke Petersen
ac2b9f2524 boards: changed module name to 'board' 2015-12-07 17:53:22 +01:00
Hauke Petersen
ddb8765ee4 boards/z1: adjusted to UART changes 2015-10-27 14:59:39 +01:00
Hauke Petersen
528e832c90 boards: cleaned up entries in Makefile.features 2015-10-21 16:45:21 +02:00
Hauke Petersen
e395dfd91e boards: s/GPIO(x,y)/GPIO_PIN(x,y)/ 2015-10-13 14:59:53 +02:00
d9414fdab4 cpu: msp430fxyz: switch back to uart_stdio 2015-09-25 11:09:19 +02:00
Hauke Petersen
a3e11cad93 boards: s/TIMER_DEV/TIMER_BASE/ for msp430 boards 2015-09-17 13:57:58 +02:00
Hauke Petersen
ce6b1d390a boards/z1: added SPI configuration 2015-09-17 11:32:38 +02:00
Hauke Petersen
13aa0ffe12 boards/z1: Makefile cleanup 2015-09-16 17:16:53 +02:00
44cdec0e1e boards: msp430*: added (x)timer XTIMER_SHIFT_ON_COMPARE values 2015-09-16 11:13:41 +02:00
c581e884a7 boards: z1: remove hwtimer from board.h 2015-09-16 10:58:53 +02:00
Thomas Eichinger
122400f85c boards/z1: make use of Makefile.include.serial 2015-09-15 14:06:42 +02:00
Hauke Petersen
78fb698eb7 boards/z1: added GPIO feature 2015-09-03 16:29:55 +02:00
Hauke Petersen
bb204add17 boards/z1: adapted to use periph UART driver 2015-09-03 12:00:33 +02:00
Hauke Petersen
2e9403d8fe board/z1: added (x)timer configuration 2015-09-02 17:10:28 +02:00
Hauke Petersen
824a81ff3a boards/z1: adapted to non-legacy header 2015-09-02 17:10:27 +02:00
57d7e62d57 boards: avsextrem redbee-econotag spark-core telosb z1: fix includes 2015-08-06 12:13:54 +02:00
Hauke Petersen
bff1d7e73e boards: remove feature 'transceiver' 2015-08-06 12:13:54 +02:00
Hauke Petersen
359edca5d1 removed deps to transceiver and sys/net/include
for
    - avsextrem
    - redbee-econotag
    - spark-core
    - telosb
    - z1
2015-08-06 12:13:54 +02:00
ebc9b2ab5f remove legacy board specific cc2420 code 2015-08-06 12:13:19 +02:00
830af458ea oldnet: remove radio_packet_length_t define 2015-08-06 12:13:18 +02:00
Joakim Gebart
68c47d29ea boards/z1: Add getchar implementation 2015-07-14 08:11:19 +02:00
Oleg Hahm
5ca37400b8 boards: remove all C++ comments 2015-06-24 15:54:36 +02:00
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
2015-06-24 15:54:36 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Oleg Hahm
69f07c601f Merge pull request #2949 from OlegHahm/crash_panic_foobar
core: panic unification
2015-05-10 21:54:43 +02:00
Oleg Hahm
828839316b core: renamed crash.h to panic.h 2015-05-09 18:44:10 +02:00
Joakim Gebart
e9c567107d all: remove extra blank lines at the end 2015-05-09 09:10:08 +02:00
Philipp Rosenkranz
02d0c88284 tests/travis: split buildtests into MCU groups. 2015-02-22 15:04:52 +01:00
Hauke Petersen
d45ab123bf board/z1: fixed doxygen group name 2015-02-12 15:11:01 +01:00
Oleg Hahm
f7b197007d travis: make travis happy for empty header files 2014-12-16 17:02:44 +01:00
Oleg Hahm
ed54a5765a boards: created periph-conf.h for remaining boards 2014-12-16 17:02:44 +01:00
Ludwig Ortmann
1340fadcbe boards,drivers,examples: unset ENABLE_DEBUG 2014-12-12 14:29:06 +01:00
Oleg Hahm
0c967c4d3f cpu: msp430: renamed msp430x16x to msp430fxyz 2014-12-02 17:46:57 +01:00
BytesGalore
fc56535dd3 boards: add extern "C" to header files 2014-10-31 11:27:59 +01:00
Oleg Hahm
3c0d91720b Revert "boards: introduced a HAS_RADIO define"
This reverts commit 4238f40429.
2014-10-30 23:13:52 +01:00
Oleg Hahm
4238f40429 boards: introduced a HAS_RADIO define 2014-10-30 17:52:37 +01:00
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`.
2014-10-26 23:54:10 +01:00
Oleg Hahm
559b072a59 make: don't overwrite LINKFLAGS
Fix the boards' Makefiles were a potentially set LINKFLAGS variable were
overwritten.
2014-10-17 22:39:45 +02:00
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.
2014-10-06 17:42:11 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Martine Lenders
6c64144e22 Merge pull request #1558 from authmillenon/fix-termflags
make: Fix TERMFLAGS
2014-08-22 01:37:17 +02:00
Martine Lenders
248a8531a5 make: Fix TERMFLAGS
Sometimes boards/*/Makefile.include (e. g. in case of the msba2) gets included
twice somehow, leading the TERMFLAG to be set twice and faulty. This
fixes that.
2014-08-22 01:09:55 +02:00
Thomas Eichinger
67fc424a76 boards:make: hardcode goodfet.bsl path in Makefile.include 2014-08-21 23:58:05 +02:00
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +02:00
Oleg Hahm
cb85a901f2 pyterm: renamed pyterm.py to pyterm 2014-08-01 17:09:45 +02:00
Oleg Hahm
6340123558 make: introduced TERMFLAGS
Also added the missing -p flag for the new pyterm version where
necessary.
2014-08-01 17:09:45 +02:00
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
1200c3bc46 doc: fix comment indentation 2014-07-31 22:57:19 +02:00
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.
2014-07-31 20:34:28 +02:00
Kévin Roussel
28c6481266 boards/z1: fix cc2420_txrx function in CC2420 driver HAL
When waiting for transmission (to CC2420) to be done,
we were wrongly waiting for UCBUSY bit to be set,
while one should actually wait for that bit to be cleared.
2014-07-08 17:28:16 +02:00
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").
2014-07-08 16:33:18 +02:00
Kévin Roussel
e77a3b0e56 Correction of HAL for CC2420 on concerned boards 2014-07-08 11:46:14 +02:00
Thomas Eichinger
2989932fa8 boards: harmonise cc2420 isr
TelosB, wsn430-v14, Z1
2014-06-30 13:56:41 +02:00
René Kijewski
1608fd1570 make: remove local definitions of (ELF|HEX)FILE
We have sane defaults for `ELFFILE` and `HEXFILE` in the root
`Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's
`Makefile.include` was wrong, which caused e.g. `make buildsize` to
fail.
2014-06-12 10:12:49 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
Thomas Eichinger
1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
2014-05-26 13:21:09 +02:00
Oleg Hahm
4ddc9539fd documentation: unified descriptive text for boards 2014-05-24 15:03:06 +02:00
Oleg Hahm
4f645ecf36 documentation: fix doxygen group for Z1 2014-05-19 10:45:17 +02:00
Kévin Roussel
2a3033b3ca boards/z1: initial import 2014-05-16 11:02:06 +02:00