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