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

12322 Commits

Author SHA1 Message Date
04c23f376d Merge pull request #6011 from cladmi/uhcpd_bind_to_device
dist/tools/uhcpd: add an option to bind to device
2016-11-10 13:32:53 +01:00
Martine Lenders
9ce5a5b02c Merge pull request #6083 from miri64/gnrc_sock_ip/fix/fix-memcpy-type
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
2016-11-09 22:38:06 +01:00
Martine Lenders
653e36277c gnrc_sock_ip: fix memcpy()/memset() sizeof-type
The type in the `sizeof()` is just plain wrong. This fixes it.
2016-11-09 21:24:28 +01:00
Gaëtan Harter
778d47c600 dist/tools/uhcpd: add an option to bind to device
Adds '--bind-to-device' option to binds uhcpd listening socket to a device.
It allows running multiple uhcpd and so multiple border router on the same
computer.

This is used for IoT-LAB.

This option requires 'root' permissions as I currently didn't find an
alternative.
2016-11-09 16:01:29 +01:00
e0164660eb Merge pull request #6064 from miri64/gnrc_sixlowpan_nhc/fix/forwarding
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-09 15:56:21 +01:00
Martine Lenders
6d80df1a8d Merge pull request #6065 from cgundogan/pr/cpp_pls_do_not_use_isystem_for_default_includes
newlib: don't use -isystem for default includes
2016-11-09 15:43:41 +01:00
Martine Lenders
87261a7be1 Merge pull request #6082 from haukepetersen/add_board_microbit
boards: added support for BBC micro:bit
2016-11-09 15:28:42 +01:00
Martine Lenders
593ad5237d Merge pull request #6067 from cgundogan/pr/cpp_rm_exception_from_noexcept_func
cpp11-compat: no exceptions in noexcept function
2016-11-09 13:01:21 +01:00
Hauke Petersen
fe7fc50106 tests: blacklisted microbit for insufficiant RAM 2016-11-09 12:01:09 +01:00
Hauke Petersen
4040493e2c examples: blacklisted microbit for insufficiant RAM 2016-11-09 12:01:09 +01:00
Hauke Petersen
6484d9ad1a tests: added micro:bit specific test app 2016-11-09 12:01:09 +01:00
Hauke Petersen
4641bac2ff boards: add support for BBC micro:bit 2016-11-09 12:01:09 +01:00
Hauke Petersen
38861341f2 sys: added 5x5 font 'Mineplex' 2016-11-09 11:59:45 +01:00
Peter Kietzmann
2502b4e5f5 Merge pull request #6015 from thomaseichinger/pr/cc2420_crc_check
drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception
2016-11-09 09:33:32 +01:00
Peter Kietzmann
10d02d1689 Merge pull request #6044 from haukepetersen/opt_udoo_gpiodefines
boards/udoo: removed deprecated GPIO defines
2016-11-09 09:17:49 +01:00
Thomas Eichinger
103c426cdc drivers/cc2420: calculate CRC and check CRC_OK bit on packet reception
First start calculating the CRC in hardware when receiving a frame.

Then, other than the at86rf2xx transceivers the cc2420 don't consider the
CRC_OK flag when reporting a successful packet reception. This change
introduces a check for this bit and drops the packet else by flushing
the RX FIFO.
2016-11-08 23:28:09 -08:00
Martine Lenders
34319b2964 Merge pull request #6084 from miri64/tests/fix/gnrc_sock_udp-resize-pktbuf
tests: resize packet buffer for gnrc_sock_udp test
2016-11-08 21:52:53 +01:00
Francisco Acosta
25e7681c35 Merge pull request #6079 from miri64/tests/fix/posix_semaphore
tests: fix posix_semaphore output and for timer error
2016-11-08 20:37:54 +01:00
Francisco Acosta
380b71726b Merge pull request #6080 from miri64/od/fix/newlib-nano
od: quick-fix for newlib-nano
2016-11-08 19:16:06 +01:00
Francisco Acosta
d5db066cee Merge pull request #6078 from miri64/tests/fix/sizeof_tcb
tests: fix sizeof_tcb output
2016-11-08 18:20:27 +01:00
Martine Lenders
63c17ceb53 tests: resize packet buffer for gnrc_sock_udp test 2016-11-08 18:19:39 +01:00
Martine Lenders
fcff65b6d8 od: quick-fix for newlib-nano 2016-11-08 17:16:53 +01:00
Martine Lenders
8136a12d24 tests: fix posix_semaphore output and for timer error 2016-11-08 16:38:04 +01:00
Martine Lenders
362077d3d5 tests: fix sizeof_tcb output 2016-11-08 16:28:40 +01:00
Martine Lenders
0c22fffcd1 Merge pull request #6071 from melshuber/iphc_issue
gnrc_sixlowpan_iphc: Fixed encoding when COMP=0
2016-11-08 14:34:04 +01:00
Martin Elshuber
b582e64b09 gnrc_sixlowpan_iphc.c: Updated comments some logic 2016-11-08 13:04:12 +01:00
Francisco Acosta
5cddbfc661 Merge pull request #6070 from thomaseichinger/pr/cc2420_fix_empty_fifo_read
drivers/cc2420: adapt FIFO access to recent msp430 SPI changes
2016-11-08 12:39:38 +01:00
Thomas Eichinger
b57ce103a3 drivers/cc2420: adapt FIFO access to recent msp430 SPI changes
When redoing the SPI driver for the msp430 platforms an assert
statement was introduced to prohibit SPI access without any
buffers. Since in the existing code the FIFO pointer is incremented
through a dummy read this results in triggering aforementioned
assert.
2016-11-07 11:09:45 -08:00
Martin Elshuber
faa47a0e03 gnrc_sixlowpan_iphc: Fixed encoding when COMP=0
Summary:

Even ehen COMP is cleared, the algorithm always elides part of the address when a matching
context is found.

This behviour occurs because in the line

  if ((src_ctx != NULL) || ipv6_addr_is_link_local(&(ipv6_hdr->src)))

the COMP bit is not tested.

This patch fixes the problem by setting [src|dst]_ctx to NULL if the
context must not be used.
2016-11-07 19:53:04 +01:00
Cenk Gündoğan
3365bd8a23 cpp11-compat: no exceptions in noexcept function 2016-11-07 16:38:53 +01:00
Cenk Gündoğan
fb3c2b2bc9 newlib: don't use -isystem for default includes 2016-11-07 16:01:41 +01:00
Martine Lenders
1605b506c9 gnrc_sixlowpan_nhc: fix forwarding case 2016-11-07 15:46:56 +01:00
Martine Lenders
e6ad438a0b Merge pull request #5941 from zhuoshuguo/gnrc_mac_type
gnrc: create the basic "gnrc_mac" type for providing common MAC functionalities
2016-11-07 10:11:54 +01:00
Martine Lenders
64c62e837a Merge pull request #5244 from thomaseichinger/pr/rf2xx_better_state_check
drivers/at86rf2xx: improve precondition checks on state transition
2016-11-04 20:26:53 +01:00
Martine Lenders
7974bf2cd8 Merge pull request #6053 from miri64/tinydtls/fix/buildsystem
tinydtls: fix for build system fix
2016-11-04 18:07:53 +01:00
Thomas Eichinger
66db33b662 drivers/at86rf2xx: prevent a possible race condition after state change
It was pointed out that after a state change to RX_AACK_ON reading back
the state to confirm the transition can fail due to an imidiate change
into BUSY_RX_AACK between the successful change on the transceiver and
querying the state.
For this we exclude the readback of the state for transitions to
RX_AACK_ON.
2016-11-04 09:52:35 -07:00
zhuoshuguo
6f39d8c809 gnrc_mac: add gnrc_mac module into netdev2. 2016-11-04 17:04:50 +01:00
Martine Lenders
21c4cb41ff tinydtls: fix for build system fix 2016-11-04 16:20:53 +01:00
Martine Lenders
9e45cc7067 Merge pull request #6047 from miri64/gcoap/fix/netreg-generic
gcoap: use generic netreg initializers
2016-11-04 13:59:02 +01:00
Martine Lenders
815426b0a1 Merge pull request #6051 from OlegHahm/fix_test_mutex_order_readme
tests: mutex_order: updated test and fixed README
2016-11-04 01:11:33 +01:00
Oleg Hahm
9c2338ea7d tests: mutex_order: added pexpect script 2016-11-03 16:37:54 +01:00
Oleg Hahm
a5245769d3 tests: mutex_order: fixed and updated README 2016-11-03 16:37:39 +01:00
Oleg Hahm
e0ede745a6 tests: mutex_order: remove xtimer dependency 2016-11-03 16:37:24 +01:00
Martine Lenders
2ffdf0f2a7 Merge pull request #6046 from miri64/examples/fix/dtls-off-by-one
examples: fix off-by-one error in TinyDTLS example
2016-11-03 15:27:07 +01:00
Martine Lenders
a518a92268 Merge pull request #6045 from miri64/tests/doc/emb6
tests: fix test description for emb6
2016-11-03 14:11:33 +01:00
Martine Lenders
61531451f2 examples: fix off-by-one error in TinyDTLS example 2016-11-03 13:12:21 +01:00
Martine Lenders
dc907b76fa gcoap: use generic netreg initializers
PR #5526 introduced mbox support for netreg so using these functions
is now required.
2016-11-03 12:56:58 +01:00
Martine Lenders
8a399fd5bd tests: fix test description for emb6 2016-11-03 12:54:37 +01:00
Hauke Petersen
878d0ed990 boards/udoo: removed deprecated GPIO defines 2016-11-03 09:25:02 +01:00
Martine Lenders
a6f3db49e5 Merge pull request #5171 from jia200x/PPP_hdr
[GNRC PPP] PPP header definition and helpers
2016-11-02 17:00:31 +01:00