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

12517 Commits

Author SHA1 Message Date
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
zhuoshuguo
70369d6591 gnrc_mac: fix includes. 2016-11-07 15:47:13 +01:00
Martine Lenders
1605b506c9 gnrc_sixlowpan_nhc: fix forwarding case 2016-11-07 15:46:56 +01:00
zhuoshuguo
1a44c0f71b gnrc_mac: add l2 address into netdev2. 2016-11-07 10:33:33 +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
José Ignacio Alamos Aste
fe686d9b29 PPP: Added header definitions 2016-11-02 11:30:38 -03:00
Martine Lenders
2d571bc9e6 Merge pull request #6039 from aabadie/fix_gnrc_networking_channel
example: fix custom 802.15.4 channel definition
2016-11-02 13:51:49 +01:00
58983de28a examples/gnrc_networking: fix custom channel definition 2016-11-02 13:21:34 +01:00
Martine Lenders
2774f845dd Merge pull request #6028 from cgundogan/pr/micro-ecc_hwrng
micro-ecc: require hardware RNG
2016-11-02 10:35:49 +01:00
Cenk Gündoğan
19eac87d9b tests/pkg_micro-ecc: rm requirement for periph_hwrng in Makefile 2016-11-02 09:55:00 +01:00
Cenk Gündoğan
5afad87000 micro-ecc: require hardware RNG 2016-11-02 09:55:00 +01:00
Francisco Acosta
eb06b13722 Merge pull request #5754 from locicontrols/cc2538-timer-pr
CC2538 periph/timer overhaul
2016-11-01 23:22:21 +01:00
Martine Lenders
f8ec2f1135 Merge pull request #5997 from aabadie/nucleo_arduino_pinmap
Provide arduino feature to Nucleo boards
2016-11-01 16:05:09 +01:00
Martine Lenders
ee698f17ad Merge pull request #6009 from kaspar030/fix_cortexm_compile_warning
cpu: cortexm_common: fix compile warning
2016-11-01 15:56:11 +01:00
Thomas Eichinger
4ebbda844c drivers/at86rf2xx: improve precondition checks on state transition
The rational behind this change is the following:
If the transceiver is in any *_BUSY state when `at86rf2xx_set_state()`
gets called this would bypass the `(state == old_state)` check and
unneeded state transitions could be triggered.
2016-11-01 07:16:19 -07:00