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

3971 Commits

Author SHA1 Message Date
PeterKietzmann
502ceaf508 cpu: Implement SPI driver for sam3x8e 2014-10-08 12:20:23 +02:00
Martine Lenders
f384bc1cc9 Merge pull request #1774 from authmillenon/netdev-opt-max
netdev: Provide maximum value of netdev_opt_t for further definitions
2014-10-07 22:48:23 +02:00
Martine Lenders
0c7783806f netdev: Provide maximum value of netdev_opt_t for further definitions 2014-10-07 22:47:54 +02:00
Ludwig Ortmann
62d288d94b Merge pull request #1773 from thomaseichinger/fix_iot-lab_term
boards/iot-lab_M3: fix PORT for TERM
2014-10-07 05:59:51 -07:00
Ludwig Ortmann
5be28f49f6 Merge pull request #1754 from OlegHahm/timex_makefile_order
make: fix the order of Makefile.dep for timex
2014-10-07 05:52:43 -07:00
Thomas Eichinger
4c60c56bb3 boards/iot-lab_M3: fix PORT 2014-10-07 12:33:30 +02:00
Thomas Eichinger
8d73775d99 Merge pull request #1674 from thomaseichinger/default_fix
examples/default:sys/transceiver: fix for 802.15.4 radio devices
2014-10-07 12:15:02 +02:00
Oleg Hahm
a50d44c195 posix: configure stdio only to uart0 if enabled 2014-10-07 12:14:14 +02:00
Oleg Hahm
9cf21545fa make: fix dependencies
uart0 depends on POSIX, not the other way around.
2014-10-07 12:14:14 +02:00
Oleg Hahm
cf49dec303 make: fix the order of Makefile.dep for timex
The order of modules in Makefile.dep matters.
2014-10-07 12:14:14 +02:00
Thomas Eichinger
2f27388d04 sys/transceiver: cleanup and fix for cc2420 and at86rf231
cc2420: the payload pointer was set twice
at86rf231: payload_len was not copied from the radio driver buffer
2014-10-07 11:37:29 +02:00
Thomas Eichinger
6fcc2ac777 shell/transceiver: fix byte selection for 802.15.4 devices in output 2014-10-07 10:32:58 +02:00
Thomas Eichinger
a686e909aa examples/default: fix handling of 802.15.4 devices 2014-10-07 10:32:58 +02:00
Thomas Eichinger
19f612cf2c examples/default: set src addr correctly 2014-10-07 10:32:58 +02:00
benpicco
db727d1d85 Merge pull request #1766 from Lotterleben/oonf_transport_layer
Fix oonf_api after destiny to socket_base migration
2014-10-07 01:36:32 +02:00
Lotte Steenbrink
05f43a9e35 Fix oonf_api after destiny to socket_base migration
The include path provided for socket.h did not exist.
2014-10-06 15:49:39 -07:00
René Kijewski
3d1ff65307 Merge pull request #1765 from LudwigOrtmann/feature_gpio
make: add gpio feature
2014-10-06 20:01:45 +02:00
Ludwig Ortmann
9e15a34a81 tests/driver_pir: set default GPIO 2014-10-06 18:55:54 +02:00
Ludwig Ortmann
6262c4427e make: add gpio feature 2014-10-06 18:55:54 +02:00
Ludwig Ortmann
519821db41 Merge pull request #1734 from Kijewski/issue-1715
make: add Makefile.features telling the BOARDs' features
2014-10-06 09:24:53 -07: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
4d8aad8ad1 make: Centralize color use 2014-10-06 17:36:03 +02:00
René Kijewski
e9c369e2d7 redbee-econotag: don't print noisy warning 2014-10-06 17:34:35 +02:00
Hauke Petersen
5773070d47 Merge pull request #1760 from haukepetersen/fix_iotlab_term
board/iot-lab_M3: fixed default terminal device
2014-10-06 15:40:11 +02:00
Hauke Petersen
bb94394784 board/iot-lab_M3: fixed default terminal device 2014-10-06 15:40:18 +02:00
Ludwig Ortmann
cc319d1dd8 Merge pull request #1755 from Lotterleben/transceiver_debug_clean
transceiver: notify about dropped packets
2014-10-06 03:06:36 -07:00
Lotte Steenbrink
e843868141 Notify about dropped packets
Added debug output that warns about packets that are dropped
because the transceiver buffer was full or because the transceiver
failed to notify aiting upper layers.
2014-10-04 07:18:39 -07:00
Hauke Petersen
49364da1b7 Merge pull request #1713 from haukepetersen/fix_stm32f0_spi
cpu/stm32f0: removed leftovers from slave mode
2014-10-02 17:46:21 +02:00
Hauke Petersen
a29b9a08e4 cpu/stm32f0: removed leftovers from slave mode 2014-10-02 17:44:26 +02:00
Martine Lenders
d1118c0647 Merge pull request #1761 from authmillenon/netdev-fix
tests: fix netdev test
2014-10-02 17:06:35 +02:00
Martine Lenders
0afc3ac6f1 tests: fix netdev test 2014-10-02 13:14:31 +02:00
Martine Lenders
0d33a00d36 Merge pull request #1492 from authmillenon/net-dev-base
drivers: Introduce a general interface for network device drivers
2014-10-02 12:29:59 +02:00
Thomas Eichinger
464ed0ee24 Merge pull request #1752 from haukepetersen/fix_stm32f1_gpio
cpu/stm32f1: fixed gpio driver
2014-10-02 00:49:06 +02:00
Martine Lenders
5596af697d tests: Add functionality test for netdev_base 2014-10-01 23:22:54 +02:00
Martine Lenders
65e0bd5536 drivers: Provide basic interface for all network devices 2014-10-01 23:22:54 +02:00
Martine Lenders
ec24fbd6dc Merge pull request #1751 from LudwigOrtmann/native_syscalls_p2
native: add two more syscall declarations
2014-10-01 22:14:15 +02:00
Ludwig Ortmann
3d6b2e1565 Merge pull request #1750 from backenklee/make_fix
pkg/Makefile.http: complete Makefile-example
2014-10-01 13:03:38 -07:00
Hauke Petersen
f3d8f05d6e cpu/stm32f1: fixed gpio driver
- changed #ifdef to #if for device filter
- guarded file in case no GPIO device is defined
- added guards around interrupts
2014-10-01 22:01:46 +02:00
Lotte Steenbrink
459cd860f5 Merge pull request #1746 from authmillenon/external_modules
make: Allow for include of modules outside of the RIOTBASE path
2014-10-01 22:00:59 +02:00
Ludwig Ortmann
b849b848a0 native: add two more syscall declarations 2014-10-01 21:56:43 +02:00
Leon George
533e23fab0 pkg/Makefile.http: complete Makefile-example 2014-10-01 21:53:43 +02:00
Hauke Petersen
317121d34e Merge pull request #1738 from thomaseichinger/stm32f1-32bit-timer
stm32f1: implement 32bit hwtimer by cascading two timers
2014-10-01 20:55:44 +02:00
Thomas Eichinger
fccfce2d59 stm32f1: implement 32bit hwtimer by cascading two timers 2014-10-01 20:54:14 +02:00
Ludwig Ortmann
983e570e27 Merge pull request #1409 from LudwigOrtmann/hwtimer_spin-barrier
core,sys,boards: introduce hwtimer_spin barrier
2014-10-01 11:52:32 -07:00
Ludwig Ortmann
f677f70836 core/hwtimer: add HWTIMER_WAIT_OVERHEAD 2014-10-01 19:53:43 +02:00
Ludwig Ortmann
19cb5bd153 tests: adopt for hwtimer_spin_barrier
also clean out unneeded headers
2014-10-01 19:53:43 +02:00
Ludwig Ortmann
0a8be81526 core/hwtimer: clean up header
- break/shorten overlong lines
- improve grammar
2014-10-01 19:53:42 +02:00
Ludwig Ortmann
da550bc913 introduce HWTIMER_SPIN_BARRIER (API change)
Boards should define HWTIMER_SPIN_BARRIER that is used to decide
whether it makes sense to set a timer and yield or call hwtimer_spin
instead.
Used by `core/hwtimer.c` and `sys/vtimer/vtimer.c`.
A default value is provided and a warning is printed when it is used.
2014-10-01 19:53:42 +02:00
Oleg Hahm
95d32986cf Merge pull request #1745 from OlegHahm/is_our_address_fixup
sixlowpan: fixed net_if counter
2014-10-01 19:51:18 +02:00
Martine Lenders
97bf8b09ad atmega_common: add ENOTSUP and ECANCELED to errno.h 2014-10-01 19:24:12 +02:00