Commit Graph

3957 Commits (db727d1d853e8d13f4bbf09fee34e891ba0939ed)
 

Author SHA1 Message Date
benpicco db727d1d85 Merge pull request #1766 from Lotterleben/oonf_transport_layer
Fix oonf_api after destiny to socket_base migration
9 years ago
Lotte Steenbrink 05f43a9e35 Fix oonf_api after destiny to socket_base migration
The include path provided for socket.h did not exist.
9 years ago
René Kijewski 3d1ff65307 Merge pull request #1765 from LudwigOrtmann/feature_gpio
make: add gpio feature
9 years ago
Ludwig Ortmann 9e15a34a81 tests/driver_pir: set default GPIO 9 years ago
Ludwig Ortmann 6262c4427e make: add gpio feature 9 years ago
Ludwig Ortmann 519821db41 Merge pull request #1734 from Kijewski/issue-1715
make: add Makefile.features telling the BOARDs' features
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
René Kijewski 4d8aad8ad1 make: Centralize color use 9 years ago
René Kijewski e9c369e2d7 redbee-econotag: don't print noisy warning 9 years ago
Hauke Petersen 5773070d47 Merge pull request #1760 from haukepetersen/fix_iotlab_term
board/iot-lab_M3: fixed default terminal device
9 years ago
Hauke Petersen bb94394784 board/iot-lab_M3: fixed default terminal device 9 years ago
Ludwig Ortmann cc319d1dd8 Merge pull request #1755 from Lotterleben/transceiver_debug_clean
transceiver: notify about dropped packets
9 years ago
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.
9 years ago
Hauke Petersen 49364da1b7 Merge pull request #1713 from haukepetersen/fix_stm32f0_spi
cpu/stm32f0: removed leftovers from slave mode
9 years ago
Hauke Petersen a29b9a08e4 cpu/stm32f0: removed leftovers from slave mode 9 years ago
Martine Lenders d1118c0647 Merge pull request #1761 from authmillenon/netdev-fix
tests: fix netdev test
9 years ago
Martine Lenders 0afc3ac6f1 tests: fix netdev test 9 years ago
Martine Lenders 0d33a00d36 Merge pull request #1492 from authmillenon/net-dev-base
drivers: Introduce a general interface for network device drivers
9 years ago
Thomas Eichinger 464ed0ee24 Merge pull request #1752 from haukepetersen/fix_stm32f1_gpio
cpu/stm32f1: fixed gpio driver
9 years ago
Martine Lenders 5596af697d tests: Add functionality test for netdev_base 9 years ago
Martine Lenders 65e0bd5536 drivers: Provide basic interface for all network devices 9 years ago
Martine Lenders ec24fbd6dc Merge pull request #1751 from LudwigOrtmann/native_syscalls_p2
native: add two more syscall declarations
9 years ago
Ludwig Ortmann 3d6b2e1565 Merge pull request #1750 from backenklee/make_fix
pkg/Makefile.http: complete Makefile-example
9 years ago
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
9 years ago
Lotte Steenbrink 459cd860f5 Merge pull request #1746 from authmillenon/external_modules
make: Allow for include of modules outside of the RIOTBASE path
9 years ago
Ludwig Ortmann b849b848a0 native: add two more syscall declarations 9 years ago
Leon George 533e23fab0 pkg/Makefile.http: complete Makefile-example 9 years ago
Hauke Petersen 317121d34e Merge pull request #1738 from thomaseichinger/stm32f1-32bit-timer
stm32f1: implement 32bit hwtimer by cascading two timers
9 years ago
Thomas Eichinger fccfce2d59 stm32f1: implement 32bit hwtimer by cascading two timers 9 years ago
Ludwig Ortmann 983e570e27 Merge pull request #1409 from LudwigOrtmann/hwtimer_spin-barrier
core,sys,boards: introduce hwtimer_spin barrier
9 years ago
Ludwig Ortmann f677f70836 core/hwtimer: add HWTIMER_WAIT_OVERHEAD 9 years ago
Ludwig Ortmann 19cb5bd153 tests: adopt for hwtimer_spin_barrier
also clean out unneeded headers
9 years ago
Ludwig Ortmann 0a8be81526 core/hwtimer: clean up header
- break/shorten overlong lines
- improve grammar
9 years ago
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.
9 years ago
Oleg Hahm 95d32986cf Merge pull request #1745 from OlegHahm/is_our_address_fixup
sixlowpan: fixed net_if counter
9 years ago
Martine Lenders 97bf8b09ad atmega_common: add ENOTSUP and ECANCELED to errno.h 9 years ago
Hauke Petersen 223c5f63ca Merge pull request #1748 from LudwigOrtmann/raisingthebar
drivers/periph/gpio: increase possible gpio number
9 years ago
Ludwig Ortmann cd2ea516b7 drivers/periph/gpio: increase possible gpio number 9 years ago
Oleg Hahm cbb1aff0ce sixlowpan: fixed net_if counter
This is a fixup for 11254577eb which
caused this function to always return a positive number, when any
interfaces was configured.
9 years ago
Martine Lenders 50a185524f make: Allow for include of modules outside of the RIOTBASE path 9 years ago
Hinnerk van Bruinehsen e37a34de42 Merge pull request #1744 from N8Fear/fix-mutex_unlock_and_sleep
tests: fix mutex_unlock_and_sleep pids
9 years ago
Hinnerk van Bruinehsen 84d48fa476 tests: fix mutex_unlock_and_sleep pids 9 years ago
Martine Lenders 2fc0ae28cf Merge pull request #1645 from authmillenon/unittests-empty-dirs
unittests: make: Fix unittests for branch changes
9 years ago
René Kijewski 912ee7f6af Merge pull request #1743 from N8Fear/travis
travis: remove comment obsoleted by #1742
9 years ago
Hinnerk van Bruinehsen 5af3ea285b travis: remove comment obsoleted by #1742 9 years ago
Hinnerk van Bruinehsen 7b0b08461a Merge pull request #1742 from BytesGalore/revert_workaround_for_gcc_arm_none
Travis: reverted forcing travis to install `gcc-arm-none-eabi=4-*`
9 years ago
BytesGalore 2b88c1b1ec reverted forcing travis to install `gcc-arm-none-eabi=4-*` 9 years ago
Oleg Hahm be1fde1557 Merge pull request #837 from authmillenon/auto-init-addresses
auto_init: Initialize link-layer addresses from CPU ID
9 years ago
Martine Lenders a5a7008f3f auto_init: Put net_if auto-initialization into its own function 9 years ago
Martin Lenders 30c92efa43 Initialize addresses from CPU ID 9 years ago