Gaëtan Harter
ed27d3b68b
tests/posix_time: use test_utils_interactive_sync
...
Use test_utils_interactive_sync for synchronizing test instead of the
custom 'getchar' handling.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
1172ca9f93
tests/xtimer_usleep: use test_utils_interactive_sync
...
Use test_utils_interactive_sync for synchronizing test instead of the
custom 'getchar' handling.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
f193ffd604
tests/cond_order: use test_utils_interactive_sync
...
Use test_utils_interactive_sync for synchronizing some case treat
the output before `reset` as the start of the test,
which fails for some boards/configurations.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
e5e9d81cce
testrunner/utils: add helper for test_utils_interactive_sync
...
Add helper to do the synchronisation.
2019-08-15 12:26:28 +02:00
Gaëtan Harter
027426793c
test_utils_interactive_sync: add a helper for synchronizing tests
...
Add an implementation that waits for 's' to print 'START' and return.
If 'r' is given is prints 'READY' to allow querying for state.
The help and answered string have to be different to not match the other.
Using puts/getchar was smaller than using `stdio_read/stdio_write` on the
example I tested with `esp32`.
2019-08-15 12:26:28 +02:00
Francisco
3e753834e7
Merge pull request #11857 from cladmi/pr/make/buildtest/docker
...
makefiles/buildtest: always execute 'buildtest' loop on host machine
2019-08-14 17:53:18 +02:00
Gaëtan Harter
7d10da832a
makefiles/buildtest: always execute 'buildtest' loop on host machine
...
This remove executing buildtest `for` loop in docker.
When building completely in docker, 'buildtest' would hide issues when
the host toolchain would be used when doing `make all` directly.
It has the consequence that it now starts a container for each
compilation which is slower.
The previous behavior can be reproduced by using
BUILD_IN_DOCKER=1 make buildtest-indocker
A side effect is also that now `BUILDTEST_MAKE_REDIRECT` would work when
doing `buildtest` with docker.
2019-08-14 17:02:34 +02:00
Gaëtan Harter
a048001e96
makefiles/buildtest: add a buildtest-indocker
...
Add a 'buildtest-indocker' that forces executing 'buildtest' for loop
completely inside the container.
It prevents starting one container per compilation wich is slower but
it could hide errors where the host toolchain would be used
It is currently equivalent to `buildtest` but will change when the
`buidtest` handling will be move outside of `BUILD_IN_DOCKER`.
Display an error when executed without BUILD_IN_DOCKER=1.
2019-08-14 17:02:35 +02:00
Francisco
414df99a4c
Merge pull request #11083 from cladmi/pr/docker/hack/bootloader
...
tests/mcuboot: handle building in docker
2019-08-14 15:17:44 +02:00
Sebastian Meiling
950b83e63e
Merge pull request #10252 from jcarrano/flake8-report-existence
...
tools/ci: correcly report flake8 version.
2019-08-14 11:11:50 +02:00
Marian Buschsieweke
c225636966
Merge pull request #10555 from gschorcht/irq_handler
...
sys: single interrupt handler thread for interrupts in modules with blocking functions
2019-08-13 15:08:53 +02:00
Gunar Schorcht
5fe75a9766
tests/sys_irq_handler: test for sys/irq_handler
...
Test application for sys/irq_handler.
2019-08-13 14:50:48 +02:00
Gunar Schorcht
82e020fb81
sys/irq_handler: single interrupt handler thread
...
Single thread for handling interrupts that may trigger blocking functions and therefore may only be called in thread context.
2019-08-13 14:49:10 +02:00
Marian Buschsieweke
49859fc1ce
Merge pull request #11998 from gschorcht/cpu/atmega_common/malloc-wrappers
...
cpu/atmega_common: wrappers for memory management function to avoid preemption
2019-08-13 12:57:42 +02:00
Francisco
3e1077b17b
Merge pull request #12000 from nmeum/pr/gnrc_pktbuf_mark_typo
...
gnrc_pktbuf: fix typo (guaranteeed → guaranteed)
2019-08-13 08:51:49 +02:00
Gunar Schorcht
d84f75b4d0
cpu/atmega_common: activate wrapper functions when linking
2019-08-12 23:22:23 +02:00
Gunar Schorcht
f52162bcb0
cpu/atmega_common: wrappers to avoid preemtion
...
Memory management function like `malloc`, `calloc`, `realloc` and `free` must not be preempted when they operate on allocator structures. To avoid such a preemption, wrappers around these functions are used which simply disable all interrupts for the time of their execution.
2019-08-12 23:22:23 +02:00
Sören Tempel
3396743bab
gnrc_pktbuf: fix typo (guaranteeed → guaranteed)
2019-08-12 22:00:14 +02:00
Francisco
7705f6a93e
Merge pull request #11968 from aabadie/pr/tests/printf_format
...
tests/log_printfnoformat: add test application & script
2019-08-12 16:58:42 +02:00
Kevin "Tristate Tom" Weiss
e5fe8684ea
Merge pull request #11995 from cladmi/pr/murdock/softdevice
...
murdock: nordic_softdevice_ble: softdevice.hex is a test input
2019-08-12 15:47:39 +02:00
Gaëtan Harter
e70efb769c
murdock: nordic_softdevice_ble: softdevice.hex is a test input
...
When running tests using 'nordic_softdevice_ble', the 'softdevice.hex'
file must also be taken into account for the test hashing and be
uploaded to the separated murdock testing boards.
When listed as dependency from `test-input-hash` the file must have a
target, which he has not. The file is implicitly created when compiling
`ELFFILE` so declare it as order only dependency.
In practice `BASELIBS` could be enough or even `pkg-build-softdevice`
but I do not want to be depend that much on internals there.
2019-08-12 14:35:58 +02:00
benpicco
700b121936
Merge pull request #11990 from fabian18/drivers/include/periph/eeprom-api-change
...
drivers/include/periph/eeprom: Changed uint8_t* to void* in API
2019-08-11 13:10:22 +02:00
Juan I Carrano
b48afd6375
Merge pull request #11807 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/first_fix_improvements
...
sys/xtimer/xtimer.c: _mutex_timeout() cleanup
2019-08-09 19:23:16 +02:00
JulianHolzwarth
c1f58186cb
xtimer/xtimer.c: sched_switch instead of yield
...
because of pr #11759 : not all boards check for is_in_irq when thread_yield_higher
2019-08-09 17:29:40 +02:00
JulianHolzwarth
1bcb4fcc5f
xtimer/xtimer.c: _mutex_timeout improvements
...
Only yields and change threads status when thread was removed from mutex list.
2019-08-09 17:29:40 +02:00
JulianHolzwarth
a321dfc51d
xtimer/xtimer.c: ensure modifing mutex is done with interrupt disabled
...
if xtimer_set spins the callback is executed in the thread context.
comment to explain irq_disable
and when this line could be removed
(when xtimer stops executing the callback funtion from thread context)
2019-08-09 17:28:54 +02:00
fabian18
2c001f5a6c
drivers/include/periph/eeprom: Changed uint8_t* to void* in API
2019-08-09 17:27:32 +02:00
Juan I Carrano
e806d4bcbd
Merge pull request #11985 from fjmolinas/pr_k64f_hwrng
...
cpu/kinetis: enable HWRNG for k64f
2019-08-09 16:45:52 +02:00
Francisco
56a6e5d53e
Merge pull request #11933 from miri64/shell/fix/check-sender
...
shell_commands: check ICMPv6 echo reply sender
2019-08-09 16:27:39 +02:00
Francisco Molina
0ce2081817
cpu/kinetis: re-enable HWRNG for k64f
...
- Fix SCGx used for RNGA since RNGA is not mapped
to SCG3 for K64F.
2019-08-09 15:47:13 +02:00
9cf8da0287
Merge pull request #11899 from fjmolinas/pr_stm32f7_riotboot_requirements
...
cpu/stm32f7: add riotboot requirements
2019-08-09 15:36:50 +02:00
7f857ca97d
Merge pull request #11921 from miri64/github/enh/stale-bot
...
github: add configuration for stale-bot
2019-08-09 14:54:51 +02:00
Francisco Molina
644cb9f461
boards: add riotboot for nucleo-f722ze/f746zg/f767zi
2019-08-09 13:15:02 +02:00
Martine Lenders
c12bd5edb1
Merge pull request #11938 from miri64/shell_commands/enh/now-id
...
shell_commands/ping6: mix-in current time into ID
2019-08-09 12:56:54 +02:00
Martine Lenders
7a845be86a
github: add configuration for stale-bot
2019-08-09 12:55:55 +02:00
Francisco
8b396b417f
Merge pull request #10987 from miri64/tests/enh/gnrc_ndp-coverage
...
tests/gnrc_ndp: enhance coverage
2019-08-09 12:21:34 +02:00
Martine Lenders
0bfef4cdae
tests/gnrc_ndp: enhance coverage
2019-08-09 11:47:08 +02:00
6f14de38c5
Merge pull request #11900 from fjmolinas/pr_stm32f2_riotboot_requirements
...
cpu/stm32f2: add riotboot requirements
2019-08-09 11:06:49 +02:00
Francisco
fde50372c3
Merge pull request #11837 from miri64/gnrc_netif/enh/inter-tx-wait
...
gnrc_netif: allow for wait of minimum time between sends
2019-08-09 10:53:26 +02:00
Martine Lenders
488c47cbf3
gnrc_netif: allow for wait of minimum time between sends
2019-08-09 10:21:42 +02:00
Martine Lenders
2f8234acb1
Merge pull request #11813 from aabadie/pr/tools/doccheck_detect_duplicate_defgroup
...
tools/doccheck: extend script to also check for Doxygen groups defined multiple times
2019-08-08 19:57:27 +02:00
Martine Lenders
3bfa03dcc9
Merge pull request #11981 from aabadie/pr/cpu/atmega_common_array_size
...
cpu/atmega_common/gpio: use ARRAY_SIZE macro
2019-08-08 19:13:05 +02:00
f802bbb5ae
Merge pull request #11682 from fjmolinas/pr_stm32f4_riotboot
...
cpu/stm32f4: add riotboot requirements
2019-08-08 18:05:36 +02:00
3e519e164b
cpu/atmega_common/gpio: use ARRAY_SIZE macro
2019-08-08 17:52:51 +02:00
Martine Lenders
af5bf360a0
Merge pull request #11575 from miri64/posix_socket/fix/init-uninit-fields
...
posix_socket: initialize uninitialized fields
2019-08-08 15:56:48 +02:00
benpicco
09298c07bc
Merge pull request #11892 from Einhornhool/saml1x-doc-update
...
cpu/saml1x: update periph status implementation in board doc.txt
2019-08-08 15:14:34 +02:00
Martine Lenders
3bcb1ee2ef
posix_socket: initialize uninitialized fields
2019-08-08 15:03:28 +02:00
Lena Boeckmann
58955b39c6
board/saml11-xpro: update implementation status in doc
...
Co-Authored-By: benpicco <benpicco@googlemail.com>
2019-08-08 14:49:05 +02:00
Lena Boeckmann
1b81f6d4a2
board/saml10-xpro: update implementation status in doc
2019-08-08 14:49:04 +02:00
benpicco
dd48de9b3d
Merge pull request #11973 from keestux/add-arraysize-cocci
...
dist/tools: add Coccinelle check for ARRAYSIZE
2019-08-08 13:56:38 +02:00