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
e4fcac91a1
core/atomic_sync: guard by GCC >= 4.7
...
The documentation states that the implementation is missing for
gcc < 4.7, but then unconditionally compiles it, overriding the
builtins.
(gcc 9 starts complaining about mismatch of declarations.)
2019-05-13 13:18:21 +02:00
Juan I Carrano
cbc08edcd1
Merge pull request #11358 from fjmolinas/riot-cortexm-address-check
...
cpu/cortexm_common: function to check address validity
2019-05-13 11:50:48 +02:00
Oleg Artamonov
a5ce6deb02
cpu/cortexm_common: function to check address validity
2019-05-13 09:35:34 +02:00
0d4f7b2715
Merge pull request #11510 from miri64/core/fix/thread_state-name-collision
...
core: rename thread_state_t to thread_status_t
2019-05-11 13:03:49 +02:00
59a9ed4616
Merge pull request #11509 from kaspar030/cleanup_core_thread
...
core/thread: unify thread_t variable naming
2019-05-11 12:26:27 +02:00
Martine Lenders
db20a057ae
core: rename thread_state_t to thread_status_t
...
This way it can't come to name collisions on `native` with Mac OSX'
threading library [1].
[1]: https://opensource.apple.com/source/xnu/xnu-792/osfmk/mach/thread_status.h.auto.html
2019-05-11 12:25:07 +02:00
87c72a8fe1
core/thread: unify thread_t variable naming
...
thread_t variables were named t, other_thread, cb. For consistency sake,
change all occurences to just "thread".
2019-05-11 11:39:32 +02:00
Kevin "Bear Puncher" Weiss
6a78746471
Merge pull request #11506 from maribu/bluepill_doc
...
boards/bluepill: Extended/updated doc on flashing
2019-05-10 00:56:50 -07:00
Dylan Laduranty
be3277f357
Merge pull request #11318 from benpicco/sam0-rtt
...
sam0_common: make RTT implementation common across all sam0 MCUs
2019-05-09 21:14:27 +02:00
Benjamin Valentin
077056b949
sam0_common: make RTT implementation common across all sam0 MCUs
...
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the
same RTC peripheral, yet each of them carries it's own copy of the RTT
driver.
Unify the drivers and move them to sam0_common.
2019-05-09 20:54:00 +02:00
Marian Buschsieweke
531c62fa65
boards/bluepill: Extended/updated doc on flashing
...
- Indicated that the hardware reset signal is used to reset the device and that
OpenOCD will that connect under reset
- Added troubleshooting for flashing using hardware reset
- Removed previous troubleshooting for flashing, as this issue is no longer
present since OpenOCD connects under reset
2019-05-09 19:36:12 +02:00
Kevin "Bear Puncher" Weiss
6afb0603aa
Merge pull request #11291 from gschorcht/cpu/esp32/periph/conf/i2c
...
boards/esp32: changes the approach for configurations of I2C in board definitions
2019-05-09 08:26:01 -07:00
Kevin "Bear Puncher" Weiss
795ad18f2e
Merge pull request #11294 from gschorcht/cpu/esp32/periph/conf/uart
...
boards/esp32: changes the approach for configurations of UART interfaces in board definitions
2019-05-09 08:25:40 -07:00
Gaëtan Harter
11fc3b9335
Merge pull request #11504 from miri64/gnrc_mac/cleanup/rename
...
gnrc_mac: rename directory in line with other modules
2019-05-09 15:53:24 +02:00
Martine Lenders
7833141af1
gnrc_mac: rename directory in line with other modules
2019-05-09 14:46:35 +02:00