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
7861434e34
gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal
2015-09-29 16:13:47 +02:00
Martine Lenders
e20451edd8
gnrc_pktbuf_static: fix order of calling
2015-09-29 15:27:49 +02:00
Joakim Nohlgård
b85ae4eeb3
rpl: Remove unused variable when building with ENABLE_DEBUG=1
...
Fixes
/data/riotbuild/riotbase/sys/net/gnrc/routing/rpl/gnrc_rpl.c:28:13: error: 'addr_str' defined but not used [-Werror=unused-variable]
static char addr_str[IPV6_ADDR_MAX_STR_LEN];
^
when building with #define ENABLE_DEBUG (1)
2015-09-29 13:20:58 +02:00
Oleg Hahm
bb306038ae
core: disallow msg_send_receive() on same thread
2015-09-29 12:45:27 +02:00
669043c435
Merge pull request #3973 from daniel-k/pr/samr21-xpro_tty
...
samr21-xpro: connect to correct tty when given SERIAL with make term
2015-09-29 12:44:34 +02:00
effb15a2cc
Merge pull request #3313 from gebart/pr/eINT-fixes
...
eINT/dINT fixes
2015-09-29 12:39:16 +02:00
Daniel Krebs
1c585688bc
Merge pull request #3700 from gebart/pr/cortexm-state-rebased
...
cortexm: Attempt to reconstruct state for debugging hard faults
2015-09-29 11:26:28 +02:00
Martine Lenders
a5c23f4c90
shell: provide shell command for whitelist
2015-09-28 16:59:53 +02:00
Martine Lenders
5291f3b2bd
gnrc_ipv6_whitelist: initial import
2015-09-28 16:59:53 +02:00
8da80ee878
Merge pull request #3979 from gebart/pr/xtimer-fixups
...
sys/xtimer: Small fixes
2015-09-28 15:21:30 +02:00
Oleg Hahm
a627b14bcc
Merge pull request #3980 from cgundogan/pr/gnrc_border_router/README
...
examples/gnrc_border_router: README fixes
2015-09-28 14:56:46 +02:00
Cenk Gündoğan
bab642bd37
examples/gnrc_border_router: README fixes
2015-09-28 14:24:48 +02:00
Joakim Nohlgård
0c41304dcd
sys/xtimer: Fix small typo in documentation
2015-09-28 14:23:27 +02:00
Joakim Nohlgård
983b299745
sys/xtimer: xtimer_set: Reduce scope on target variable
2015-09-28 14:23:23 +02:00
Joakim Nohlgård
7f254c6d12
sys/xtimer: rename _ms_to_sec -> _us_to_sec to reflect actual functionality
...
The function divides the argument by 1000000, (microsecond to seconds)
2015-09-28 14:23:16 +02:00
Oleg Hahm
4cfb8140e4
Merge pull request #3978 from LudwigOrtmann/pr/namechange
...
documentation: update my name (Ortmann -> Knüpfer)
2015-09-28 10:38:41 +02:00
Cenk Gündoğan
f4660e8ff5
rpl: request DODAG_CONF and PREFIX_INFO option from parent when joining a DODAG
2015-09-28 09:23:37 +02:00
Oleg Hahm
775a85565b
Merge pull request #3976 from OlegHahm/6lowpan_unused_variable_fix
...
6lowpan: eliminate unused compiler warning
2015-09-27 21:01:06 +02:00
Oleg Hahm
57888f99a7
6lowpan: eliminate unused compiler warning
...
Fixes the bug that was introduced in b1ae07ca82
where the wrong datagram size was used.
2015-09-27 20:25:56 +02:00
Oleg Hahm
75a6c63137
Merge pull request #3975 from OlegHahm/doxygen_fixes_and_cleanup
...
Doxygen: some fixes and cleanup
2015-09-27 20:01:03 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Oleg Hahm
256316485b
Merge pull request #3977 from LudwigOrtmann/pr/release-notes-cleanup
...
release-notes: remove doubled entry
2015-09-27 18:32:21 +02:00