José Alamos
d66ac85b8d
Merge pull request #11540 from OlegHahm/feature/pkg/openthread_update
...
openthread: update to release 20180926
2019-05-17 14:00:42 +02:00
Semjon Kerner
5c35ea814f
Merge pull request #11273 from haukepetersen/opt_nimble_ver370305a
...
ble/nimble: bump version to 9d4bda2
2019-05-17 11:22:47 +02:00
Hauke Petersen
e172c80bad
tests/nimble_l2cap: adapt to config var name change
2019-05-17 10:34:26 +02:00
Hauke Petersen
5bd53db88f
tests/l2cap: use newly introduced TX_UNSTALLED evt
2019-05-17 10:34:26 +02:00
Hauke Petersen
88f9cf780a
ble/nimble: bump version to 9d4bda2
2019-05-17 10:34:26 +02:00
Leandro Lanzieri
d57f8ff793
Merge pull request #11536 from ParksProjets/pr_ds18
...
drivers/ds18: fix `ds18_read` for negative temperatures
2019-05-17 10:27:51 +02:00
6187f0483c
Merge pull request #11539 from fjmolinas/pr_xtimer_set_msg_typo
...
sys/xtimer.h: fix typo in xtimer_set_msg
2019-05-17 08:17:33 +02:00
Oleg Hahm
4f83dfd975
openthread: update to release 20180926
2019-05-16 23:28:35 +02:00
fjmolinas
fc7f6c3b68
sys/xtimer.h: fix typo in xtimer_set_msg
2019-05-16 23:17:03 +02:00
Guillaume Gonnet
c9fa1d7503
tests/drivers_ds18: display negative numbers
...
When `ds18_read` returns -2506, DS18 test print `Temperature [ºC]: -25.-6`
whereas it should print `Temperature [ºC]: -25.06. This commit fixes this
issue.
2019-05-16 20:22:02 +02:00
Guillaume Gonnet
1783b3da55
drivers/ds18: fix ds18_read
with negative temperatures
...
When DS18 returns 0xFE6F (corresponding to -25.0625 °C), `ds18_read` returns
13877 whereas it should return -2506. This commit fixes this issue.
2019-05-16 20:12:22 +02:00
1a3e1590d3
Merge pull request #11531 from kaspar030/static_tests/forbid_PKG_SOURCE_LOCAL
...
tools/pr_check: add check preventing PKG_SOURCE_LOCAL merges
2019-05-16 16:43:06 +02:00
30d89b3f62
Merge pull request #11487 from haukepetersen/add_event_waituntil
...
sys/event: add event_wait_until()
2019-05-16 12:59:40 +02:00
Hauke Petersen
8637d308bd
tests: add test for evens_wait_timeout()
2019-05-16 12:01:42 +02:00
Hauke Petersen
63d85ad1b5
sys/event: add event_wait_timeout()
2019-05-16 12:01:36 +02:00
9363a515a5
tools/pr_check: make sure no pkg makefile defines PKG_SOURCE_LOCAL
...
The variable is supposed to be used for local development only.
2019-05-16 11:31:32 +02:00
d07acbe876
Merge pull request #11529 from ParksProjets/pr_loramac
...
pkg/semtech_loramac: fix DEBUG message when payload is NULL
2019-05-16 08:55:23 +02:00
Guillaume Gonnet
f5c9fef096
pkg/semtech_loramac: fix DEBUG message when payload is NULL
...
In function `_semtech_loramac_send` parameter `payload` can be NULL (that the
case when scheduling an immediate TX, line 726). As DEBUG macro use printf,
a %s parameter can't be NULL so we have to handle that case.
2019-05-15 20:50:55 +02:00
Semjon Kerner
9ab427a996
Merge pull request #11528 from maribu/atomic_c11
...
core: Fix undefined behaviour in C11 atomics
2019-05-15 20:40:14 +02:00
Marian Buschsieweke
7749e621b8
core: Fix undefined behaviour in C11 atomics
...
Casting pointers to volatile memory to pointers to regular memory is permitted,
but using those pointers to access the memory results in undefined behavior.
This commit changes the casts to no longer drop the volatile qualifier.
References: https://en.cppreference.com/w/c/language/volatile
2019-05-15 15:47:43 +02:00
Semjon Kerner
901513391a
Merge pull request #11507 from SemjonKerner/nrfmin_fix_wait
...
cpu/nrf5x/radio/nrfmin: Enhance nrfmin reliability
2019-05-15 15:09:22 +02:00
Semjon Kerner
65b709aaa7
cpu/nrf5x/radio/nrfmin: apply errata workaround
2019-05-15 14:49:42 +02:00
Semjon Kerner
22b5f8a41a
cpu/nrf5x/radio/nrfmin: wait for state transition
2019-05-15 14:49:42 +02:00
Semjon Kerner
1954807309
cpu/nrf5x/radio/nrfmin: explicit test for power mode
2019-05-15 12:32:14 +02:00
bf000a1fa5
Merge pull request #11514 from kaspar030/fix_c11_atomic_definitions
...
core: fix c11 atomic definitions (fix gcc9 compilation)
2019-05-15 12:29:23 +02:00
Leandro Lanzieri
5c65e2e8fb
Merge pull request #11500 from jia200x/pr/fix_ot_makefile
...
openthread: fix compile error when CLI is not present
2019-05-15 11:39:44 +02:00
Jose Alamos
f4e9cc5dc0
examples/openthread: adapt Makefile to new configuration style
2019-05-14 18:55:53 +02:00
Jose Alamos
86942279a2
pkg/openthread: adapt CLI guards to new format
2019-05-14 18:55:53 +02:00
Jose Alamos
c42af783c5
pkg/openthread: separate cli and thread mode variables
2019-05-14 18:55:53 +02:00
Juan I Carrano
e4bc5d4718
Merge pull request #11521 from benpicco/cortexm_common-noinit
...
cortexm_common: add .noinit section
2019-05-14 13:13:21 +02:00
Kevin "Bear Puncher" Weiss
e40f483acf
Merge pull request #11261 from gschorcht/cpu/esp32/doc_fix/rom
...
boards/cpu/esp32: doc fix of built-in ROM size
2019-05-14 13:07:50 +02:00
Gaëtan Harter
dde4fe0dc1
Merge pull request #11493 from fjmolinas/pr_xtimer_usleep_negative
...
tests/xtimer_usleep: fail with negative offsets
2019-05-14 12:45:15 +02:00
Benjamin Valentin
29bf6c712b
cortexm_common: add .noinit section
...
Make it possible to specify a section of RAM that is not touched by
the init routing so data can be kept across resets.
This should behave the same as on atmega & lpc2387.
2019-05-14 12:10:27 +02:00
Leandro Lanzieri
44d981947d
Merge pull request #11293 from gschorcht/cpu/esp32/periph/conf/spi
...
boards/esp32: changes the approach for configurations of SPI interfaces in board definitions
2019-05-14 12:07:19 +02:00
Leandro Lanzieri
171058d38d
Merge pull request #11481 from gschorcht/boards/esp32_wrover_kit/doc/fix
...
boards/esp32 wrover kit: documentation fixes and small improvents
2019-05-14 11:23:58 +02:00
d85d96685f
Merge pull request #11518 from fjmolinas/pr_nrf52dk_bootloader_length
...
cpu/nrf52: set RIOTBOOT_LEN to 8k
2019-05-14 10:59:27 +02:00
Francisco
6b8bbd7eba
Merge pull request #11044 from aabadie/pr/boards/kw41z-common
...
boards/kw41z*: add common configuration and use it with existing kw41z boards
2019-05-14 01:53:31 -07:00
francisco
a687a26f42
tests/xtimer_usleep: fail with negative offset
...
- xtimer_usleep(timeout) should sleep for at least timeout us.
Negative offset, i.e. sleeping less than the specified time
is incorrect.
2019-05-14 08:57:29 +02:00
francisco
de3314334e
cpu/nrf52: set RIOTBOOT_LEN to 8k
...
- nrf52 flash page is 4k, the bootloader needs to be x2 so slots
start at the beginning of a page.
2019-05-13 21:47:14 +02:00
Gaëtan Harter
5bb49b673c
Merge pull request #11517 from cladmi/pr/compile_and_test_for_board/do_not_check_git
...
tools/compile_and_test_for_board: ignore git tracked or not
2019-05-13 19:43:02 +02:00
Gunar Schorcht
bf60857442
boards/esp32_wrover_kit: documentation fix
...
Fixes the bold faced references **/dev/ttyUSB** that stopped doxygen generation
2019-05-13 18:12:03 +02:00
Gunar Schorcht
38843792c4
boards/esp32_wrover_kit: documentation fix
...
Fixes a reference to vendor picture that has been moved to a different location.
2019-05-13 18:12:03 +02:00
Gunar Schorcht
0eb8275925
boards/esp32_wrover_kit: documentation improvement
2019-05-13 18:12:03 +02:00
68a4099c1c
cpu/cortexm: fix pointer calculation
...
gcc9 started realizing that _sram is basically an uint8_t[1] and thus
HARDFAULT_HANDLER_REQUIRED_STACK_SPACE cannot be added to it without
exceeding the one-sized array.
This commit casts _sram to (uintptr_t) where that happens.
2019-05-13 17:38:10 +02:00
be66fb0507
core/atomic_c11: fix declarations
...
gcc 9 started complaining about type mismatches:
1. all int sized return types are expected to be
"unsigned int" instead of e.g., "uint32_t"
2. all arguments are expected to be passed as (volatile)
void * pointers
This commit fixes 1. by doing ifdef'ed typedefs for I2 and I4, an fixes
2. by using void pointers, then casting within the template bodies.
2019-05-13 17:38:10 +02:00
Gaëtan Harter
568a351455
Merge pull request #11516 from cladmi/pr/compile_and_test_for_board/assert_resultdir
...
tools/compile_and_test_for_board: assert resultdir is valid
2019-05-13 17:22:08 +02:00
Gaëtan Harter
89e5c67f28
tools/compile_and_test_for_board: ignore git tracked or not
...
Remove the check that directory are git tracked or not.
This should not be done by the script and was a mistake.
If need be to be checked it should be moved to RIOT 'info-applications'
and running tests should be done in a clean environment anyway.
2019-05-13 16:38:41 +02:00
Leandro Lanzieri
ab6d0fe08c
Merge pull request #11292 from gschorcht/cpu/esp32/periph/conf/pwm
...
boards/esp32: changes the approach for configurations of PWM channels in board definitions
2019-05-13 16:11:05 +02:00
Gaëtan Harter
16f07e571e
tools/compile_and_test_for_board: assert resultdir is valid
...
Currently giving an absolute or outside of RIOT application breaks the
result directory evaluation which can lead to deleting the application.
Add an assertion to detect it.
2019-05-13 15:47:44 +02:00
Gaëtan Harter
db3847f107
tools/compile_and_test_for_board: add is_in_directory function
...
Add function testing if a path is inside a directory.
2019-05-13 15:38:27 +02:00