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

8688 Commits

Author SHA1 Message Date
Peter Kietzmann
72919af2d2 Merge pull request #4018 from smlng/fix_kw2xrf
Fix send for kw2xrf
2015-10-02 10:45:29 +02:00
smlng
3ed71ae2c6 drivers/kw2x: fix packet address setting
- fix dst address reversed in packet header
 - code and docu cleanup
 - based on at86rf2xx
2015-10-02 10:11:16 +02:00
Cenk Gündoğan
5773356c38 Merge pull request #4016 from OlegHahm/ubjson_init_variable
ubjson: initialize variable
2015-10-01 18:43:07 +02:00
Oleg Hahm
e628fede2a ubjson: initialize variable
To get rid of a compiler warning.
2015-10-01 18:10:08 +02:00
Oleg Hahm
9b05f4e5c9 Merge pull request #4006 from OlegHahm/gnrc_netapi_nonblocking
gnrc netapi: switch to non-blocking IPC calls
2015-10-01 15:13:03 +02:00
Oleg Hahm
6532a761fe gnrc netapi: switch to non-blocking IPC calls
This is quite a major change for GNRC, but should prevent the system to hang completely due to full message queues.
2015-10-01 12:48:12 +02:00
5b0dc7641f Merge pull request #4004 from sgso/used_attribute_for_lto
cpu/cortexm_common: add used attributes for LTO
2015-10-01 11:18:46 +02:00
Cenk Gündoğan
481fb7fc3b Merge pull request #4007 from cgundogan/pr/rpl/dao_entries_numof
rpl: use GNRC_IPV6_FIB_TABLE_SIZE to query for fib entries
2015-10-01 09:35:07 +02:00
Oleg Hahm
890d10181b Merge pull request #3768 from thomaseichinger/pr/osx_unitest_fixes
unittests: native: fixes for OS X
2015-10-01 08:47:25 +02:00
Oleg Hahm
5376dfdca7 Merge pull request #4005 from OlegHahm/shell_ping_multicast_fixes
shell: fix multicast pings
2015-09-30 23:55:44 +02:00
Oleg Hahm
b538c74229 examples: spending the main thread a message queue
Since it is likely that the main thread will send netapi IPC calls that expects a reply. These replies may come faster than the thread can handle them, causing the layers below to stuck.
2015-09-30 23:21:29 +02:00
Oleg Hahm
e3045e8afe shell: drop duplicate ICMPv6 echo responses 2015-09-30 23:21:29 +02:00
Cenk Gündoğan
0b7c7fbbb6 Merge pull request #3884 from cgundogan/pr/sniffer/socketify
sniffer: extend script to support sockets
2015-09-30 18:33:12 +02:00
Cenk Gündoğan
39da27915e rpl: use GNRC_IPV6_FIB_TABLE_SIZE to query for fib entries 2015-09-30 18:21:14 +02:00
Peter Kietzmann
4e05254eb7 Merge pull request #3893 from haukepetersen/opt_f1_baudcalc
cpu/stm32f1: optimized baudrate calculation
2015-09-30 17:20:08 +02:00
Oleg Hahm
dbfe1c03cd Merge pull request #3991 from authmillenon/gnrc_netapi/fix/recover_msg
gnrc_netapi: recover from message send errors
2015-09-30 17:08:13 +02:00
Cenk Gündoğan
46d7571710 sniffer/README: describe usage of the socket connection type 2015-09-30 16:32:23 +02:00
Cenk Gündoğan
be579171d1 sniffer/sniffer.py: enable sniffing for sockets 2015-09-30 16:32:23 +02:00
Sebastian Sontberg
bc1e6c815e cpu/cortexm_common: add used attributes for LTO 2015-09-30 15:56:38 +02:00
Thomas Eichinger
99720b4eec unittest/fib: fix printf formating for OS X 2015-09-30 15:41:59 +02:00
Thomas Eichinger
9da61ab85a sys/ubjson: fix type definition for OS X
Header <sys/types.h> needs to be included for OS X to use size_t.
2015-09-30 15:29:32 +02:00
Thomas Eichinger
e93fd66dbb sys/cbor: change array initializer from const variable to #define
OS X clang complains "folded to constant array as an extension"
[-Wgnu-folding-constant]
2015-09-30 15:29:32 +02:00
Peter Kietzmann
be8f63769c Merge pull request #3879 from sgso/fix_spi_slave_return_codes
cpu: let spi_init_slave() stubs return error codes
2015-09-30 14:07:54 +02:00
Martine Lenders
001fdc5275 Merge pull request #3998 from gebart/pr/xtimer-long-term-fast-cpu-bug
sys/xtimer: Avoid race incrementing multiple periods in _timer_callback
2015-09-30 12:40:08 +02:00
Cenk Gündoğan
d2a02ea582 Merge pull request #3985 from authmillenon/gnrc_pktbuf_static/fix/stats
gnrc_pktbuf_static: fix order of calling
2015-09-30 11:21:40 +02:00
Daniel Krebs
85f5a86f7e Merge pull request #3887 from daniel-k/pr/samd21_clocks
samd21: tidy up peripheral clocks and fix potential bugs
2015-09-30 10:42:10 +02:00
Joakim Nohlgård
b365ab45cb sys/xtimer: Avoid race incrementing multiple periods in _timer_callback
On a fast CPU with a slow timer (e.g. XTIMER_SHIFT > 0) it is possible
that now == _xtimer_now() when spinning for the overflow. In the extreme
case When this happens _next_period() will be called more than once
until the timer overflows for real.

Fault observed in real life when running on a 32.768 kHz timer on a
~96 MHz clocked mulle (Kinetis K60, Cortex-M4). _next_period() was
called 9 times during the same ISR call before the 32 kHz timer
overflowed.
2015-09-30 10:21:33 +02:00
Peter Kietzmann
7770fab9e8 Merge pull request #3994 from daniel-k/pr/rtt_ticks_convert
periph/rtt: add macros for ticks to time conversion
2015-09-30 10:06:27 +02:00
Peter Kietzmann
d18063cbe1 Merge pull request #3929 from haukepetersen/opt_periph_i2c
drivers/i2c: optimized I2C periph driver interface
2015-09-30 08:58:29 +02:00
Joakim Nohlgård
7b10e59ef3 Merge pull request #3868 from daniel-k/pr/at86rf2xx_disable_clock_output
at86rf2xx: disable clock output
2015-09-30 07:50:41 +02:00
Joakim Nohlgård
7c3eabc6a7 Merge pull request #3993 from daniel-k/pr/at86rf2xx_cancel_rx
at86rf2xx: cancel receiving when preparing for TX
2015-09-30 07:47:57 +02:00
Thomas Eichinger
053d2498fc Merge pull request #3193 from locicontrols/cc2538-uart-fixes
cpu/cc2538: misc UART driver fixes
2015-09-30 00:30:31 +02:00
Peter Kietzmann
076cbb6c15 Merge pull request #3897 from haukepetersen/opt_l1_baudcalc
cpu/stm32l1: optimized baudrate calculation
2015-09-29 23:41:27 +02:00
Peter Kietzmann
c797117be1 Merge pull request #3896 from haukepetersen/opt_f4_baudcalc
cpu/stm32f4: optimized baudrate calculation
2015-09-29 23:30:35 +02:00
Peter Kietzmann
6dd73a0e70 Merge pull request #3895 from haukepetersen/opt_f3_baudcalc
cpu/stm32f3: optimized baudrate calculation
2015-09-29 22:24:23 +02:00
Peter Kietzmann
15b5e09d9f Merge pull request #3894 from haukepetersen/opt_f0_baudcalc
cpu/stm32f0: optimized baudrate calculation
2015-09-29 21:01:37 +02:00
Peter Kietzmann
d081adeda9 Merge pull request #3751 from daniel-k/pr/samd21_i2c
samd21/i2c: add feedback in case transfer failed
2015-09-29 20:14:43 +02:00
Martine Lenders
53d7443df0 Merge pull request #3696 from OlegHahm/msg_send_receive_to_self
core: disallow msg_send_receive() on same thread
2015-09-29 19:30:22 +02:00
daniel-k
0b6da4609e samd21: tidy up peripheral clocks and fix potential bugs in pwm and i2c clocks 2015-09-29 18:49:46 +02:00
Cenk Gündoğan
f14ab00658 Merge pull request #3719 from cgundogan/pr/rpl/dodag_conf_prefix_info_request
rpl: make dodag_conf and prefix_info options requestable
2015-09-29 18:44:55 +02:00
Martine Lenders
f413e9b413 Merge pull request #3987 from authmillenon/gnrc_ipv6_nc/fix/undef-iface
gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal
2015-09-29 18:29:35 +02:00
Ian Martin
40b93ea6ad cpu/cc2538: uart init overhaul 2015-09-29 12:26:13 -04:00
Ian Martin
aca53006b0 cpu/cc2538: preserve UART_CTL flags when clearing an error condition 2015-09-29 12:26:13 -04:00
Ian Martin
b2c51bed6a cpu/cc2538: eliminate unused macros UART_1_CTS_PORT and UART_1_RTS_PORT 2015-09-29 12:26:13 -04:00
Ian Martin
d70705f840 cpu/cc2538: round when computing the UART baudrate divisor 2015-09-29 12:26:13 -04:00
Cenk Gündoğan
6dce4e2069 Merge pull request #3983 from gebart/pr/rpl-debug-fix
rpl: Remove unused variable when building with ENABLE_DEBUG=1
2015-09-29 18:03:22 +02:00
Cenk Gündoğan
4cc5564c87 Merge pull request #3982 from authmillenon/gnrc_ipv6_whitelist/feat/initial
gnrc_ipv6_whitelist: initial import
2015-09-29 17:55:42 +02:00
daniel-k
5aeeabf4a9 at86rf2xx: cancel receiving when preparing for TX 2015-09-29 17:16:39 +02:00
Martine Lenders
891450d29d gnrc_netapi: recover from message send errors 2015-09-29 16:58:08 +02:00
Martine Lenders
7861434e34 gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal 2015-09-29 16:13:47 +02:00