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

24376 Commits

Author SHA1 Message Date
653a551fcc
boards/feather-m0: fix typo in documentation 2019-10-13 17:48:21 +02:00
Martine Lenders
c94de51e03
Merge pull request #12414 from miri64/gnrc_ipv6_ext_frag/fix/n-th-with-full-rbuf
gnrc_ipv6_ext_frag: fix release on rbuf creation for n-th fragment
2019-10-13 15:10:50 +02:00
MichelRottleuthner
cce1438e61
Merge pull request #12008 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/new_test
tests/xtimer_mutex_lock_timeout: add new test with threads
2019-10-11 16:53:21 +02:00
JulianHolzwarth
15349eab61 tests/xtimer_mutex_lock_timeout/main.c: shell command description
"(no-spin timeout)" instead of "long timeout" to make it consistent
2019-10-11 15:44:56 +02:00
JulianHolzwarth
d9aec38f1f tests/xtimer_mutex_lock_timeout/main.c: Function to terminate
The function will terminate the thread and send the message m to target_pid.
2019-10-11 15:44:56 +02:00
JulianHolzwarth
714ee17fab tests/xtimer_mutex_lock_timeout/ new test with thread
Two Functions cmd_test_xtimer_mutex_lock_timeout_low_prio_thread and thread_low_prio_test are added.

This testfunction will test xtimer_mutex_lock_timeout with two threads (main thread and lower prio than main thread).

The main thread creates another thread and sleeps. While the main thread sleeps the other thread takes the mutex
and wakes the main thread up.
Then the main thread calls xtimer_mutex_lock_timeout and the second thread unlocks the mutex and
the main thread gets it and waits for the created thread to end.

Has test messages showing the thread count. To make sure the created thread ends.
(test messages may be removed in the future)
2019-10-11 15:44:56 +02:00
JulianHolzwarth
f0da0121f4 tests/xtimer_mutex_lock_timeout/main.c: print empty line
printing emty line after each test function to make the test easier to read
2019-10-11 15:44:55 +02:00
JulianHolzwarth
1fe8d33416 tests/xtimer_mutex_lock_timeout/Makefile: adding ps for better testing 2019-10-11 15:44:55 +02:00
JulianHolzwarth
6183f50462 tests/xtimer_mutex_lock_timeout/main.c: remove unnecessary/wrong include 2019-10-11 15:44:55 +02:00
Marian Buschsieweke
8c00e5583a
Merge pull request #12424 from smlng/pr_remove_featreq
examples/timer_periodic_wakeup: no feature required
2019-10-11 14:15:49 +02:00
Sebastian Meiling
aeb4480396 examples/timer_periodic_wakeup: no feature required
Removing the periph_timer feature requirement, which isn't
directly required by this examples but rather by xtimer.
The latter set this requirement already in Makefile.dep
hence, it is duplicated and not necessary here.
2019-10-11 13:46:03 +02:00
benpicco
48f9ed48c9
Merge pull request #12421 from Rotzbua/doc_sha256
sys/hashes/sha256: fix typo in docu
2019-10-11 13:36:13 +02:00
Leandro Lanzieri
760da795a4
Merge pull request #11879 from jia200x/pr/netif_new_interface
netif: introduce generic network interface descriptor
2019-10-11 12:05:12 +02:00
Jose Alamos
9727f325ff tests/gnrc_netif: adapt to new netif_t representation 2019-10-11 10:59:14 +02:00
Jose Alamos
8fd0c2b60f gnrc_netif: adapt to new netif_t abstraction 2019-10-11 10:59:14 +02:00
Jose Alamos
77a7aed6e6 netif: introduce descriptor based netif 2019-10-11 10:59:14 +02:00
Rotzbua
e296f69743 sys/hashes/sha256: fix typo in docu 2019-10-11 00:02:36 +02:00
Ken Bannister
9946e24bc9
Merge pull request #12375 from miri64/tests/enh/rs-i137
tests: prepare for RIOT-OS/Release-Specs#137
2019-10-10 13:57:54 -04:00
Martine S. Lenders
9e625841b7 tests/gnrc_udp: update BOARD_INSUFFICIENT_MEMORY 2019-10-10 19:02:24 +02:00
Martine S. Lenders
18597c4ab4 tests/gnrc_ipv6_ext_frag: update BOARD_INSUFFICIENT_MEMORY 2019-10-10 17:09:35 +02:00
bfebb7376e
Merge pull request #12232 from aabadie/pr/tools/codespell_check
ci: add codespell check script for tracking typos
2019-10-10 16:41:55 +02:00
Martine S. Lenders
095e966b73 gnrc_ipv6_ext_frag: fix release on rbuf creation for n-th fragment
The IPv6 (extension) headers of the first fragment received are re-used
for the reassembled packet, so when receiving a subsequent packet we
need to distinguish, if we just want to release the payload or all of
the packet after the packet data was added to the reassembly buffer.
2019-10-10 16:41:51 +02:00
Martine S. Lenders
07a6b5425e tests/gnrc_ipv6_ext_frag: add test for nth frag with full rbuf first
Adds a test case for when the following conditions cause a crash:

- a subsequent fragment is received before the first
- the reassembly buffer is currently filled up when another fragment of
  a different datagram arrives and thus needs to be cached out to make
  room for the new reassembly
2019-10-10 16:41:47 +02:00
Martine S. Lenders
40f721a4b8 tests/gnrc_ipv6_ext_frag: move static const to global space 2019-10-10 16:19:55 +02:00
3e3768140c
tools/ci: fix typo in build_and_test.sh script 2019-10-10 15:48:18 +02:00
5d408d68c4
ci: add codespell check to track typos 2019-10-10 15:48:18 +02:00
Martine Lenders
f89e0b7b31 tests: prepare for RIOT-OS/Release-Specs#137 2019-10-10 14:57:31 +02:00
053dbd1c4a
Merge pull request #12398 from cladmi/pr/cortexm/remove_old_clang_handling
makefiles/arch/cortexm.inc.mk: remove clang 3.6.2 workaround
2019-10-10 13:18:51 +02:00
Francisco
315e455643
Merge pull request #12413 from cladmi/pr/compile_and_test_for_board/flash_targets
tools/compile_and_test_for_board: allow setting the flash targets
2019-10-10 12:46:41 +02:00
Gaëtan Harter
7f2f0b6616
tools/compile_and_test_for_board: allow setting the flash targets
This allow configuring the flash targets in the same way as the
compilation and test targets.

This is part of trying to flash with docker using a different flash target.
2019-10-10 11:39:00 +02:00
5ab8d92702
Merge pull request #11818 from kaspar030/suit-pr
sys/suit: initial support for SUIT firmware updates
2019-10-10 10:38:01 +02:00
Leandro Lanzieri
3a6f6bc4d9
Merge pull request #12390 from aabadie/pr/drivers/sx127x_reset_pin_undef
drivers/sx127x: skip reset sequence if pin is undefined
2019-10-10 10:06:08 +02:00
Francisco
e2eaf3ed6d
Merge pull request #12410 from cladmi/pr/boards/slwstk6000b/cpu_model_hack
boards/slwstk6000b-*: move CPU_MODEL definition to Makefile.features
2019-10-09 23:59:00 +02:00
80cbf1b523
Merge pull request #12405 from miri64/gnrc_netif/fix/deprecated-src-selection
gnrc_netif: avoid deprecated as source addresses, don't prefer them!
2019-10-09 21:25:38 +02:00
Martine Lenders
c7502fedf9
Merge pull request #12190 from benpicco/deprecate_oonf
pkg/oonf_api: deprecate package
2019-10-09 19:19:47 +02:00
Gaëtan Harter
7ac30e471c
boards/slwstk6000b-*: move CPU_MODEL definition to Makefile.features
This is still currently a hack to hardcode it as the value can be deduced
from the `BOARD_MODULE` daughter board name.

But it requires more cleanup and could come in a separate step.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-10-09 18:51:57 +02:00
3addde5377 examples/suit_update: disable CI test for now 2019-10-09 18:19:27 +02:00
22b0873e2b
Merge pull request #12403 from miri64/pkg/enh/lwip-doc
lwip: improve and fix documentation
2019-10-09 15:28:41 +02:00
Martine S. Lenders
ada7c0b7db gnrc_netif: avoid deprecated addresses, don't prefer them! 2019-10-09 15:18:14 +02:00
63a6bcd513
drivers/sx127x: skip reset sequence if pin is undefined 2019-10-09 15:07:23 +02:00
Martine S. Lenders
0a2945164c lwip: improve and fix documentation 2019-10-09 14:45:30 +02:00
Martine S. Lenders
cb18f8c99b lwip: remove deprecated defines
`SYS_SEM_NULL` and `SYS_MBOX_SIZE` aren't used by lwIP anymore and
`LWIP_CHKSUM_ALGORITHM` has a predefined value now
2019-10-09 14:23:02 +02:00
b899a9f362 examples/suit_update: add SUIT draft v4 example & test
This commit adds an example application showcasing SUIT draft v4
firmware updates.

It includes a test script suitable for local or CI testing.

Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
Co-authored-by: Francisco Molina <femolina@uc.cl>
2019-10-09 13:51:29 +02:00
Ken Bannister
3e0a3b1746
Merge pull request #12389 from miri64/pkg/depr/emb6
emb6: deprecate package
2019-10-09 06:53:50 -04:00
Martine Lenders
7cf1bab2e6 emb6: deprecate package
I basically didn't work on `emb6` since 2016 and adapting to the newest
version would mean some major overhaul. However, the development at
their end seems to be stalled [since March 2018][emb6-develop] as well.
All this speaks for deprecating this package.

[emb6-develop]: https://github.com/hso-esk/emb6/tree/develop
2019-10-09 11:50:17 +02:00
Martine S. Lenders
0d8511616a emb6: fix documentation 2019-10-09 11:27:52 +02:00
Martine Lenders
238ebe3d37
Merge pull request #12350 from haukepetersen/opt_nimble_verokt19
pkg/nimble: bump NimBLE version
2019-10-09 11:18:07 +02:00
fb12c4aa8d sys/suit: add SUIT draft v4 firmware upgrade module
This commit adds a sys module implementing SUIT draft v4 compatible
firmware updates.

Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
Co-authored-by: Francisco Molina <femolina@uc.cl>
2019-10-09 11:05:01 +02:00
Hauke Petersen
eced473fb0
Merge pull request #12385 from miri64/gnrc_sixlowpan_frag_vrb/enh/route-to-vrb
gnrc_sixlowpan_frag_vrb: add gnrc_sixlowpan_frag_vrb_from_route()
2019-10-09 11:00:33 +02:00
7794c29650
Merge pull request #12396 from mtausig/codestyle
Fix code style of crypto code
2019-10-09 08:00:25 +02:00