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