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

4000 Commits

Author SHA1 Message Date
Sebastian Sontberg
c8c518005f udp: fix byte order in sockaddr6_t
udp_recvfrom wrote the sender port number in host byte order into the
provided sockaddr6_t. Because all send functions expect the port number
in network byte order this introduces a superfluous conversion step in
case one wants to reuse the address for replying.

closes #1406
2014-10-10 15:43:34 +02:00
BytesGalore
e6cf525a73 Merge pull request #1792 from BytesGalore/rename_cpp_header_to_hpp
renamed the cpp header file from `*.h` to `*.hpp` to avoid false positive when require `extern "C"` in a C header.
2014-10-10 13:29:47 +02:00
BytesGalore
1f011eb1e9 renamed the cpp header file to *.hpp to preven eventually a collision with #1789 2014-10-10 12:56:16 +02:00
Martine Lenders
42f96b0d60 Merge pull request #1699 from Kijewski/issue-1586
core: Provide functions for different byte orders
2014-10-10 07:38:57 +02:00
René Kijewski
b7dcb44e10 Merge pull request #1783 from dangnhat/extern_C_in_headers_core
c++: core: add extern C in header files
2014-10-09 20:42:12 +02:00
Martine Lenders
ded314b29e Merge pull request #1781 from authmillenon/sixlowpan-fix-prefix-init
sixlowpan: fix ipv6_addr_init_prefix
2014-10-09 14:43:50 +02:00
Martine Lenders
d63e98786e sixlowpan: fix ipv6_addr_init_prefix 2014-10-09 14:42:35 +02:00
Thomas Eichinger
590d4c882d Merge pull request #1613 from thomaseichinger/stm32f1_rtt
stm32f1:iot-lab_M3: implement RTT driver
2014-10-09 12:00:15 +02:00
Thomas Eichinger
a16d326bf0 stm32f1: implement RTT driver 2014-10-09 11:13:06 +02:00
Hauke Petersen
09cb367ac2 Merge pull request #1779 from thomaseichinger/stm32f1-flashing
boards/iot-lab_M3: change to openocd's new ftdi interface
2014-10-09 11:09:02 +02:00
Thomas Eichinger
3b56b6bf07 Merge pull request #1780 from LudwigOrtmann/native-freebsd-fixup
sys/posix: FreeBSD fixup
2014-10-09 10:48:59 +02:00
Martine Lenders
56f8de866e Merge pull request #1732 from authmillenon/netdev-nativenet
nativenet: Port nativenet for netdev
2014-10-09 10:44:18 +02:00
Martine Lenders
bf21a9eb0b netdev.tests: Remove unneccessary #ifndef path 2014-10-09 09:40:58 +02:00
Martine Lenders
264785852e nativenet: Supply net_dev_t support for nativenet 2014-10-09 09:40:58 +02:00
Martine Lenders
333c49a344 nativenet: Apply coding conventions 2014-10-09 09:40:57 +02:00
Pham Huu Dang Nhat
2ded32dee7 c++: core: add extern C in header files 2014-10-09 06:18:16 +07:00
DangNhat Pham-Huu
0a7a0f1c3e Merge pull request #1729 from Kijewski/clang++
make: del no-delete-null-pointer-checks for clang++
2014-10-09 06:11:57 +07:00
Ludwig Ortmann
e40f4c1912 native/freebsd: fix usecond typdef 2014-10-08 16:11:15 +02:00
Ludwig Ortmann
6fba6a7f5a native/freebsd: fix tapsetup permission 2014-10-08 16:11:04 +02:00
Thomas Eichinger
e455664cfc boards/iot-lab_M3: change to openocd's new ftdi interface
Openocd communication was done over a deprecated interface definition,
namely ft2232. Using the new ftdi interface speeds up flashing and
doesn't throw warnings anymore.
2014-10-08 13:49:03 +02:00
Ludwig Ortmann
b879f78cd2 Merge pull request #1584 from PeterKietzmann/add_sam3x_spi
cpu/board: updated  spi driver for arduino-due
2014-10-08 04:47:37 -07:00
Martine Lenders
a48e471d88 Merge pull request #1778 from authmillenon/netdev-test-env-fixes
netdev.tests: Add fixes for environment variables
2014-10-08 12:28:16 +02:00
PeterKietzmann
695c34a201 boards: Implement SPI definitions for arduino-due 2014-10-08 12:20:23 +02:00
PeterKietzmann
502ceaf508 cpu: Implement SPI driver for sam3x8e 2014-10-08 12:20:23 +02:00
Martine Lenders
e93faa289b netdev.tests: Kill processes properly 2014-10-08 11:12:59 +02:00
Martine Lenders
37678505a9 netdev.tests: Add fixes for environment variables
+ minor include fix
2014-10-08 09:48:04 +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