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

6641 Commits

Author SHA1 Message Date
benpicco
e6284ec244
Merge pull request #18816 from benpicco/nanocoap_handle_req-ctx
nanocoap: add request context to coap_handle_req()
2022-11-23 20:36:50 +01:00
a87a066762
Merge pull request #18952 from maribu/tests/pkg_utensor
tests/pkg_utensor: increase main threads stack size
2022-11-23 14:54:34 +01:00
Marian Buschsieweke
22f882d335
tests/pkg_utensor: increase main threads stack size
The MPU based stack guard is very unpleased by the stack overflow
happening during the test. The increase in stack size makes the MPU
stack guard happy again.
2022-11-22 18:55:19 +01:00
Karl Fessel
54ada3685a tests: add missing includes 2022-11-22 13:39:35 +01:00
Benjamin Valentin
fd42f72b20 tests/nanocoap_cli: provide coap_request_ctx_t 2022-11-22 10:41:32 +01:00
Jue
8d6d6f2bbc ztimer: add benchmarking tool 2022-11-22 00:25:34 +01:00
Jue
9fbb4d3391 ztimer/convert: only extend the clocks if ztimer_ondemand isn't used 2022-11-22 00:25:34 +01:00
Jue
4013dff1fd ztimer: acquire and release clock for running timers 2022-11-22 00:25:34 +01:00
Jue
a228ca7548 ztimer: introduce ztimer_acquire() and ztimer_release() 2022-11-22 00:25:34 +01:00
Marian Buschsieweke
b1da8168b5
tests/pbkdf2: remove unused #include 2022-11-21 16:42:00 +01:00
3cd9f0d8fb
Merge pull request #18918 from benpicco/print_bytes_hex
sys/fmt: add print_bytes_hex()
2022-11-19 09:35:26 +01:00
Marian Buschsieweke
176cb9a7b0
tests/pbkdf2: de-flanky-fy test
Previously, the test vectors were encoded into the python test scripts,
converted to base64, and send over to the device under test via stdio.
The application sent back the output after converting it to base64
first, which was read back in by the test script and decoded. Finally,
the test script compared the result with the expected result.

This made the test complex, slow and, flanky, as stdio on interfaces
such as UART has a high bit error rate and some quirks (e.g. the EDBG
UART bridge e.g. in the samr21-xpro dropping bytes when bursts of more
than 64 bytes at a time are send).

This basically rewrites the test to embed the test vectors in the
firmware and do the comparison on the devices. This fixes test failures
on the samr21-xpro, the nRF52840-DK and likely many others. Also, it
is now fast.
2022-11-18 13:55:26 +01:00
Benjamin Valentin
9dc63f583a tests/fmt_print: add test for print_bytes_hex() 2022-11-18 13:40:59 +01:00
Gunar Schorcht
600421dc75 tests/pkg_tflite-micro: fix the out of ROM problem for stm32fdiscovery 2022-11-18 07:33:28 +01:00
benpicco
e710b6f07c
Merge pull request #18854 from benpicco/gnrc_sock_udp-_remote_mismatch
gnrc_sock_udp: accept response from any address if remote is multicast
2022-11-15 20:33:58 +01:00
Benjamin Valentin
920d690694 test/gnrc_udp: add test multicast sock 2022-11-15 11:26:31 +01:00
benpicco
29128759ee
Merge pull request #18891 from maribu/tests/shell
tests/shell: fix failure on samr21-xpro
2022-11-15 00:46:42 +01:00
Marian Buschsieweke
eb6addeba5
tests/pkg_emlearn: fix compilation
It turns out that the fix for the missing terminating newline is not
robust. This hopefully fixes the issue and resolves the following
error message:

    In file included from /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/main.c:25:
    /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/model.h:7221:36: error: stray '\' in program
     7221 |     /* fix for no newline at eof */\n
          |                                    ^
    /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/model.h:7221:38: error: expected ';' before '_Alignas'
     7221 |     /* fix for no newline at eof */\n
          |                                      ^
          |                                      ;
2022-11-13 00:20:10 +01:00
Marian Buschsieweke
4e00c0e360
Merge pull request #18894 from kaspar030/shorten_bitarithm_timings_runtime
tests/bitarithm_timings: shorten timeout from 5s to 200ms
2022-11-12 12:26:40 +01:00
benpicco
2801107570
Merge pull request #18888 from kfessel/p-fix-tinyusb-defaultbuild
tests/pkg_tinyusb*: add a BOARD to make make build
2022-11-12 03:55:54 +01:00
317e05b869 tests/bitarithm_timings: shorten timeout from 5s to 200ms 2022-11-11 23:49:03 +01:00
Marian Buschsieweke
e95f7551eb
tests/shell: fix failure on samr21-xpro
The test (at least locally) fails on the long shell line detection in
`master`, as the EDBG UART adapter drops chars when more than 64 bytes
are send at a time. This works around the issue:

- The line buffer in the test is reduced to 60 bytes, so that
  overflowing it becomes possible with sending less than 64 bytes.
- The test script is adapted to exceed the shell buffer size by one
  byte only (due to linefeed char), rather than significantly.
    - Sending more than 64 bytes would result in the linefeed being
      dropped by the EDBG adapter and the test failing

Finally, the shell buffer is no longer allocated on the stack and,
hence, the main stack size could be reduced a bit. The test still
passes on the Nucleo-F767ZI which is notorious in failing on tight
stacks due to the MPU stack guard - so the stack size reduction is
expected to work for all boards.
2022-11-11 23:00:58 +01:00
Karl Fessel
edeed17e1b tests/pkg_tinyusb*: add a BOARD to make make build 2022-11-11 20:41:57 +01:00
Juergen Fitschen
f840fd0730
Merge pull request #18878 from maribu/tests/pkg_tinyvcdiff
tests/pkg_tinyvcdiff: fix stack overflow
2022-11-11 16:15:09 +01:00
Marian Buschsieweke
bec46c55bd
Merge pull request #18879 from benpicco/bf_popcnt
sys/bitfield: add bf_popcnt()
2022-11-11 11:35:14 +01:00
Marian Buschsieweke
2fbde4af19
tests/pkg_tinyvcdiff: fix stack overflow
Move some variables from stack to `.bss` / `.data` to avoid stack
overflows, which are detected by the MPU stack guard (e.g. on the
Nucleo-F767ZI that I used) and results in the test failing.
2022-11-11 08:46:09 +01:00
Benjamin Valentin
867ba0666a tests/unittests: add tests for bf_popcnt() 2022-11-10 23:52:35 +01:00
Karl Fessel
19021d618e
Merge pull request #18858 from kfessel/p-fix-DIV2
core/marco: fix DIV_ROUND
2022-11-10 16:26:20 +01:00
Marian Buschsieweke
fdc3f6a56b
tests/mpu_stack_guard: Fix compilation on modern GCC (>= 12.x)
The `mpu_stack_guard` test intentionally overflows the stack with a
stupid infinite recursion. Newer versions of GCC started to dislike
this, so this disables the corresponding diagnostics to get the
intentional stack overflow still compiled.
2022-11-10 12:49:18 +01:00
Karl Fessel
aa31dd7d66 core/macros: rewrite DIV_ROUND, DIV_ROUND_UP; add DIV_ROUND_INF 2022-11-09 17:59:18 +01:00
Karl Fessel
228d8e72c0 unittest/core-macros: add negtive cases for DIV_ROUND and DIV_ROUND_UP 2022-11-09 17:59:18 +01:00
Marian Buschsieweke
e402e3f57a
Merge pull request #18849 from benpicco/core-SIGNOF
core/macros: fix SIGNOF() macro when applied to size_t
2022-11-09 17:54:00 +01:00
Benjamin Valentin
8f8bb6ce84 tests/unittests: core: add test for SIGNOF(size_t) 2022-11-09 14:23:51 +01:00
Benjamin Valentin
ea0cf85d73 tests/pkg_tinyusb_cdc_acm_stdio: add test for stdio via CDC ACM 2022-11-09 12:06:36 +01:00
Benjamin Valentin
5938bd815a pkg/tinyusb: provide common tusb_config.h 2022-11-09 12:06:36 +01:00
benpicco
e38e0b937c
Merge pull request #18835 from gschorcht/pkg/tinyusb_descriptors
pkg/tinyusb: add common USB descriptors implementation
2022-11-09 10:42:15 +01:00
Gunar Schorcht
579370fd75 tests/pkg_tinyusb_cdc_msc: use common descriptors implementation 2022-11-09 06:57:55 +01:00
benpicco
f8964c0149
Merge pull request #18827 from benpicco/nanocoap_block-fix
nanocoap_sock: don't store entire sock in coap_block_request_t
2022-11-08 10:49:39 +01:00
Marian Buschsieweke
7e0af3cd22
Merge pull request #18833 from benpicco/bitfield-ops
sys/bitfield: add bf_find_first_{set, unset}()
2022-11-07 20:27:48 +01:00
Benjamin Valentin
4fe202db1e examples: check return value of coap_build_reply()
`coap_build_reply()` may return negative values on error or
0 in the no-response case.

Don't use it to calculate a payload offset without checking first.
2022-11-04 20:00:51 +01:00
Benjamin Valentin
17374301c9 tests/unittests: add tests for bf_set_all() 2022-11-04 16:48:49 +01:00
Benjamin Valentin
6185715aea tests/unittests: add tests for new bitfield functions 2022-11-02 13:06:06 +01:00
benpicco
7a2c665d70
Merge pull request #18762 from benpicco/tests/thread_msg_bus-enhance
tests/thread_msg_bus: enhance test with non-bus message
2022-11-01 12:56:25 +01:00
Benjamin Valentin
63c9dde3a4 nanocoap_sock: don't store entire sock in coap_block_request_t 2022-11-01 00:17:11 +01:00
Marian Buschsieweke
d704a1a805
Merge pull request #18822 from jue89/feature/at86rf2xx_ztimer
drivers/at86rf2xx: migrate to ztimer
2022-10-31 15:44:53 +01:00
Jue
782409eb05 tests/driver_at86rf2xx_aes: remove unnessesary xtimer.h import 2022-10-29 23:47:59 +02:00
Martine Lenders
3c7c9fefd6
tests/unittests: fix get_frame_hdr_len tests for hardened parsing 2022-10-29 00:58:35 +02:00
benpicco
2a934c9434
Merge pull request #18733 from bergzand/pr/driver/matrix_keypad
matrix_keypad: Add matrix-style keypad module
2022-10-28 20:46:13 +02:00
Karl Fessel
754e272d74
Merge pull request #18807 from kfessel/p-cleanup-vera-unittest
test/unittest: cleanup most vera++ complains
2022-10-28 14:40:05 +02:00
1d33455116
matrix_keypad: add test application 2022-10-28 10:03:37 +02:00
benpicco
ed1d8e0a3d
Merge pull request #18785 from maribu/boards/blxxxpill/periph_conf
boards/common/blxxxpill: Fix pin conflicts in periph_conf
2022-10-27 21:22:10 +02:00
Karl Fessel
c29d2f1afb test/unittest: cleanup most vera++ complains 2022-10-27 16:31:59 +02:00
Martine Lenders
9ae66beedf
Merge pull request #16156 from miri64/gnrc_sixlowpan_frag_sfr/feat/congure
gnrc_sixlowpan_frag_sfr: provide CongURE support
2022-10-27 15:01:07 +02:00
Marian Buschsieweke
16df27c51d
makefiles/cflags.inc.mk: Add -Wno-missing-field-initializers to CXXFLAGS
This allows including C headers from C++. It sadly reduced the
diagnostics on C++ code as well, were there warning may make sense as
unintended side effect. We may be able to drop that later on, when more
C APIs are properly wrapped in native C++ APIs, so that C headers do no
longer need to be compatible with C++ compilers.
2022-10-27 14:28:06 +02:00
Martine Lenders
d485598b3a
Merge pull request #18744 from Teufelchen1/fix/clif_0
sys/clif: Fixing out of bounds read under certain conditions
2022-10-26 23:38:43 +02:00
Teufelchen1
499b635ae9 sys/clif: Fixing out of bounds read under certain conditions 2022-10-26 13:44:01 +02:00
Martine Lenders
bc24f9af96
tests: add test for 6LoWPAN SFR using CongURE 2022-10-26 09:12:36 +02:00
Martine Lenders
d759d2d18b
Merge pull request #18772 from namib-project/accept-helper
sys/net/nanocoap: introduce Accept option helper
2022-10-20 04:13:33 +02:00
benpicco
10296605e0
Merge pull request #18761 from krzysztof-cabaj/sys-shell
sys/shell: fix deprecated shell_command in examples and tests
2022-10-19 23:02:36 +02:00
Jan Romann
61d1516c6f tests/nanocoap: add unit test for Accept option helper 2022-10-19 16:44:13 +02:00
Martine Lenders
8cf4844d0e
tests/congure_abe: reset node before starting terminal
Fixes synchronization issues on stdio_uart. Copied from the setup
function in tests/congure_reno/tests/01-run.py
2022-10-19 09:48:45 +02:00
Martine Lenders
07c04bc0e3
Merge pull request #15968 from miri64/congure/feat/congure_abe
congure_abe: initial import of TCP Alternative Backoff with ECN for CongURE
2022-10-18 15:50:06 +02:00
Benjamin Valentin
0b4129ae8b tests/thread_msg_bus: enhance test with non-bus message 2022-10-18 13:25:09 +02:00
krzysztof-cabaj
7035c2c5da tests/nimble_esp_wifi_coexists: fix deprecated shell_commands 2022-10-18 04:58:37 -04:00
Martine Lenders
a4e7c93d8f
tests: Initial import of congure_abe tests 2022-10-18 09:23:06 +02:00
benpicco
0b2fbce906
Merge pull request #18299 from fabian18/preprocessor_successor
sys: preprocessor successor module
2022-10-17 22:42:27 +02:00
krzysztof-cabaj
76b71c8e56 tests/gcoap_fileserver: fix deprecated shell_commands and md5sum 2022-10-17 16:17:24 -04:00
Martine Lenders
68b9637295
Merge pull request #15952 from miri64/congure/feat/congure_quic
congure_quic: initial import of QUIC congestion control
2022-10-17 14:35:18 +02:00
Fabian Hüßler
bded32d7b2 tests/external_modules: use AUTO_INIT_PRIORITY_AFTER 2022-10-17 10:38:14 +02:00
Martine Lenders
1bf241e7c3
tests: Initial import of congure_quic tests 2022-10-17 10:27:44 +02:00
Marian Buschsieweke
fb318c0e9f
Merge pull request #18722 from miri64/test-on-iotlab/fix/several
test-on-iotlab: several fixes to make it runnable again
2022-10-17 09:23:11 +02:00
Marian Buschsieweke
e26d1a085e
Merge pull request #18743 from benpicco/boards/blxxxpill-128kib_cdc-acm
boards/blxxxpill-128kib: default to CDC ACM for stdio
2022-10-15 23:40:58 +02:00
Benjamin Valentin
2fd6cf7ee7 tests: update Makefile.ci for blxxxpill-128kib with CDC ACM 2022-10-15 23:33:41 +02:00
benpicco
4d0c533260
Merge pull request #18154 from benpicco/nanocoap_no-response
nanocoap: add support for no-response option
2022-10-15 21:16:00 +02:00
Jose Alamos
ca9461834f
tests/socket_zep: set event_callback before init 2022-10-14 16:07:19 +02:00
Jose Alamos
cfe8149c35
tests/sx12xx: set event_callback before init 2022-10-14 16:07:02 +02:00
Jose Alamos
209f64ccb2
tests/nrf802154: set event_callback before init 2022-10-14 16:06:43 +02:00
Jose Alamos
f259292df9
tests/cc2538_rf: set event_callback before init 2022-10-14 16:06:29 +02:00
chrysn
982ec4dcda
gnrc_netreg: Use locks around netreg
This eliminates race conditions around unregistering netdevs.

gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether
that lock is held.
2022-10-14 03:35:15 +02:00
Marian Buschsieweke
ea0a53521f
Merge pull request #17812 from benpicco/boards/blxxxpill-usb
boards/blxxxpill: configure usbdev_fs
2022-10-14 01:10:23 +02:00
Benjamin Valentin
d3d89aaec8
boards/blxxxpill: configure usbdev_fs 2022-10-13 21:59:47 +02:00
Benjamin Valentin
29cb2d05a3 tests/nanocoap_cli: add test for no-response 2022-10-13 19:04:09 +02:00
Benjamin Valentin
794fa433ce tests/nanocoap_cli: add DELETE to test 2022-10-13 18:56:28 +02:00
Marian Buschsieweke
b539d7ad6d
Merge pull request #17905 from benpicco/GNRC_NETIF_STACKSIZE_DEFAULT
gnrc_netif: don't allocate message queue on the stack
2022-10-13 17:10:43 +02:00
Benjamin Valentin
27b5bae5b6 tests/netutils: reduce mock netif queue size 2022-10-13 00:24:29 +02:00
Marian Buschsieweke
0253c478ec
tests/thread_stack_alignment: new test application 2022-10-12 21:56:08 +02:00
benpicco
913bf3748c
Merge pull request #18699 from miri64/gnrc_netif_lorawan/enh/up-down-support
gnrc_netif_lorawan: add support for LINK_UP/_DOWN events
2022-10-12 17:11:51 +02:00
Benjamin Valentin
7e0aeb3186 tests/gcoap_fileserver: add test for PUT 2022-10-12 11:37:28 +02:00
Martine Lenders
7f146b6712
tests/gnrc_ipv6_nib: up interface on initial initialization
Since SLAAC now happens on the up event, the tests needs to ensure, that
`gnrc_ipv6_nib_iface_up()` is called before assuming SLAAC happened. For
the mock interface, this is done by gnrc_ipv6_nib_iface_up().
2022-10-12 09:37:26 +02:00
Benjamin Valentin
c46d9d7360 tests/unittests: sock_util: test with schema of uneven length 2022-10-10 19:04:15 +02:00
Martine Lenders
2c3a44ca53
tests/gnrc_rpl: mark the test as only for native in build system 2022-10-10 15:22:04 +02:00
Marian Buschsieweke
f02bc5791a
Merge pull request #18571 from maribu/sys/tiny_strerror
sys/tiny_strerror: add tiny `strerror()` implementation
2022-10-05 09:24:40 +02:00
Marian Buschsieweke
6ced6dfde7
Merge pull request #18686 from benpicco/checksum/crc32
sys/checksum: add CRC-32 checksum
2022-10-04 23:06:04 +02:00
benpicco
161172c678
Merge pull request #18656 from benpicco/event_periodic_callback_get_arg
event_periodic_callback: add getter for user context, one-shot event
2022-10-04 20:47:26 +02:00
Benjamin Valentin
eb527d3481 tests/unittests: add test for CRC-32 checksum 2022-10-04 15:40:53 +02:00
Dylan Laduranty
11aebb6003
Merge pull request #18592 from gschorcht/pkg/tinyusb
pkg/tinyusb: add tinyUSB as package
2022-10-04 13:08:36 +02:00
Gunar Schorcht
bb337cde8e pkg/tinyusb: use auto_init for tinyusb stack and thread setup 2022-10-04 07:40:18 +02:00
chrysn
69cb6b12fc rust: Update dependencies
The change in 399e25cc was did not have the intended effect: As the
local crates still all defined 0.7 as the riot-wrappers version, that
dependency was actually down- rather than upgraded, and thus did not
effect the stabilizations.
2022-10-04 00:28:46 +02:00
Marian Buschsieweke
3227fb3b17
Merge pull request #18619 from maribu/core/mutex/cleanup
core/mutex: clean up
2022-10-03 10:58:07 +02:00
chrysn
b31eb6b15c
Merge pull request #18678 from chrysn-pull-requests/rust-update-20221001
rust: Update dependencies, build and test more on stable
2022-10-02 18:09:31 +02:00
chrysn
22e46eb700 rust: Run all tests on stable
Closes: https://github.com/RIOT-OS/RIOT/issues/18500
2022-10-01 21:31:16 +02:00
chrysn
399e25cce3 rust: Update dependencies
This pulls in versions of previously nightly-only crates that can be
built on 1.65 beta.

The Cargo overrides that direct the resolver to the git repositories are
disabled while the version used in tree also happens to be a released
version of the crates, as it should be the case as per [251].

[251]: https://github.com/RIOT-OS/Release-Specs/issues/251
2022-10-01 21:29:20 +02:00
Gunar Schorcht
3367b106bb tests: add tinyUSB CDC and MSC device test application 2022-09-30 19:05:51 +02:00
benpicco
1935b626d5
Merge pull request #18672 from benpicco/vfs-abs_path
vfs: drop unused abs_path parameter
2022-09-30 16:42:57 +02:00
José Alamos
f022ac3e23
Merge pull request #17884 from Ollrogge/gnrc_lorawan1.1
gnrc/lorawan: add basic LoRaWAN 1.1 features
2022-09-30 11:29:55 +02:00
3ee3d1b9ac
Merge pull request #18562 from MrKevinWeiss/pr/removemips
cpu/mips: Remove all mips
2022-09-30 10:47:09 +02:00
benpicco
d0ac322a11
Merge pull request #18199 from benpicco/tests/gcoap_fileserver
tests/gcoap_fileserver: add integration test for GCoAP fileserver
2022-09-29 22:44:14 +02:00
Benjamin Valentin
85dd564f87 vfs: drop unused abs_path parameter 2022-09-29 22:01:37 +02:00
Ollrogge
32cef708a7 gnrc/lorawan: uncrustify files 2022-09-29 11:26:04 +02:00
Ollrogge
5053e3ecae tests/gnrc_lorawan: Adjust 1.0 tests && add 1.1 tests 2022-09-29 11:26:04 +02:00
Ollrogge
12a4e1c1ec gnrc/lorawan: add support for GNRC LoRaWAN 1.1 2022-09-29 11:25:56 +02:00
benpicco
c35a4ba577
Merge pull request #18621 from benpicco/strscpy
sys/string_utils: add strscpy()
2022-09-28 19:11:42 +02:00
Marian Buschsieweke
96d982faec
tests/periph_gpio_ll: add missing include 2022-09-28 17:59:04 +02:00
Benjamin Valentin
b2edca1611 tests/event_periodic_callback: add one-shot test 2022-09-27 15:46:59 +02:00
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
Benjamin Valentin
3fc4d9d98c tests/unittests: add tests for libc module 2022-09-26 19:06:46 +02:00
Marian Buschsieweke
9add97fe0e
tests: remove bogus files 2022-09-25 21:23:54 +02:00
chrysn
976de15da6
Merge pull request #18642 from chrysn-pull-requests/rust-20220924
rust: Update dependencies
2022-09-25 14:52:16 +02:00
benpicco
857fe7d8ad
Merge pull request #18635 from benpicco/tests/gnrc_ipv6_nib_iface_up
tests: call gnrc_ipv6_nib_iface_up() after gnrc_ipv6_nib_init_iface()
2022-09-25 14:19:40 +02:00
chrysn
168ec76a17 rust: Update dependencies
This will allow more components to build on 1.64 stable, and contains a
fix relevant for https://github.com/RIOT-OS/RIOT/pull/18619.

CoAP modules are held back as they appear to need an even newer nightly
than in the current riotdocker to build without feature declarations.
2022-09-25 10:16:27 +02:00
Marian Buschsieweke
77731c5f7b
treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
2022-09-24 14:50:43 +02:00
Benjamin Valentin
d2e57ac941 tests: call gnrc_ipv6_nib_iface_up() after gnrc_ipv6_nib_init_iface() 2022-09-23 17:17:42 +02:00
Marian Buschsieweke
466af0400d
tests/heap_cmd: fix test script
In c95e8553ef the shell output of the
heap command was changed and no longer matched the expectation of the
test script. This adapts the test to again match the output.
2022-09-23 14:47:31 +02:00
benpicco
4737d8148a
Merge pull request #17702 from benpicco/core/macros/math
core/macros: add math helper macros
2022-09-22 14:14:24 +02:00
Benjamin Valentin
27b3c115d2 tests/unittests: add tests core math macros 2022-09-21 16:00:26 +02:00
Marian Buschsieweke
8cf19e63da
tests/driver_hsc: clean up use of strerror
strerror() now is provided on AVR as well, so no need to be extra
careful in its use.
2022-09-20 15:51:12 +02:00
Martine Lenders
0079b0c52f
event_periodic_callback: remove unnecessary dependency 2022-09-20 09:49:30 +02:00
benpicco
f03f5384c1
Merge pull request #18355 from maribu/sys/shell/cmds
sys/shell: make cmds submodules and add KConfig modeling
2022-09-19 21:07:23 +02:00
Marian Buschsieweke
4b87a300c0
Merge pull request #18598 from benpicco/event_periodic_callback
event_periodic_callback: add convenience wrapper for periodic callbacks
2022-09-19 20:45:52 +02:00
Martine Lenders
d5e63a5e46
Merge pull request #18096 from Teufelchen1/feat/port_parsing
sys/uri_parser: Adding the port as uint16_t
2022-09-19 13:40:53 +02:00
Benjamin Valentin
ba1de182e5 tests/event_periodic_callback: add test for periodic callback 2022-09-17 13:47:35 +02:00
Benjamin Valentin
6e7d5ae2d3 codespell: fix remaining issues 2022-09-16 14:00:35 +02:00
Marian Buschsieweke
c95e8553ef
tests/heap_cmd: fix -Wuse-after-free
Strictly speaking, this is not actually a use after free, as only the
address of the freed memory chunk is printed. The freed memory is not
accesses. However, this is more idiomatic this way.
2022-09-16 13:15:46 +02:00
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Marian Buschsieweke
c06335b71b
sys/shell: make cmds submodules
Previously `shell_commands` was a "catch-all" module that included
shell commands for each and every used module that has a shell
companion. Instead, the new `shell_cmds` module is now used to provide
shell commands as individually selectable submodules, e.g.
`cmd_gnrc_icmpv6_echo` now provides the ICMPv6 echo command (a.k.a.
ping).

To still have a "catch all" module to pull in shell commands of modules
already used, `shell_cmds_default` was introduced. `shell_commands`
depends now on `shell_cmds_default` for backward compatibility, but
has been deprecated. New apps should use `shell_cmds_default`
instead.

For a handful of shell commands individual selection was already
possible. Those modules now depend on the corresponding `cmd_%` module
and they have been deprecated.
2022-09-16 13:15:45 +02:00
Karl Fessel
da51932737 boards: add some missing whitespaces for static tests 2022-09-14 15:11:14 +02:00
Benjamin Valentin
c5282bb2ad tests/gcoap_fileserver: add integration test for GCoAP fileserver 2022-09-14 13:05:56 +02:00
benpicco
0022e0d3cb
Merge pull request #18585 from maribu/tests/thread_priority_inversion
tests/thread_priority_inversion: improve output for debugging
2022-09-13 13:49:34 +02:00
Marian Buschsieweke
e6cc508d8d
tests/thread_priority_inversion: improve output for debugging 2022-09-12 21:42:29 +02:00
benpicco
b117171fcf
Merge pull request #18519 from benpicco/coap_request_ctx_get_remote
gcoap: add remote sock_udp_ep_t to coap_request_ctx_t
2022-09-12 20:30:19 +02:00
Benjamin Valentin
5070ca98d5 tests: don't directly select gnrc_sock_udp 2022-09-12 17:53:16 +02:00
Marian Buschsieweke
0991702707
tests/vfs_default: increase stack size for AVR
This avoids an stack overflow when using `vfs ls`.
2022-09-11 10:27:40 +02:00
Teufelchen1
df8fe4476d sys/uri_parser: Adding the port as uint16 2022-09-08 11:32:49 +02:00
Gunar Schorcht
a0a0b64f40
Merge pull request #18544 from gschorcht/cpu/esp/improve_thread_safety_of_malloc
cpu/esp: improve thread safety in newlib locking functions
2022-09-05 13:29:03 +02:00
Gunar Schorcht
1ab0b77543 tests/thread_priority_inversion: revert blacklisting ESP32
This reverts commit 2210721d5c.
2022-09-01 15:08:16 +02:00
benpicco
bcdf539c6e
Merge pull request #18541 from maribu/core_dumps
tests/periph_gpio_ll: drop core dump merged by accident
2022-09-01 10:18:29 +02:00
Marian Buschsieweke
754ad23de5
Merge pull request #18539 from miri64/hashes_cmac/cleanup/rename
hashes_cmac: rename to hashes_aes128_cmac
2022-08-31 19:06:21 +02:00
Marian Buschsieweke
089d8aba43
examples,tests: ignore core dumps via .gitignore
This will ignore files named `core` and `core.*` (except `core.c`,
`core.h`, `core.md`, `core.txt`) placed directly in the application
folder. This is where `make` is typically called and core dump due to
a crashing native application, flashing tool, or GDB would be placed.
The pattern is intentionally quite narrow, as there is e.g. a core
source folder that should still be monitored.
2022-08-31 15:05:14 +02:00
benpicco
b024458b43
Merge pull request #18507 from gschorcht/tests/external_board_dirs/add_esp32s2_ci_board
tests/external_boards: add esp32s2-ci board for optional modules
2022-08-31 14:33:55 +02:00
Marian Buschsieweke
f59e1c63e9
tests/periph_gpio_ll: drop core dump merged by accident 2022-08-31 13:16:58 +02:00
Martine Lenders
803ff1f69e
Merge pull request #18516 from Teufelchen1/feat/crc_fixup
sys/checksum: Adding three new crc16 variations
2022-08-31 12:58:04 +02:00
Martine Lenders
27e68787c5
tests: rename cmac to aes128_cmac 2022-08-31 10:43:25 +02:00
Gunar Schorcht
1172ec2554 tests/external_boards: add esp32s2-ci board for optional modules 2022-08-31 09:09:11 +02:00
MrKevinWeiss
2633fe537e
tests/thread_priorty_inversion: blacklist esp32
This is causing hardware test failure, in some cases blocking PRs that should have passed.
2022-08-30 17:31:12 +02:00
Teufelchen1
a25934ca16 sys/checksum: Adding four crc16 variations: ccitt-aug/false/kermit/mcrf4xx 2022-08-30 15:37:04 +02:00
benpicco
034e39523e
Merge pull request #18529 from MrKevinWeiss/pr/fix/pkg_tinyvcdiff
tests/pkg_tinyvcdiff: Initialize mtd->write_size
2022-08-30 15:08:10 +02:00
benpicco
346c7336eb
Merge pull request #18514 from benpicco/nanocoap_sock_put
nanocoap_sock: add nanocoap_sock_put()
2022-08-30 14:00:42 +02:00
MrKevinWeiss
c43116a84f
tests/pkg_tinyvcdiff: Initialize mtd->write_size
An assert `assert(mtd->write_size != 0);` is being hit.
It seems that initializing this to 1 in the fakemtd fixes it.
Not that I know anything about what it should be.
2022-08-30 11:36:42 +02:00
Gunar Schorcht
c5e72e18fd
Merge pull request #18422 from gschorcht/cpu/esp32s3/esp32s3-ci_board
tests/external_boards: add esp32s3-ci board for optional modules
2022-08-27 18:42:49 +02:00
feb98ce748
Merge pull request #18481 from benpicco/tests/pkg_lvgl_touch-random
tests/pkg_lvgl_touch: randomize button position on click
2022-08-27 16:20:10 +02:00
benpicco
cb27a267a9
Merge pull request #17797 from jue89/feature/pkg-tiny-vcdiff
Add package tiny-vcdiff
2022-08-26 23:35:16 +02:00
Benjamin Valentin
88adf71067 tests/nanocoap_cli: implement url put, post command 2022-08-25 17:52:43 +02:00
4146255499 tests/periph_timer_short_relative_set: clarify outcome 2022-08-25 10:30:22 +02:00
Benjamin Valentin
0ae4d06212 tests/pkg_lvgl_touch: randomize button position on click 2022-08-24 21:56:31 +02:00
Gunar Schorcht
4b0d920e9d tests: add NimBLE/esp_wifi coexistence test 2022-08-24 09:05:25 +02:00
Martine Lenders
f15fbb3c15
Merge pull request #18441 from miri64/dns_cache/fix/ttl0
dns_cache: handle TTL=0 properly
2022-08-23 02:58:13 +02:00
Gunar Schorcht
fe7ecef564 tests/external_boards: add esp32s3-ci board for optional modules 2022-08-22 17:40:47 +02:00
Marian Buschsieweke
7ea0cab22e
tests/ztimer_periodic: improve output and relax on native
- Explain the reason on why the test fails if it fails
- Relax offset for ZTIMER_USEC on native, as this depends on the jitter
  emitted by the non-realtime OS native is running on

fixes issue #18490
2022-08-21 13:12:43 +02:00
chrysn
0a4bd3d68f
Merge pull request #18389 from chrysn-pull-requests/rust-cstr-update
rust: Update cstr dependency
2022-08-20 15:43:44 +02:00
Jose Alamos
f6fd8fafd8
unittests/bhp_msg: add initial unittests 2022-08-19 12:01:31 +02:00
Leandro Lanzieri
2dd59236c8
Merge pull request #18423 from MrKevinWeiss/pr/disable/hashchecks
.murdock: disable hash checks of kconfig/make
2022-08-17 18:30:36 +02:00
MrKevinWeiss
a00060f4d8
tests/periph_pm: Fix kconfig model 2022-08-17 14:37:25 +02:00
MrKevinWeiss
e5000c8de1
external_boards/nrf52840dk*: Rename to unique board 2022-08-17 14:37:25 +02:00
MrKevinWeiss
f7569b57e4
tests/periph_rtc: Fix kconfig model 2022-08-17 14:37:24 +02:00
MrKevinWeiss
418d1c7ba0
external_boards/esp32c3-ci: Add esp_jtag to test 2022-08-17 14:37:23 +02:00
MrKevinWeiss
93aa0e6414
tests/driver_dfplayer: fix app.config.test 2022-08-17 14:37:22 +02:00
benpicco
fc33f887b5
Merge pull request #18438 from Ziesie1/Ziesie1-patch-1
tests/unittests: Correct typo in documentation
2022-08-16 18:07:52 +02:00
Jose Alamos
76ec74f377
tests/driver_kw2xrf: adapt to radio HAL port 2022-08-15 12:11:05 +02:00
Jose Alamos
f8646f8e11
tests/ieee802154_submac: add support for kw2xrf radios
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2022-08-15 12:11:05 +02:00
Jose Alamos
f1ca73e934
tests/ieee802154_hal: add support for kw2xrf radios
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2022-08-15 12:11:04 +02:00
José Alamos
50e4498c84
Merge pull request #18435 from jia200x/pr/bhp
sys/bhp_*: add initial support for generic Bottom Half Processor
2022-08-12 09:58:18 +02:00
Martine Lenders
7d2c4c4cbc
tests/unittests/tests-dns_cache: add test case for TTL=0 2022-08-11 14:07:54 +02:00
Ziesie
dc928108b9
tests/unittests: Correct typo in Documentation 2022-08-11 11:32:28 +02:00
Jose Alamos
c80e0e1559
unittests/bhp_event: add initial unittests 2022-08-11 10:57:54 +02:00
Gunar Schorcht
6d79c939de tests/external_boards: add esp32c3-ci board for optional modules 2022-08-07 07:54:38 +02:00
benpicco
004ac82af5
Merge pull request #18394 from gschorcht/cpu/esp32/fix_kconfig_for_esp_eth
cpu/esp32: fix provided features and Kconfig for esp_eth
2022-08-05 19:47:03 +02:00
Marian Buschsieweke
3446752d3d
tests/thread_priority_inversion: clean up and automate 2022-08-05 13:08:53 +02:00
Karl Fessel
29841ef895
Merge pull request #18190 from krzysztof-cabaj/doc-tests
tests/doc: some additions and reorganization of doc page
2022-08-04 12:24:12 +02:00
krzysztof-cabaj
f13794fdcd tests/doc: reorganization and improvements to tests doc 2022-08-04 03:16:27 -04:00
Gunar Schorcht
e8c8c8d9e5 tests/driver_esp_eth: replace HAS_PERIPH_ETH by HAS_ESP_ETH in Kconfig 2022-08-03 09:01:05 +02:00
Gunar Schorcht
34633a5ca5 tests/driver_esp_eth: replace feature periph_eth by esp_eth 2022-08-03 06:38:44 +02:00
chrysn
863a1c2ac1 rust: Update cstr dependency
A change in Rust nightly features broke version 0.2.5 of the `cstr`
crate, whose nightly-only features are enabled in some examples. The
breakage was quickly fixed upstream in the 0.2.6 version, this updates
the locks.
2022-08-01 16:36:43 +02:00
chrysn
86dc086379 rust: Bring lock files in sync with toml files
The riotmodules dependency was missed in bc8ec6d5, and while generally
it does not severly harm builds, it does harm builds riotdocker CI where
branches are switched, which is blocked by dirty files in the checkout.

The riot-wrappers version was missed when what is now 5e75f4bd was
rebased onto fdc4e11a.
2022-08-01 16:28:12 +02:00
benpicco
f375856a7e
Merge pull request #18141 from fabian18/filesystems_configure_block_size
littlefs: make block size configurable at compile time
2022-07-31 22:53:46 +02:00
Fabian Hüßler
a29d5c24cd pkg/littlefs2: make block size configurable 2022-07-31 10:57:13 +02:00
Fabian Hüßler
41c0b1e7f0 pkg/littlefs: make block size configurable 2022-07-31 10:57:12 +02:00
benpicco
35d2af3808
Merge pull request #18382 from jia200x/pr/ieee802154_tests_fixes
tests/ieee802154_*: fix tx_done handler on ACK_TIMEOUT and improve tests
2022-07-28 22:51:28 +02:00
Jose Alamos
48d6f53128
tests/ieee802154_hal: fix missing rx_on on ack_timeout 2022-07-28 18:43:14 +02:00
Jose Alamos
63af1a0d3a
tests/ieee802154_submac: indicate packet length on rx_done
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2022-07-28 18:42:06 +02:00
Jose Alamos
8d54da1b8d
tests/ieee802154_hal: add support for ack_req flag
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2022-07-28 18:41:33 +02:00
Martine Lenders
8ad68dbb21
Merge pull request #16861 from miri64/sock_dodtls/feat/initial
sock_dodtls: Initial import of a DNS over DTLS client
2022-07-27 13:17:23 +02:00
Gunar Schorcht
6b57211058
Merge pull request #18364 from MrKevinWeiss/pr/fix/murdock
.murdock: Fix kconfig hash check
2022-07-27 11:14:08 +02:00
Martine Lenders
96b1d9c59e
tests/gnrc_sock_dodtls: provide DNS over DTLS test application 2022-07-27 00:46:43 +02:00
MrKevinWeiss
43cc07f050
external_boards/esp32-ci: Add gpio_hal in kconfig to match make 2022-07-26 15:08:47 +02:00
Martine Lenders
be34719350
Merge pull request #18365 from kfessel/p-unittest-zt64init
test/unittest: initilize ztimer64 is required, use xtimer test-fib
2022-07-25 18:11:58 +02:00
Karl Fessel
c48f53f8df test/unittest: initilize ztimer64 is required, use xtimer test-fib
test-fib has direct use of xtimer -> it needs to use the module
2022-07-25 13:54:59 +02:00
Leandro Lanzieri
1716638792
cpu/stm32/periph_eth: model in Kconfig 2022-07-25 11:08:32 +02:00
Leandro Lanzieri
88df973783
cpu/sam0_common/sam0_eth: model in Kconfig 2022-07-25 11:08:32 +02:00
Leandro Lanzieri
575e58dc5b
cpu/esp32/esp-eth: model in Kconfig 2022-07-25 11:08:32 +02:00
Leandro Lanzieri
065c27555b
drivers/w5100: model in Kconfig 2022-07-25 11:08:31 +02:00
Leandro Lanzieri
96de3ce511
drivers/ethos: model in Kconfig 2022-07-22 16:06:36 +02:00
Leandro Lanzieri
35aba45c1c
drivers/dose: model in Kconfig 2022-07-22 16:06:35 +02:00
Leandro Lanzieri
bc10e6ec79
drivers/encx24j600: model in Kconfig 2022-07-22 16:06:35 +02:00
Leandro Lanzieri
fa9822e6ef
drivers/enc28j60: model in Kconfig 2022-07-22 16:06:35 +02:00
Gunar Schorcht
6d74895825 tests/periph_gpio_ll: use MCU instead of CPU_FAM for ESP32x SoC
To be able to compile the test for different ESP32x variants without defining each ESP32x variant, MCU has to be used instead of CPU_FAM.
2022-07-22 06:25:06 +02:00
Gunar Schorcht
ea9382c12b tests/pkg_fff: use MCU instead of CPU_FAM for ESP32x SoC
To be able to compile the test for different ESP32x variants without defining each ESP32x variant, MCU has to be used instead of CPU_FAM.
2022-07-22 06:24:20 +02:00
Marian Buschsieweke
de064b7da0
Merge pull request #18349 from maribu/sys/shell/commands/sc_gnrc_icmpv6_echo
sys/shell/commands/ping: fix dependency & convert to ztimer
2022-07-21 17:37:59 +02:00
Karl Fessel
1f80bfc898 unittest/main: do not intialize xtimer if ztimer_xtimer_compat 2022-07-21 14:48:43 +02:00
Marian Buschsieweke
3a5e3636bb
sys/shell/commands/sc_gnrc_icmpv6_echo: fix dependency
Add missing dependency to xtimer so that the shell command `ping` is
again provided when requested.
2022-07-21 13:20:10 +02:00
Martine Lenders
5bba58b752
tests: adapt gcoap_dns test for DNS cache existance 2022-07-20 10:45:08 +02:00
Gunar Schorcht
a720bd12fc tests/periph_gpio_ll: fix output for GPIO_OUTPUT_OPEN_SOURCE tests 2022-07-19 17:59:46 +02:00
Martine Lenders
8bec9c1115
sock_dns_cache: move to dns_cache
Also piggy-back some fixes to the unittests and submodule handling
2022-07-18 15:27:58 +02:00
Benjamin Valentin
3806f7d532 nanocoap: make coap_request_ctx_t members internal 2022-07-17 14:32:16 +02:00
Benjamin Valentin
b86379f1ac tests: make use of coap_request_ctx_t 2022-07-17 14:32:16 +02:00
Benjamin Valentin
acfab72296 nanocoap: make use of coap_request_ctx_t 2022-07-17 14:29:39 +02:00
benpicco
a848ef8dbf
Merge pull request #17680 from benpicco/sock_dns_cache
sock_dns: implement DNS cache
2022-07-15 20:53:16 +02:00
benpicco
dd806ce72e
Merge pull request #18270 from gschorcht/cpu/esp32/periph_hal_esp32_gpio
cpu/esp32: use ESP-IDF gpio HAL for periph/gpio
2022-07-15 15:44:13 +02:00
Gunar Schorcht
66ceaa4d27 tests/external_board_dirs: use esp-idf-gpio-hal for esp32-ci board 2022-07-15 11:03:32 +02:00
Benjamin Valentin
d09d29a581 tests/unittests: add tests sock_dns_cache 2022-07-15 00:03:49 +02:00
benpicco
54544c0a36
Merge pull request #18131 from firas-hamdi/feat/apply_filters_to_target_mailbox
drivers/mcp2515: apply filters to target mailbox
2022-07-13 09:40:06 +02:00
Martine Lenders
a8254d52b8
Merge pull request #16705 from miri64/gcoap_dns/feat/initial
gcoap_dns: initial import of a DNS over CoAP (DoC) client
2022-07-13 02:27:17 +02:00
Martine Lenders
88dd1e5c2a
tests/gcoap_dns: provide test for DNS over CoAP client 2022-07-12 23:56:10 +02:00
Firas Hamdi
2543b3d2b6 tests/candev: update test application 2022-07-12 15:09:58 +02:00
MrKevinWeiss
37bdc32e30
tests/driver_nrf802154: Initial driver test 2022-07-11 09:32:16 +02:00
MrKevinWeiss
a2ac1c86db
tests/driver_at86rf215: add nucleo-f042k6 to BOARD_INSUFFICIENT_MEMORY 2022-07-11 09:32:16 +02:00
Leandro Lanzieri
61f14145f4
tests/driver_netdev_common: add virtual board with IEEE802.15.4 drivers 2022-07-11 09:32:15 +02:00
MrKevinWeiss
bacfe50893
tests/driver_mrf24j40: rewrite without GNRC 2022-07-11 09:32:15 +02:00
MrKevinWeiss
f8db5eadbc
tests/driver_kw2xrf: rewrite without GNRC 2022-07-11 09:32:14 +02:00
MrKevinWeiss
485ee122c0
tests: add cc2538_rf driver test 2022-07-11 09:32:14 +02:00
MrKevinWeiss
f1d6b25c62
tests: add cc2420 driver test 2022-07-11 09:32:13 +02:00
MrKevinWeiss
e78a129ba4
tests/driver_at86rf215: modify to use as generic IEEE 802.15.4 test 2022-07-11 09:32:02 +02:00
MrKevinWeiss
9d3a546e1d
tests/driver_at86rf2xx: rewrite without GNRC 2022-07-11 09:26:55 +02:00
benpicco
8d177f36a7
Merge pull request #18294 from maribu/tests/driver_at86rf2xx
tests/driver_at86rf2xx: fix use of incorrect macro
2022-07-10 23:06:15 +02:00
chrysn
d9879c96ca
Merge pull request #16833 from chrysn-pull-requests/rust-lib
Add some Rust library building infrastructure
2022-07-10 21:39:35 +02:00
chrysn
bc8ec6d542 rust: Make examples / tests use any Rust RIOT modules 2022-07-10 21:27:13 +02:00
chrysn
08939cda3b tests: Add rust-as-a-module test
Taken and simplified from shell test.
2022-07-10 21:27:13 +02:00
Marian Buschsieweke
29d21938aa
Merge pull request #18210 from maribu/cpu/esp32
cpu/esp32: enforce MAXTHREADS is at least 3
2022-07-06 17:57:48 +02:00
Peter Kietzmann
9af87803c6
Merge pull request #18137 from Einhornhool/pr/update-cryptoauth-package
pkg/cryptoauthlib: Update package to latest version
2022-07-06 13:30:16 +02:00
Lena Boeckmann
422d81a2b4 pkg/cryptoauthlib: Update package to latest version 2022-07-06 10:45:39 +02:00
Marian Buschsieweke
f59e910fd2
tests/periph_gpio_ll: Account for extra thread needed for ESP32 2022-07-06 09:00:13 +02:00
Marian Buschsieweke
91afd31425
tests/pkg_fff: Account for extra thread needed for ESP32 2022-07-06 09:00:13 +02:00
Marian Buschsieweke
5ddf786c95
tests/driver_at86rf2xx: fix use of incorrect macro
The random test function should be guarded by
`AT86RF2XX_RANDOM_NUMBER_GENERATOR` not by
`AT86RF2XX_SMART_IDLE_LISTENING`. This fixes the issue and also sneaks
in a test for the return value.
2022-07-04 13:55:31 +02:00
Marian Buschsieweke
df556311ce
Merge pull request #18290 from eduazocar/feature/at86rf2xx_random_numbers
drivers/at86rf2xx: Switch SRT mode to get random values.
2022-07-04 06:44:46 +02:00
eduazocar
e6a7039de4 drivers/at86rf2xx: Adding Switch SRT to Random Number Generator 2022-07-03 17:44:47 -04:00
chrysn
cb5d4f88f9
Merge pull request #18255 from maribu/tests/thread_float
tests/thread_float: fix test script
2022-07-01 00:39:57 +02:00
Marian Buschsieweke
94ccc6c7dc
tests/thread_float: clean up and fix test script
Split out the regex that matches the output line into a dedicated
function (as it is used three times) and make it also accept nan and
inf as double values. Previously a nan didn't match and occasional
nans were not detected as a test failure.
2022-06-30 19:15:08 +02:00
Marian Buschsieweke
0beb636bf3
tests/thread_float: fix test script
Previously the test script expected runnable threads of the same
priority to be running in a specific order. But the only tool that is
guaranteed to enforce a specific order of runnable threads is assigning
them different priority levels.

This should fix a test failure in the nightlies.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2022-06-30 19:15:08 +02:00
Marian Buschsieweke
fcbba02daf
Merge pull request #18256 from Teufelchen1/chore/macos
Documentation: Renaming OS X to macOS
2022-06-30 07:05:48 +02:00
Marian Buschsieweke
c4233e60b2
tests/slip: update Makefile.ci 2022-06-27 17:07:21 +02:00
benpicco
d9fc082686
Merge pull request #18062 from firas-hamdi/mcp2515-enable-filtering
drivers/mcp2515: enable filtering
2022-06-26 22:23:07 +02:00
Firas Hamdi
285ba27be6 tests/candev: adapt test application 2022-06-26 17:38:23 +02:00
Teufelchen1
1231807bab Documentation: Renaming OS X to macOS 2022-06-23 17:25:48 +02:00
benpicco
1638606c5c
Merge pull request #18218 from gschorcht/boards/esp32/cleanup_ci_compilation
boards/esp32: cleanup CI compilation for esp_wifi_enterprise
2022-06-19 17:01:13 +02:00
Gunar Schorcht
3414629614 boards/esp32-ci: define ESP_WIFI_EAP_* variables
`ESP_WIFI_EAP_USER` and `ESP_WIFI_EAP_PASS` have to be defined because this board is used in the CI to compile the optional module `esp_wifi_enterprise`.
2022-06-16 14:20:11 +02:00
benpicco
0a16f8266a
Merge pull request #17962 from benpicco/nanocoap_vfs-put
nanocoap_vfs: add nanocoap_vfs_put()
2022-06-16 11:53:36 +02:00
chrysn
1e7ac17e07 doc/rust: Migrate and modernize text from rust_minimal README
This is a rewrite of text that has come to be quite outdated, pulled
into the central location for information about RIOT's Rust integration.
2022-06-15 00:01:27 +02:00
benpicco
6a15ad4df2
Merge pull request #18179 from maribu/sys/shell_commands
sys/shell/commands: add static qualifier where appropriate
2022-06-14 10:06:07 +02:00
Marian Buschsieweke
9b0cf39312
tests/periph_pm: avoid abusing shell command
To allow marking the shell command static, add a trivial
_show_blockers() function that lists the current pm layered blocker
state.
2022-06-11 14:38:58 +02:00
benpicco
593b5d376d
Merge pull request #18186 from maribu/sys/fmt
sys/fmt: fix output on native
2022-06-11 08:07:22 +02:00
Marian Buschsieweke
e819b9054e
tests/memarray: call ps() directly
Rather than abusing _ps_handler() to call ps(), just call it directly.
2022-06-10 11:14:32 +02:00
Marian Buschsieweke
d404d93ab4
tests/fmt_print: spice up test
Add also a test for correct behavior of `print()` when the string
doesn't happen to be zero-terminated at the expected position.
2022-06-10 11:02:43 +02:00
Francisco
e5c7e3b633
Merge pull request #18029 from haukepetersen/verbump_nimble_nrfx2022
pkg/nimble: version bump to NimBLE 1.5.0 RC1
2022-06-10 04:11:26 +02:00
chrysn
f4691db39d
Merge pull request #18181 from chrysn-pull-requests/rust-updates-20220608
rust: Update versions
2022-06-09 13:40:02 +02:00
chrysn
92d34741b0 rust: Update versions 2022-06-08 17:59:44 +02:00
Benjamin Valentin
64478287fa tests/nanocoap_cli: bump main stack size 2022-06-08 17:21:21 +02:00
Hendrik van Essen
2f91557098 tests/shell_lock: add test 2022-06-08 13:01:23 +02:00
Hauke Petersen
9be431610a tests/nimble_ext_adv: blacklist nrf51 boards
These boards have insufficient RAM to build this test.
2022-06-08 08:26:00 +02:00
Marian Buschsieweke
97f2033d47
tests/shell: update expected help list 2022-06-07 09:25:06 +02:00
7ff6a0dc3a
tests/ps_schedstatistics: fix command order in shell help test 2022-06-07 09:25:06 +02:00
Marian Buschsieweke
5ea582b3dd
sys/shell_commands: convert to SHELL_COMMAND()
Make use of XFA for shell commands
2022-06-07 09:25:04 +02:00
Francisco
f6d5a54c3e
Merge pull request #18045 from benpicco/suit/transport-vfs
suit/transport/vfs: add VFS as source for firmware updates
2022-06-07 08:32:15 +02:00
Marian Buschsieweke
9ad9265623
tests/pkg_microcoap: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Martine Lenders
b77662dc47
Merge pull request #18162 from maribu/sys/fmt
sys/fmt: disarm footgun
2022-06-05 19:22:11 +02:00
benpicco
4160ed7a05
Merge pull request #18113 from benpicco/drivers/mtd_mapper-inherit
drivers/mtd_mapper: inherit physical properties
2022-06-05 11:52:15 +02:00
Gunar Schorcht
e496dd8dcf tests: add esp32-ci / esp8266-ci as external boards
Add `esp32-ci` and `esp8266-ci` as external boards to cover optional module `esp_hw_counter` (ESP32) and `esp_sw_timer` (ESP8266) by CI compilation.
2022-06-03 07:33:44 +02:00
Benjamin Valentin
53f891e604 tests/mtd_mapper: don't set device properites for regions 2022-06-03 00:22:06 +02:00
Marian Buschsieweke
d98211f339
tests/fmt_printf: spice up test
Also include interaction with stdio, as corrupting output on mixing
stdio and fmt is too much of a footgun.
2022-06-02 14:51:17 +02:00
benpicco
e1e2b7c5b6
Merge pull request #17601 from gschorcht/cpu/esp32/upgrade_esp-idf_v4.4
cpu/esp32: Upgrade to ESP-IDF v4.4
2022-06-02 10:18:07 +02:00
benpicco
cb5e19beb5
Merge pull request #17979 from maribu/drivers/netdev_ieee802154
drivers/netdev_ieee802154: drop duplicate struct member
2022-06-02 00:47:56 +02:00
Karl Fessel
6e41c685b2
Merge pull request #17935 from dp1/ir_nec
drivers/ir_nec: NEC remote receiver implementation
2022-06-01 13:44:51 +02:00
Gunar Schorcht
fb571048f6 tests/external_boards: fix module board_esp32-ci 2022-06-01 13:31:00 +02:00
Benjamin Valentin
d9114f81c4 suit: replace SUIT_URL_MAX with CONFIG_SOCK_URLPATH_MAXLEN 2022-06-01 13:00:51 +02:00
Dario Petrillo
ec75d2f33c
tests/driver_ir_nec: add test application for ir_nec driver 2022-05-31 17:58:46 +02:00
chrysn
f89324ad4a {examples,tests}/rust: Rust updates
This is not so much an update (riot-wrappers stays at the same commit,
riot-sys just advances by one that re-enables an optional dependency,
but of course third party crates are updated) but more reflects the
switch from using released crates to git versions.
2022-05-31 17:44:41 +02:00
benpicco
85169fc220
Merge pull request #17937 from benpicco/nanocoap_vfs
nanocoap_vfs: add nanocoap_vfs_get()
2022-05-24 16:10:15 +02:00
benpicco
eb09fe21fd
Merge pull request #18025 from leandrolanzieri/pr/sys/random/change_kconfig_default_backend
sys/random/kconfig: remove HWRNG default in backend choice
2022-05-24 11:35:21 +02:00
Benjamin Valentin
5fde41e775 tests/nanocoap_cli: enable nget command 2022-05-24 09:35:04 +02:00
Martine Lenders
078bced8e1
Merge pull request #16090 from maribu/gnrc_tx_sync_frag_sfr
sys/net/gnrc: add gnrc_tx_sync for gnrc_sixlowpan_frag_sfr
2022-05-24 03:38:38 +02:00
Marian Buschsieweke
adad17e2a9
tests/gnrc_tx_sync: spice out test application
Testing with SFR can controlled via `TEST_FRAG_SFR={0,1}`, just like
testing with 6LoWPAN was controlled via `TEST_6LO={0,1}`.
2022-05-23 20:10:26 +02:00
Martine Lenders
f91c8799c6
unittests: fix assertion for nanocoap_cache_key_compare()
The doc states only that the result is <0, not -1. The result isn't the
latter for some platforms (see
https://github.com/RIOT-OS/RIOT/runs/6534330788?check_suite_focus=true#step:13:696)
2022-05-23 12:22:58 +02:00
chrysn
dc7bc9f854
Merge pull request #17683 from chrysn-pull-requests/mtd-granularity
mtd: Introduce write granularity
2022-05-20 11:52:03 +02:00
Marian Buschsieweke
158203fe71
Merge pull request #17651 from benpicco/fs/constfs-cleanup
sys/fs/constfs: drop dummy implementations
2022-05-19 23:23:49 +02:00
Benjamin Valentin
a587069b18 vfs: return -EROFS if remove operation is not implemented 2022-05-19 11:43:08 +02:00
Francisco
37da85f047
Merge pull request #18033 from thingsat/pr/sx1280_v2
drivers/sx1280: add driver for SX1280 transceiver v2
2022-05-18 22:10:38 +02:00
Aymeric Brochier
779e249af6 tests/driver_sx1280: initial import 2022-05-18 17:06:12 +02:00
benpicco
7c62c8983d
Merge pull request #17958 from benpicco/nanocoap-blockwise_put
nanocoap_sock: add nanocoap_sock_block_request()
2022-05-18 10:40:24 +02:00
Benjamin Valentin
14b103d66b tests/nanocoap_cli: add blockwise put test 2022-05-17 23:07:23 +02:00
benpicco
d7533fb855
Merge pull request #17701 from fjmolinas/pr_libcose_riot_crypto
pkg/libcose: add RIOT as crypto backend
2022-05-17 14:20:16 +02:00
Jue
0f1a1dcacd pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
Francisco Molina
2452502066 tests/pkg_libcose_encrypt: split cose_encrypt test 2022-05-17 10:51:34 +02:00
benpicco
025af7534f
Merge pull request #18067 from kfessel/p-unittest_sock-read
unittest/sock_util: move test_strings to their tests
2022-05-17 09:37:53 +02:00
benpicco
d28a45e939
Merge pull request #18089 from benpicco/NETOPT_RX_END_IRQ
net/netopt: drop NETOPT_RX_END_IRQ
2022-05-16 11:34:48 +02:00
benpicco
1e315c7308
Merge pull request #16748 from jia200x/pr/gnrc_netif/remove_netdev_event_isr_msg
gnrc_netif: use event loops by default to process ISR
2022-05-13 18:49:01 +02:00
Cenk Gündoğan
fb3f1a2138
Merge pull request #17888 from miri64/gcoap/enh/caching
gcoap: add nanocoap_cache support for clients
2022-05-13 15:39:10 +02:00
380cc4975c
Merge pull request #18101 from krzysztof-cabaj/tests-pkg_tflite-micro
tests/pkg_tflite-micro: update list of low memory boards
2022-05-13 14:12:45 +02:00
Martine Lenders
9a54e7ef7f
Merge pull request #18099 from kaspar030/unittests_native_asan
unittests: enable ASAN on native
2022-05-13 14:11:59 +02:00
krzysztof-cabaj
6b72d85372 tests/pkg_tflite-micro: update list of low memory boards 2022-05-13 07:00:46 -04:00
Martine Lenders
dbed2b48ea
nanocoap_cache: add helper function to check if entry is stale 2022-05-13 12:14:55 +02:00
Martine Lenders
e6a9443932
tests/unittests/tests-gcoap: adapt for automatically added ETag option 2022-05-13 12:14:55 +02:00
dcf5cda260 tests/unittests/uri_parser: increase VEC_MSG_LEN
Previous value tripped ASAN. Increase to sth with room to spare.
2022-05-13 11:47:17 +02:00
c544625dc9
Merge pull request #18082 from MrKevinWeiss/pr/fix/cppkconfig
tests/{cpp_ext, cpp_exclude}: cleanup HAS_*
2022-05-12 15:15:12 +02:00
Benjamin Valentin
a5a411e99b tests/driver_at86rf2xx: don't set NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
3a0e5fd775 tests/unittests: enable address sanitizer for native 2022-05-11 21:49:57 +02:00
5c0b99a1a0 tests/unittests/tests-uri_parser: add bad port length case 2022-05-11 21:33:02 +02:00
MrKevinWeiss
149dc8069c
tests/{cpp_ext, cpp_exclude}: cleanup HAS_* 2022-05-11 21:24:50 +02:00
Benjamin Valentin
67f9049044 tests/gnrc_netif: remove cast from test_netif_get_name() 2022-05-10 22:18:54 +02:00
Cenk Gündoğan
b4cae9d09d
nanocoap: add unittests for nanocoap-cache 2022-05-10 18:43:57 +02:00
Karl Fessel
ab5958febd unittest/sock_util: move strings to their tests 2022-05-06 11:54:25 +02:00
35643dcd58
tests/cpp_exclude: add Kconfig support 2022-05-06 11:52:51 +02:00
7a9851b31c
tests/cpp_ext: add Kconfig support 2022-05-06 11:52:51 +02:00
Karl Fessel
9d798d6113 unittest/sock_util: add test for missing addr variants 2022-05-05 16:53:11 +02:00
Kevin "Tristate Tom" Weiss
126ed47a94
Merge pull request #18011 from aabadie/pr/pkg/cryptoauthlib_kconfig
pkg/cryptoauthlib: model in kconfig
2022-05-04 10:05:39 +02:00
e7a1cae885
tests/pkg_nanors: add Kconfig configuration 2022-05-03 16:22:42 +02:00
ae530a9db2
tests/pkg_cryptoauthlib*: add Kconfig configuration 2022-05-03 16:06:22 +02:00
Marian Buschsieweke
bae91c1660
Merge pull request #17723 from benpicco/periph_timer_periodic-set_stopped
drivers/periph/timer: add TIM_FLAG_SET_STOPPED flag
2022-05-03 12:06:37 +02:00
Kevin "Tristate Tom" Weiss
f4141c676e
Merge pull request #18017 from aabadie/pr/pkg/lua-kconfig
pkg/lua: model in kconfig
2022-05-03 11:46:17 +02:00
chrysn
a4f1ce680b
Merge pull request #18048 from chrysn-pull-requests/riot-sys-0.7.7
{examples,tests}/rust: Rust updates
2022-05-03 11:25:42 +02:00
chrysn
ec498cd51c {examples,tests}/rust: Rust updates
Updating to riot-sys 0.7.7 enables support for more recent C2Rust
versions, and to riot-wrappers 0.7.22 unblocks [17990].

[17990]: https://github.com/RIOT-OS/RIOT/pull/17990
2022-05-03 09:23:24 +02:00
Benjamin Valentin
fcd61c922d tests/driver_pcf857x: rename local functions to avoid name collision 2022-05-03 00:58:34 +02:00
Benjamin Valentin
9d1dd98a24 unittests/tests-mtd: prefix local functions
This avoids a conflict with the functions from unistd.h
2022-05-03 00:53:34 +02:00
Benjamin Valentin
f731e595bc tests/periph_timer_periodic: test TIM_FLAG_SET_STOPPED flag 2022-04-29 22:33:07 +02:00
Kevin "Tristate Tom" Weiss
7731e6ab62
Merge pull request #17995 from aabadie/pr/tests/pkg_utensor_kconfig
tests/pkg_utensor: model in Kconfig + fix utensor package dependencies
2022-04-28 17:25:56 +02:00
Leandro Lanzieri
73a618d5fb
Merge pull request #18001 from aabadie/pr/tests/pkg_cmsis_dsp_kconfig
tests/pkg_cmsis-dsp: add kconfig configuration + cleanup package modules
2022-04-28 16:04:42 +02:00
Leandro Lanzieri
77382affa3
Merge pull request #17985 from aabadie/pr/pkg/tflite-micro-kconfig
pkg/tflite-micro: add kconfig support
2022-04-28 09:31:18 +02:00
d2b9844574
tests/pkg_utensor: add Kconfig configuration 2022-04-28 08:49:54 +02:00
Martine Lenders
b167d6931c
Merge pull request #17774 from fjmolinas/pr_nimble_auto_adv_extended
pkg/nimble/autoadv: add support for ext_adv
2022-04-27 16:44:46 +02:00
Leandro Lanzieri
82726a2b2b
sys/random/kconfig: remove HWRNG default in backend choice
For now we match the Makefile.dep default, ignoring if the platform
presents a Hardware RNG.
2022-04-27 15:41:23 +02:00
cf0b3ded3c
examples: tests: lua: add Kconfig configuration 2022-04-27 11:12:27 +02:00
7577e4bf47
tests/pkg_tflite-micro: add Kconfig support 2022-04-27 10:53:50 +02:00
5833956daf
tests/pkg_flatbuffers: add Kconfig support 2022-04-27 10:53:50 +02:00