Jens Wetterich
a9c5987fa3
core/irq: Add C++ wrapper
2023-01-13 13:58:07 +01:00
Marian Buschsieweke
acbc83b8cc
tests: Update Makefile.ci
2023-01-13 13:08:39 +01:00
Benjamin Valentin
8379bb7d4a
tests/nanocoap_cli: add DTLS support
2023-01-13 00:17:33 +01:00
Martine Lenders
64bea31b47
tests/congure_*: wait for serial port after reset if configured
2023-01-12 10:13:21 +01:00
bors[bot]
53176f7b9e
Merge #18134 #18738 #18939 #19118
...
18134: nanocoap_link_format: add helper function to parse Link Format r=kaspar030 a=benpicco
18738: nanocoap_sock: implement nanocoap_sock_delete() r=maribu a=benpicco
18939: gnrc_ipv6_nib: clean up _resolve_addr() r=maribu a=benpicco
19118: sys/ztimer: ztimer_mock: guard ztimer_ondemand static functions r=kaspar030 a=kaspar030
Co-authored-by: Benjamin Valentin <benpicco@beuth-hochschule.de>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2023-01-10 11:25:32 +00:00
bors[bot]
441b69964c
Merge #19106
...
19106: core/lib: Add macros/utils.h header r=aabadie a=maribu
### Contribution description
The macros CONCAT(), MIN(), and MAX() are defined over and over again in RIOT's code base. This de-duplicates the code by moving the macros to a common place.
### Testing procedure
Generated binaries don't change, as this only a de-duplication of macros that doesn't change their definition.
### Issues/PRs references
None
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2023-01-07 21:16:51 +00:00
Gunar Schorcht
c21eb6b8a8
tests/periph_flashpage: use od_hex_dump for memdump
...
Replaces the custom `memdump` implementation with `od_hex_dump`, which provides a more common and especially more compact print format.
2023-01-07 14:49:36 +01:00
Marian Buschsieweke
86fdbd7054
core/lib: Add macros/utils.h header
...
The macros CONCAT(), MIN(), and MAX() are defined over and over again in
RIOT's code base. This de-duplicates the code by moving the macros to a
common place.
2023-01-07 09:47:44 +01:00
Benjamin Valentin
b44d360e49
tests/periph_uart: only exclude STDIO_UART_DEV if stdio_uart is used
2023-01-06 17:23:53 +01:00
bors[bot]
9a45f4bc49
Merge #18632
...
18632: tests/thread_float: do not overload slow MCUs with IRQs r=kaspar030 a=maribu
### Contribution description
If the regular context switches are triggered too fast, slow MCUs will be able to spent little time on actually progressing in the test. This will scale the IRQ rate with the CPU clock as a crude way too keep load within limits.
### Testing procedure
The unit test should now pass on the Microduino CoreRF
```
$ make BOARD=microduino-corerf AVRDUDE_PROGRAMMER=dragon_jtag -C tests/thread_float flash test
make: Entering directory '/home/maribu/Repos/software/RIOT/tests/thread_float'
Building application "tests_thread_float" for "microduino-corerf" with MCU "atmega128rfa1".
[...]
text data bss dec hex filename
12834 520 3003 16357 3fe5 /home/maribu/Repos/software/RIOT/tests/thread_float/bin/microduino-corerf/tests_thread_float.elf
avrdude -c dragon_jtag -p m128rfa1 -U flash:w:/home/maribu/Repos/software/RIOT/tests/thread_float/bin/microduino-corerf/tests_thread_float.hex
[...]
Welcome to pyterm!
Type '/exit' to exit.
READY
s
START
main(): This is RIOT! (Version: 2022.10-devel-858-g18566-tests/thread_float)
THREADS CREATED
Context switch every 3125 µs
{ "threads": [{ "name": "idle", "stack_size": 192, "stack_used": 88 }]}
{ "threads": [{ "name": "main", "stack_size": 640, "stack_used": 220 }]}
THREAD t1 start
THREAD t2 start
THREAD t3 start
t1: 141.443770
t3: 141.466810
t1: 141.443770
t3: 141.466810
t1: 141.443770
t3: 141.466810
t1: 141.443770
t3: 141.466810
t1: 141.443770
t3: 141.466810
t1: 141.443770
t3: 141.466810
t1: 141.443770
make: Leaving directory '/home/maribu/Repos/software/RIOT/tests/thread_float'
```
(~~Note: The idle thread exiting is something that should never occur. I guess the culprit may be `cpu_switch_context_exit()` messing things up when the main thread exits. But that is not directly related to what this PR aims to fix. Adding a `thread_sleep()` at the end of `main()` does indeed prevent the idle thread from exiting.~~
Update: That's expected. The idle thread stats are printed on exit of the main thread, the idle thread does not actually exit.)
### Issues/PRs references
Fixes https://github.com/RIOT-OS/RIOT/issues/16908 maybe?
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2023-01-04 16:25:23 +00:00
bors[bot]
21af24729e
Merge #19030 #19085
...
19030: tests/periph_timer_short_relative_set: improve test r=benpicco a=maribu
### Contribution description
Reduce the number lines to output by only testing for intervals 0..15 to speed up the test.
In addition, run each test case 128 repetitions (it is still faster than before) to give some confidence the short relative set actually succeeded.
### Testing procedure
The test application should consistently fail or succeed, rather than occasionally passing.
### Issues/PRs references
None
19085: makefiles/tests/tests.inc.mk: fix test/available target r=benpicco a=maribu
### Contribution description
`dist/tools/compile_and_test_for_board/compile_and_test_for_board.py` relies on `make test/available` to check if a test if available. However, this so far did not take `TEST_ON_CI_BLACKLIST` and `TEST_ON_CI_WHITELIST` into account, resulting in tests being executed for boards which they are not available. This should fix the issue.
### Testing procedure
#### Expected to fail
```
$ make BOARD=nrf52840dk -C tests/gcoap_fileserver test/available
$ make BOARD=microbit -C tests/log_color test/available
```
(On `master`, they succeed, but fail in this PR.)
#### Expected to succeed
```
$ make BOARD=native -C tests/gcoap_fileserver test/available
$ make BOARD=nrf52840dk -C tests/pkg_edhoc_c test/available
$ make BOARD=nrf52840dk -C tests/log_color test/available
```
(Succeed in both `master` and this PR.)
### Issues/PRs references
None
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2023-01-04 01:20:19 +00:00
bors[bot]
096ed0048a
Merge #18950
...
18950: tests/unittests: add unit tests for core_mbox r=benpicco a=maribu
### Contribution description
As the title says
### Testing procedure
The test cases are run on `native` by Murdock anyway.
### Issues/PRs references
Split out of https://github.com/RIOT-OS/RIOT/pull/18949
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2023-01-03 22:19:39 +00:00
Marian Buschsieweke
0835466498
tests/thread_float: do not overload slow MCUs with IRQs
...
If the regular context switches are triggered too fast, slow MCUs
will be able to spent little time on actually progressing in the
test. This will scale the IRQ rate with the CPU clock as a crude way
too keep load within limits.
2023-01-03 22:17:51 +01:00
bors[bot]
e51d8285f3
Merge #19037
...
19037: sys/usb, pkg/tinyusb: move USB board reset from highlevel STDIO to CDC ACM r=dylad a=gschorcht
### Contribution description
The USB board reset function `usb_board_reset_coding_cb` can be used on any CDC-ACM interface, even if the CDC ACM interface is not used as high-level STDIO. Therefore, this PR provides the following changes:
- The call of the board reset function `usb_board_reset_coding_cb` from USBUS stack has been moved from the STDIO CDC ACM implementation to the CDC ACM implementation and is thus a feature of any USBUS CDC ACM interface which does not necessarily have to be used as highlevel STDIO.
- The call of the board reset function `usb_board_reset_coding_cb` from tinyUSB stack been moved from module `tinyusb_stdio_cdc_acm` to module `tinyusb_contrib` and is compiled in if the `tinyusb_class_cdc` module is used together the `tinyusb_device` module. Thus, it is now a feature of the tinyUSB CDC ACM interface, which does not necessarily have to be used as highlevel STDIO.
- The `usb_board_reset` module defines the `usb_board_reset_in_bootloader` function as a weak symbol to be used when reset in bootloader if no real implementation of this function is compiled in and the `riotboot_reset` module is not used. It only prints an error message that the reset in bootloader is not supported. This is necessary if the module `usb_board_reset` is used to be able to restart the board with an application via a USB CDC ACM interface, but the board's bootloader does not support the reset in bootloader feature.
- A test application has been added that either uses the highlevel STDIO `stdio_acm_cdc` or creates a CDC-ACM interface to enable board resets via USB. If the `usbus_dfu` module is used, it also initializes the DFU interface to be able to work together with the `riotboot_dfu` bootloader.
### Testing procedure
1. Use a board with a bootloader that supports the reset in bootloader via USB, but don't use the highlevel STDIO to check that it works with `usbus_cdc_acm`, for example:
```python
USEMODULE=stdio_uart BOARD=arduino-mkr1000 make -C tests/usb_board_reset flash
```
After reset in application with command
```python
stty -F /dev/ttyACM0 raw ispeed 600 ospeed 600 cs8 -cstopb ignpar eol 255 eof 255
```
command `dmesg` should give an output like the following with RIOT's test VID/PID:
```python
dmesg
[1745182.057403] usb 1-4.1.2: new full-speed USB device number 69 using xhci_hcd
[1745182.160386] usb 1-4.1.2: New USB device found, idVendor=1209, idProduct=7d01, bcdDevice= 1.00
[1745182.160390] usb 1-4.1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[1745182.160392] usb 1-4.1.2: Product: arduino-mkr1000
[1745182.160393] usb 1-4.1.2: Manufacturer: RIOT-os.org
[1745182.160395] usb 1-4.1.2: SerialNumber: 6B6C2CA5229020D8
[1745182.170982] cdc_acm 1-4.1.2:1.0: ttyACM0: USB ACM device
```
After reset in bootloader with command
```python
stty -F /dev/ttyACM0 raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
```
command `dmesg` should give an output like the following with vendor VID/PID:
```python
[1746220.443792] usb 1-4.1.2: new full-speed USB device number 70 using xhci_hcd
[1746220.544705] usb 1-4.1.2: New USB device found, idVendor=2341, idProduct=024e, bcdDevice= 2.00
[1746220.544708] usb 1-4.1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[1746220.553471] cdc_acm 1-4.1.2:1.0: ttyACM0: USB ACM device
```
2. Test the same as in 1., but this time use the highlevel STDIO to check that there is no regression and it still works with `stdio_cdc_acm`, for example:
```python
BOARD=arduino-mkr1000 make -C tests/usb_board_reset flash
```
3. Use a board that supports `riotboot_dfu` but doesn't use the highlevel STDIO and flash the `riotboot_dfu` bootloader, for example:
```python
BOARD=stm32f429i-disc1 make -C bootloaders/riotboot_dfu flash term
```
Once the bootloader is flashed, command `dfu-util --list` should give something like the following:
```python
Found DFU: [1209:7d02] ver=0100, devnum=14, cfg=1, intf=0, path="1-2", alt=1, name="RIOT-OS Slot 1", serial="6591620BCB270283"
Found DFU: [1209:7d02] ver=0100, devnum=14, cfg=1, intf=0, path="1-2", alt=0, name="RIOT-OS Slot 0", serial="6591620BCB270283"
```
If the output gives only
```python
Found Runtime: [1209:7d00] ver=0100, devnum=123, cfg=1, intf=0, path="1-2", alt=0, name="RIOT-OS bootloader", serial="6591620BCB270283"
```
an application is already running in DFU Runtime mode. Use `dfu-util -e` to restart it in bootloader DFU mode.
Then flash the test application, for example:
```python
FEATURES_REQUIRED=riotboot USEMODULE='usbus_dfu riotboot_reset' \
BOARD=stm32f429i-disc1 make -C tests/usbus_board_reset PROGRAMMER=dfu-util riotboot/flash-slot0
```
Once the test application is flashed, command `dfu-util --list` should give:
```python
Found Runtime: [1209:7d00] ver=0100, devnum=123, cfg=1, intf=0, path="1-2", alt=0, name="RIOT-OS bootloader", serial="6591620BCB270283"
```
Now, use command
```python
stty -F /dev/ttyACM1 raw ispeed 600 ospeed 600 cs8 -cstopb ignpar eol 255 eof 255
```
to restart the board in application. Command `dfu-util --list` should give again the following:
```python
Found Runtime: [1209:7d00] ver=0100, devnum=123, cfg=1, intf=0, path="1-2", alt=0, name="RIOT-OS bootloader", serial="6591620BCB270283"
```
That is, the application is running in DFU Runtime mode. Then use command
```python
stty -F /dev/ttyACM1 raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
```
to restart the board in bootloader DFU mode. Command `dfu-util --list` should now give the following:
```python
Found DFU: [1209:7d02] ver=0100, devnum=50, cfg=1, intf=0, path="1-2", alt=1, name="RIOT-OS Slot 1", serial="7D156425A950A8EB"
Found DFU: [1209:7d02] ver=0100, devnum=50, cfg=1, intf=0, path="1-2", alt=0, name="RIOT-OS Slot 0", serial="7D156425A950A8EB"
```
That is, the bootloader is in DFU mode and another application can be flash.
4. After a hard reset of the board under 3., try the commands `reboot` and `bootloader`.
5. To check the same for tinyUSB, use the existing tinyUSB application with a CDC ACM interface and add module `usb_board_reset`, for example:
```python
USEMODULE=usb_board_reset BOARD=stm32f429i-disc1 make -C tests/pkg_tinyusb_cdc_msc flash term
```
After flashing, it should be possible to restart the application with command:
```python
stty -F /dev/ttyACM1 raw ispeed 600 ospeed 600 cs8 -cstopb ignpar eol 255 eof 255
```
When using command
```python
stty -F /dev/ttyACM1 raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
```
the following error message should be shown in terminal
```python
[cdc-acm] reset in bootloader is not supported
```
### Issues/PRs references
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2023-01-03 19:36:16 +00:00
Gunar Schorcht
709667a58b
tests/usbus_board_reset: test application
...
The test application either uses the USBUS highlevel STDIO module `stdio_acm_cdc` or it creates a CDC ACM interface to enable board reset via USBUS CDC ACM. If the `usbus_dfu` module is used together with the `riotboot_dfu` bootloader, it also initializes the USBUS DFU Runtime interface.
2023-01-03 10:05:54 +01:00
Marian Buschsieweke
d2a3ff3d83
boards/{bluepill*,blackpill*}: rename and improve doc
...
- renamed:
- `bluepill` --> `bluepill-stm32f103c8`
- `bluepill-128kib` --> `bluepill-stm32f103cb`
- `blackpill` --> `blackpill-stm32f103c8`
- `blackpill-128kib` --> `blackpill-stm32f103cb`
- doc:
- added link to corresponding hardware page on the STM32-base
project
- added picture
2023-01-02 16:23:10 +01:00
Gunar Schorcht
6b9690cdb7
tests/pkg_arduino_adafruit_sensor: add test app
2022-12-15 18:36:05 +01:00
Gunar Schorcht
e152159a35
tests/driver_sht2x: migration to ztimer
2022-12-14 21:47:32 +01:00
Marian Buschsieweke
05bb4bb4fd
tests/periph_timer_short_relative_set: improve test
...
Reduce the number lines to output by only testing for intervals 0..15
to speed up the test.
In addition, run each test case 128 repetitions (it is still faster
than before) to give some confidence the short relative set actually
succeeded.
2022-12-09 22:10:18 +01:00
Marian Buschsieweke
9b3df5b4ff
tests/unittests: add unit tests for core_mbox
2022-12-09 14:47:11 +01:00
Marian Buschsieweke
88d840f796
Merge pull request #18963 from maribu/tests/periph_timer
...
tests/periph_timer: also test for spurious IRQs
2022-12-08 11:11:47 +01:00
Juergen Fitschen
71a606a1db
Merge pull request #17607 from jue89/feature/ztimer-ondemand
...
ztimer: add ztimer_ondemand module for implicit power management
2022-12-06 18:30:16 +01:00
benpicco
0d64cc2fa5
Merge pull request #19006 from gschorcht/pkg/tinyusb_board_reset
...
pkg/tinyusb: add usb_board_reset support
2022-12-06 17:16:18 +01:00
Gunar Schorcht
9fd2d6b6e0
tests/pkg_tinyusb_cdc_acm_stdio: add Kconfig support
2022-12-03 12:59:49 +01:00
Gunar Schorcht
4b328203d2
tests/pkg_tinyusb_cdc_msc: cleanup app.config.test
...
Modules `tinyusb_common` and `tinyusb_device` are enabled automatically when package `tinyusb` is used. There is no need to enable them manually.
2022-12-03 12:11:47 +01:00
Gunar Schorcht
7d7c8b1f32
tests/riotboot_flashwrite: blacklist blxxxpill boards
2022-11-30 19:28:14 +01:00
Kevin "Tristate Tom" Weiss
16b616218c
Merge pull request #18734 from Teufelchen1/tests/uri_parser
...
unittests/uri_parser: Rework tests to be more verbose
2022-11-29 19:43:34 +01:00
Teufelchen1
49efb727da
unittests/uri_parser: Rework tests to be more verbose
2022-11-29 16:47:07 +01:00
benpicco
388f9a2015
Merge pull request #18887 from kfessel/p-clean-header-kerneldef
...
sys/include: remove kernel_defines.h where not needed
2022-11-29 10:14:52 +01:00
Marian Buschsieweke
496abf0a4e
tests/periph_timer: also test for spurious IRQs
...
Previously the test only checked if IRQs fired when expected. This
extends the test to also check that IRQs do not fire when not expected.
2022-11-25 12:33:54 +01:00
Marian Buschsieweke
e7ee53e6ed
tests/periph_timer: fix style and use of volatile
...
To synchronize communication via shared memory between ISR context and
thread context it is a common misconception that `volatile` is
sufficient. This is however is not the cause and the cause of many
subtle data race bugs. This fixes the issue.
2022-11-25 12:33:54 +01:00
Juergen Fitschen
d9cde14669
treewide: fix typos found by recent codespell
2022-11-24 14:53:48 +01:00
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
Martine Lenders
aa5a18f833
Merge pull request #16974 from yarrick/lwip_netif
...
pkg/lwip: Add netif_t struct, register all netifs
2022-04-26 23:49:49 +02:00
2c3dc581bc
Merge pull request #18008 from aabadie/pr/pkg/corejson_kconfig
...
pkg/corejson: fix missing kconfig import + model test application configuration
2022-04-26 11:55:21 +02:00
4826468174
tests/pkg_cmsis-dsp: add Kconfig configuration
2022-04-26 09:26:03 +02:00
e2900acd6e
Merge pull request #17997 from aabadie/pr/tests/pkg_cmsis_nn_kconfig
...
pkg/cmsis-nn: model in Kconfig
2022-04-26 09:23:02 +02:00
0f79b42bfd
tests/pkg_corejson: add Kconfig configuration
2022-04-25 19:31:15 +02:00
9821e556ac
Merge pull request #17949 from fjmolinas/pr_native_can_improovements
...
native/periph_can: usability improvements and documentation updates
2022-04-25 17:52:16 +02:00
32f8ef58e4
tests/pkg_cmsis-nn: add Kconfig configuration
2022-04-25 13:00:41 +02:00
Francisco Molina
667454be63
tests/conn_can/README: use native can README
2022-04-25 12:48:10 +02:00
Francisco Molina
5653e00a91
tests/candev/README: cleanup README
2022-04-25 12:48:10 +02:00
Francisco Molina
dfac66bc68
tests/candev/README.native.can.md: add README for native can setup
2022-04-25 12:48:10 +02:00
Francisco Molina
da9a37a984
pkg/nimble/autoadv: prefix configurations with CONFIG_
2022-04-25 08:43:51 +02:00
684cabff71
tests/cpp_ctors: add Kconfig support
2022-04-24 21:23:34 +02:00
925cf7f969
tests/cpp11_*: add Kconfig support
2022-04-24 21:23:34 +02:00
benpicco
c831a998fe
Merge pull request #17950 from benpicco/nanocoap-fixes
...
nanocoap: follow-up fixes
2022-04-22 23:13:03 +02:00
Marian Buschsieweke
1fd4d41d76
driver/netdev_ieee802154: Make timestamp optional
...
Also remove duplicate struct member.
2022-04-22 14:33:56 +02:00
Benjamin Valentin
5deea31502
tests/nanocoap_cli: add optional DNS support
2022-04-22 11:35:52 +02:00
Marian Buschsieweke
28791c42a4
tests/bench_periph_gpio_ll: add benchmark for periph/gpio_ll
2022-04-22 08:39:05 +02:00
Marian Buschsieweke
22a17731ea
tests: Add tests for periph/gpio_ll
...
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2022-04-22 08:39:04 +02:00
Francisco
7307923703
Merge pull request #17960 from benpicco/sock_urlpath
...
nanocoap_sock: add nanocoap_sock_url_connect()
2022-04-22 08:26:12 +02:00
Francisco Molina
17c6717093
makefiles/boot/riotboot: refactor file storage and naming
...
- rename riotboot files so that they are of the form: slot<n>.<version>.bin
- move all generated files under $(BINDIR)/riotboot_files (this can be
overwritten.
2022-04-21 11:39:25 +02:00
Daniel Lockau
94412b16b4
tests/candev: cleanup
2022-04-20 11:55:29 +02:00
646fb1135a
Merge pull request #17925 from aabadie/pr/drivers/lcd_params_rework
...
drivers/lcd: slightly rework params to expose offset values to ili9341 driver
2022-04-19 16:21:42 +02:00
63b25483c9
Merge pull request #17921 from aabadie/pr/drivers/disp_dev_coordinates
...
drivers/disp_dev: use struct to store display area coordinates
2022-04-19 12:48:12 +02:00
Benjamin Valentin
c747d99556
unitttests/sock_util: add sock_urlpath() to tests
2022-04-18 01:42:57 +02:00
12758b94fc
Merge pull request #17954 from aabadie/pr/boards/stm32f750n8-dk
...
boards/stm32f750n8-dk: add support
2022-04-15 15:05:55 +02:00
benpicco
c610b1fa2f
Merge pull request #17939 from fjmolinas/pr_suit_manifest_ram_seq_no
...
sys/suit: save seq_number when parsing manifest
2022-04-15 14:22:57 +02:00
843df70e3d
test/pkg_qr-code-generator: add stm32f7508-dk to boards with display
2022-04-15 12:51:58 +02:00
d5e184b326
examples: tests: update Makefile.ci with stm32f7508-dk
...
This commit also makes some cleanup in the files since add_insufficient_memory_board.sh was used for the update
2022-04-15 12:51:58 +02:00
Francisco Molina
ebf0992975
tests/suit_manifest: fix seq_no of manifest4
2022-04-15 08:20:20 +02:00
benpicco
32790eb8f2
Merge pull request #17509 from benpicco/nanocoap-rework
...
sys/net/nanocoap: refactor to remove work-buffer requirement
2022-04-14 01:17:30 +02:00
benpicco
a39a4a3077
Merge pull request #17934 from Enoch247/fix-typos
...
Fix typos
2022-04-13 23:58:46 +02:00
Benjamin Valentin
d1fe77e6de
suit/transport/coap: adapt to new API
2022-04-13 19:33:00 +02:00
Joshua DeWeese
b83abf9ace
tests/pipe: remove duplicated include
...
The header, pipe.h, is doubly included. This patch removes the second
inclusion.
2022-04-13 11:56:42 -04:00
2c5bfd6de3
Merge pull request #17929 from aabadie/pr/tests/qr-code-generator-enable-adafruit-pybadge
...
tests/pkg_qr-code-generator: enable screen for adafruit-pybadge board
2022-04-13 17:50:20 +02:00
Joshua DeWeese
5b3b866960
tests/unittests/tests-kernel_defines: fix typo
...
The variable named (emphasis added) maYor is used to store the major
version number, I assume major is what was intended. This patch corrects
the typo.
2022-04-13 11:45:56 -04:00
748650d540
tests/pkg_qr-code-generator: enable screen for adafruit-pybadge board
2022-04-13 14:04:04 +02:00
Karl Fessel
2bf48df049
test/pbkdf2: enlarge stdio rx buffer
2022-04-13 13:29:19 +02:00
81cf5dba53
drivers/lcd: apply offset parameters to ili9341
2022-04-13 12:55:16 +02:00
a16449f301
tests: adapt to new disp_dev area coordinates
2022-04-13 12:52:03 +02:00
2bd608accf
Merge pull request #17917 from aabadie/pr/tests/common-riot-logo
...
tests: move riot_logo.h to tests base directory
2022-04-13 12:28:03 +02:00
Peter Kietzmann
5a8654ecab
Merge pull request #17096 from Ollrogge/fido2_follow_up
...
Fido2 follow up
2022-04-13 12:14:43 +02:00
d5beea3551
tests/disp_dev: use width/height defines from riot_logo.h
2022-04-13 08:01:13 +02:00
b038e47b5e
tests/periph_ltdc: use width/height defines from riot_logo.h
2022-04-13 08:00:48 +02:00
1aa31bf7cf
tests: use common riot_logo.h
2022-04-13 08:00:48 +02:00
bf7dccf87e
tests/driver_ili9341: adapt to new common lcd driver
2022-04-12 12:39:01 +02:00
948a673a55
tests/disp_dev: adapt to new lcd API
2022-04-12 12:39:00 +02:00
Francisco Molina
f60c50634b
tests/disp_dev: modify to test all registered display
2022-04-12 12:39:00 +02:00
Francisco Molina
be5f450a43
tests/driver_st7735: add test application
2022-04-12 12:39:00 +02:00
Francisco Molina
c5cc2966ff
drivers/ili9341: use common lcd driver
2022-04-12 12:39:00 +02:00
Benjamin Valentin
77ac301572
tests/mtd_raw: don't print data on error
2022-04-11 14:29:56 +02:00
Ollrogge
f4ba7a21b4
tests/sys_fido2_ctap: add script to reset authenticator
2022-04-11 13:04:53 +02:00
benpicco
c89f6bf115
Merge pull request #15953 from miri64/congure/feat/congure_reno
...
congure_reno: initial import of TCP Reno congestion control
2022-04-09 12:45:39 +02:00
Martine Lenders
3c05f72a89
tests: Initial import of congure_reno
tests
2022-04-08 17:58:21 +02:00
9b826b6f8e
tests/pkg_tensorflow-lite: adapt and rename to tflite-micro
2022-04-08 17:18:55 +02:00
Martine Lenders
0f1674379a
congure_reno: initial import of TCP Reno congestion control
2022-04-08 14:37:47 +02:00
Oleg Hahm
755ea30da7
Merge pull request #17871 from HendrikVE/pr/sock_dns_mock
...
sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns
2022-04-08 14:20:17 +02:00
Oleg Hahm
f3ffe134b0
Merge pull request #17895 from benpicco/pm_blocker_array
...
sys/pm_layered: use array representation, get rid of implicit IDLE mode
2022-04-08 14:04:46 +02:00
chrysn
ddaea984ee
Merge pull request #17805 from chrysn-pull-requests/rust-test-on-beta
...
rust: test on stable
2022-04-07 20:03:26 +02:00
Oleg Hahm
a687552ac9
Merge pull request #17794 from fabian18/auto_init_using_xfa_simple
...
sys/auto_init: custom auto-initialization sequence (simple)
2022-04-07 12:32:01 +02:00
chrysn
31e3e1bbfc
tests/rust: Run minimal test on stable Rust
2022-04-07 09:58:25 +02:00
031ed1e813
Merge pull request #17434 from kaspar030/murdock_use_emulators
...
murdock: support emulated boards
2022-04-06 14:41:48 +02:00
Benjamin Valentin
7fb8f3b7c5
sys/pm_layered: rename val_u8 -> blockers
2022-04-06 12:29:25 +02:00
Hendrik van Essen
a9fb3388ca
sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns
2022-04-03 17:29:10 +02:00
c4bba0e65d
tests/*: CI blacklist microbit where it fails
2022-04-01 13:42:01 +02:00
Marian Buschsieweke
3977ff6304
Merge pull request #17891 from kaspar030/print_stack_usage_fmt
...
sys/test_utils/print_stack_usage: work with small stacks
2022-03-31 19:11:26 +02:00
chrysn
d6115e3505
Merge pull request #17881 from miri64/nanocoap/enh/opt_remove
...
nanocoap: introduce coap_opt_remove()
2022-03-31 14:50:48 +02:00
480ed479be
tests/pthread_flood: use fmt, allows print_stack_usage to work
2022-03-31 14:48:02 +02:00
chrysn
38d0ec52d0
tests: Set a MTD write size of 1 wherever an MTD is mocked
2022-03-31 13:56:30 +02:00
chrysn
52ea93ef03
drivers/mtd_mapper: Add write_size
2022-03-31 10:58:52 +02:00
Martine Lenders
68f5514ab1
tests: add test for nanocoap_opt_remove()
2022-03-31 09:47:58 +02:00
Fabian Hüßler
cd93e42deb
tests/external_module_dirs: add auto-init function
2022-03-30 15:07:03 +02:00
Juergen Fitschen
fca56ba0c3
Merge pull request #17882 from jue89/feature/pkg-littlefs2-kconfig
...
pkg/littlefs2: model Kconfig
2022-03-30 13:41:52 +02:00
Jue
9cc54f7d2f
pkg/littlefs2: model Kconfig
2022-03-30 12:03:30 +02:00
fd7c185653
Merge pull request #17706 from kaspar030/add_stack_usage_metrics
...
tests: add stack usage metrics
2022-03-29 23:09:45 +02:00
2a13f073fd
tests/pkg_fff: reduce MAXTHREADS
2022-03-29 21:49:35 +02:00
a224c8f56e
tests/pkg_spiffs: memory-blacklist waspmote-pro
2022-03-29 21:49:35 +02:00
5e910dbc30
tests/malloc_thread_safety: update Makefile.ci
2022-03-29 21:49:35 +02:00
b6667668f1
tests/minimal: disable test_utils_print_stack_usage
2022-03-29 21:49:35 +02:00
f3950c0986
tests/gnrc_netif_ieee802154: disable test_utils_print_stack_usage
2022-03-29 21:49:35 +02:00
ba86f51b26
sys/test_utils/print_stack_usage: add Kconfig support
2022-03-29 21:49:35 +02:00
47dd3b1889
tests: make test_utils_print_stack_usage a default module
2022-03-29 21:49:35 +02:00
benpicco
9ca3dd5d4b
Merge pull request #17656 from benpicco/vfs_default-test
...
vfs_default: add compile test and add default mount for more boards
2022-03-29 13:47:08 +02:00
benpicco
cdffc8f0ca
Merge pull request #17859 from benpicco/use_sock_tl_name2ep
...
treewide: use sock_tl_name2ep() class of functions where applicable
2022-03-29 12:31:51 +02:00
Francisco
4f3d7c9e1f
Merge pull request #17853 from fjmolinas/pr_z1_socat
...
makefiles: socat set tty mode 8N1
2022-03-29 10:29:47 +02:00
Francisco
52f12e0734
Merge pull request #17711 from benpicco/periph_init_buttons
...
drivers/periph_common: add periph_init_buttons to init on-board buttons
2022-03-29 10:29:39 +02:00
Benjamin Valentin
5b3c838043
tests/vfs_default: add compile test for vfs_default
2022-03-29 10:24:01 +02:00
Benjamin Valentin
8da2e1045e
tests/leds: add test where LEDs are mapped to buttons
2022-03-29 09:05:46 +02:00
benpicco
1133d04de1
Merge pull request #17813 from leandrolanzieri/pr/tests/eth_drivers_rework
...
tests: rework eth drivers
2022-03-28 18:15:27 +02:00
13a4393e0f
Merge pull request #17840 from fjmolinas/pr_tests_fixes
...
tests: multiple fixes
2022-03-28 10:09:45 +02:00
Francisco Molina
5397b4f783
tests/shell: remove z1 socat workaround
2022-03-28 08:53:27 +02:00
benpicco
7135c91763
Merge pull request #17866 from jue89/fix/mtd_mapper_backend
...
drivers/mtd_mapper: fix read_page and write_page backend
2022-03-26 16:10:32 +01:00
Jue
347152b128
tests/mtd_mapper: add tests for the read_page and write_page backend
2022-03-26 14:30:42 +01:00
Juergen Fitschen
77dfa47da8
Merge pull request #17865 from jue89/fix/fatfs_vfs_format_mutex
...
pkg/fatfs: fix missing mutex header
2022-03-25 22:08:55 +01:00
Jue
80305ade1f
tests/mtd_mapper: clear fake-memory for every test
2022-03-25 18:32:07 +01:00
Jue
2756287ad1
test/pkg_fatfs_vfs: format with static buffer
2022-03-25 17:23:37 +01:00
Francisco
a10b1572aa
Merge pull request #17627 from benpicco/mtd_flashpage_t
...
drivers/mtd_flashpage: add mtd_flashpage_t type
2022-03-25 16:24:04 +01:00
Benjamin Valentin
4f6ca0797b
tests: use sock_udp_name2ep() in interactive tests
2022-03-24 17:11:55 +01:00
Benjamin Valentin
976fab736f
tests/lwip: replace sock_tcp_str2ep() with sock_tcp_name2ep()
2022-03-24 17:06:18 +01:00
Martine Lenders
76935ddbf5
Merge pull request #17510 from benpicco/sock_tl_str2ep-dns
...
sys/net/sock_util: add sock_tl_name2ep() to optionally perform DNS lookups
2022-03-24 15:59:59 +01:00
Francisco
b91b984e38
Merge pull request #17733 from fjmolinas/pr_gettimeofday_64_bit
...
sys/syscalls: make gettimeofday() implementation optional
2022-03-24 15:22:27 +01:00
Francisco Molina
0819660303
sys/syscalls: add libc_gettimeofday
...
Conditionally implement gettimeofday() if module is included, this
avoids including ztimer64 even when not needed
2022-03-24 11:36:49 +01:00
Leandro Lanzieri
7cef002102
tests/driver_netdev_common: add virtual board to test ETH drivers
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
32d8c864e7
tests: add STM32 ethernet test
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
4593746b70
tests: add SAM0 ethernet test
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
5e41b51470
tests: add ESP ethernet test
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
348bc9af82
tests/driver_w5100: rewrite without GNRC
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
8ec32d5859
tests/driver_ethos: rewrite without GNRC
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
b3c202cc84
tests/driver_dose: rewrite without GNRC
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
99a974914a
tests/driver_encx24j600: rewrite without GNRC
2022-03-24 09:44:53 +01:00
Leandro Lanzieri
c6a48e77fb
tests/driver_enc28j60: rewrite without GNRC
2022-03-24 09:44:52 +01:00
Francisco Molina
da489697e4
tests/sys_atomic_utils: use ztimer_usec
2022-03-24 08:02:09 +01:00
Francisco Molina
9bda6b2938
tests/periph_flashpage_unittests: use unsgined int for address cast
...
For 16bit platforms casting to int will overflow when ROM size nears
2**16
2022-03-24 07:58:32 +01:00
Francisco Molina
7d10831254
tests/pbkdf2: increase stack for AVR
2022-03-24 07:57:53 +01:00
Francisco Molina
35e778901d
tests/pkg_micro-ecc: increase stacksize
2022-03-24 07:57:53 +01:00
Francisco Molina
a0d9694f00
tests/sys_sched_round_robin: increase round-robin work time
...
On slow CPUs the current 10ms time means printing might be interrupted.
2022-03-24 07:57:53 +01:00
Francisco Molina
6506a256fb
tests/ps_schedstatistics: fix test for AVR
2022-03-24 07:57:53 +01:00
Francisco Molina
c9ede817a8
tests/sys_sema_inv: wait longer fot thread to exit
2022-03-24 07:57:53 +01:00
Francisco Molina
c3ea39fbc7
tests/periph_timer_periodic: allow for 1% error
2022-03-23 09:28:56 +01:00
feda38ceb5
Merge pull request #17721 from fjmolinas/pr_xtimer_ztimer_default_backend
...
sys/xtimer: make xtimer_ztimer_compat default backend
2022-03-22 18:01:52 +01:00
benpicco
dd8b3fc593
Merge pull request #17353 from benpicco/tests/gnrc_rpl
...
tests/gnrc_rpl: add automated test for gnrc_rpl
2022-03-22 12:10:34 +01:00
Benjamin Valentin
4db814d94c
tests/netutils: add test for sock_tl_name2ep()
2022-03-22 11:03:12 +01:00
Francisco Molina
9403cd266d
tests/thread_float: uncrustify
2022-03-22 08:40:53 +01:00
Francisco Molina
0e4628cb11
tests/thread_float: use ztimer_usec
2022-03-22 08:31:58 +01:00
9311139ad2
boards: add support for nucleo-f439zi
2022-03-21 08:11:00 +01:00
1de688c352
boards/nucleo-f429zi: add support for ethernet
2022-03-18 16:07:57 +01:00
benpicco
1e66baf94b
Merge pull request #17699 from viktorbatista/shtc3
...
drivers/shtcx: converted the shtc1 driver into shtcx and added shtc3 support
2022-03-18 14:05:42 +01:00
Francisco Molina
2681b6c282
tests/*: update Makefile.ci
2022-03-18 08:23:00 +01:00
Leandro Lanzieri
202fb261fe
Merge pull request #17811 from fjmolinas/pr_xtimer_dep_rework_simple
...
sys/*timer: rework dependecies to ease backend switch, prefer ztimer_xtimer_compat over xtimer_on_ztimer
2022-03-18 08:17:24 +01:00
benpicco
82b0e08745
Merge pull request #10082 from gschorcht/drivers_l3gd20h
...
drivers: add driver for L3GD20H 3-axis gyroscope
2022-03-18 08:10:24 +01:00
Gunar Schorcht
1c666c5955
kconfig: add ST L3Gxxxx 3-axis gyro family
2022-03-18 06:34:54 +01:00
chrysn
facb5e633f
Merge pull request #17436 from Ollrogge/reserve_flash
...
cpu: add flash_writable section to linker script
2022-03-17 21:44:32 +01:00
Ollrogge
cdde810cb6
tests/periph_flashpage: Add _in_address_space feature tests
2022-03-17 19:46:00 +01:00
Gunar Schorcht
9d1a1c6dd4
tests: add ST L3Gxxxx 3-axis gyro family test app
2022-03-17 18:34:57 +01:00
Francisco Molina
46ae295028
tests/xtimer*: select xtimer_no_ztimer_default for tests requiring it
...
These tests need to be tested on xtimer, and if using ztimer_xtimer_compat
the full api will not be provided, therefore also blacklist BOARDs
that will en up selecting ztimer by default.
2022-03-17 14:37:40 +01:00
chrysn
c688fade36
{examples,tests}/rust: Rust updates
...
These updates enable tests on beta (stable for the 2022.04 release) on
all platforms, and open the way for [17804].
[17804]: https://github.com/RIOT-OS/RIOT/pull/17804
2022-03-14 16:34:43 +01:00
Vic
453f877f79
tests/shtcx: refactoring of code to work with the new shtcx module
2022-03-10 21:35:25 +01:00
Vic
999887a764
tests/shtc1->shtcx: renaming of files
2022-03-10 21:35:25 +01:00
b29a658555
Merge pull request #17719 from fjmolinas/pr_sys_posix_convert
...
sys/sema: add sema_ztimer64 to implement old api, deprecate sema
2022-03-10 15:36:06 +01:00
Francisco Molina
0fa1551500
sys/posix: convert to ztimer64_usec
2022-03-10 14:24:57 +01:00
Francisco Molina
f6e9609363
treewide: use sema_deprecated when required
2022-03-10 14:24:46 +01:00
Francisco Molina
2e2daae5d0
sys/sema: use sema_ztimer64 to implement old sema api
...
This PR removes the old xtimer based implementation for sema. Since
this implementation used 64bit timeout, backweard compatibility is
kept by having `sema_wait_timed` be implemented by `ztimer64_usec`
which is enabled by selecting `sema_deprecated`
With this 64bit `sema` api is now deprecated.
2022-03-10 14:19:44 +01:00
Francisco
9cbca219b2
Merge pull request #17783 from gschorcht/drivers/sht3x_ztimer_msec
...
drivers/sht3x: ztimer_msec port
2022-03-10 09:03:36 +01:00
benpicco
ddf8f67e54
Merge pull request #17779 from benpicco/LWIP_SO_RCVTIMEO
...
lwip: enable LWIP_SO_RCVTIMEO if sock layer is used
2022-03-10 08:34:29 +01:00
Gunar Schorcht
2a42dc97aa
tests/driver_sht3x: ztimer_msec port
2022-03-10 07:27:06 +01:00
benpicco
60fb36eb1e
Merge pull request #17710 from benpicco/sys/bitfield-ops
...
sys/bitfield: add support for bit-wise bitfield operations
2022-03-09 22:09:34 +01:00
Benjamin Valentin
eb45c729da
tests/lwip_sock_*: drop LWIP_SO_RCVTIMEO
...
This is now set automatically
2022-03-09 22:07:22 +01:00
a3fc5c1d17
Merge pull request #17697 from viktorbatista/drivers/lps22ch
...
driver/lpsxxx: adding lps22ch support
2022-03-09 21:28:11 +01:00
benpicco
840067cd9e
Merge pull request #16174 from miri64/core/enh/msg-queue-metrics
...
core: add functionality to check queue state of another thread
2022-03-09 17:10:38 +01:00
Vic
947efa7d65
driver/lpsxxx: adding lps22ch support
2022-03-09 15:23:51 +01:00
benpicco
f83fa88ccd
Merge pull request #17764 from HendrikVE/pr/netutils_netutils_get_ipv4
...
sys/net/netutils: add netutils_get_ipv4()
2022-03-09 11:30:38 +01:00
Leandro Lanzieri
34dc24822f
Merge pull request #17669 from MrKevinWeiss/pr/kconfig/netdrivers
...
drivers/*/Kconfig: Cleanup of simple drivers
2022-03-09 09:23:54 +01:00
chrysn
d3e1a1ac9c
Merge pull request #17761 from chrysn-pull-requests/riot-updates
...
{examples,tests}/rust: Rust updates (-sys/-wrappers version, stable)
2022-03-08 23:32:56 +01:00
Marian Buschsieweke
0eaaca42b2
Merge pull request #17477 from jenswet/feature/pkg-etl
...
pkg/etl: Add the embedded template library (etl)
2022-03-08 19:40:17 +01:00
Hendrik van Essen
ffd93c9b1b
sys/net/netutils: add netutils_get_ipv4()
2022-03-08 13:35:32 +01:00
chrysn
fce36e2ad2
{examples,tests}/rust: Ready for building on stable Rust
...
Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526
2022-03-08 12:44:49 +01:00
chrysn
48a4075dfc
{examples,tests}/rust: Follow riot-wrappers deprecations
2022-03-08 12:44:49 +01:00
chrysn
ddc2bf8853
{examples,tests}/rust: cargo update
2022-03-08 12:44:44 +01:00
Benjamin Valentin
acbeb527ff
tests/unittests: add test for bitfield operations
2022-03-08 10:28:31 +01:00
benpicco
8281dc21bc
Merge pull request #17752 from benpicco/ipv6_addr_init
...
sys/net/ipv6: add ipv6_addr_init() helper function
2022-03-07 15:13:19 +01:00
Jens Wetterich
01f502b753
pkg/etl: Add the embedded template library (etl)
2022-03-06 16:22:53 +01:00
benpicco
f31fdfd12d
Merge pull request #17747 from leandrolanzieri/drivers/encx24j600/default_params
...
drivers/encx24j600: define default parameters
2022-03-05 10:29:48 +01:00
Marian Buschsieweke
28e7dbcb9e
Merge pull request #17750 from fjmolinas/pr_df_player_event_thread_lowest
...
tests/driver_dfplayer: use event_thread instead of event_thread_lowest
2022-03-04 18:28:07 +01:00
Leandro Lanzieri
9f93296081
Merge pull request #17749 from fjmolinas/pr_cpu_avr8_xmega_driver_board
...
tests/cpu_avr8_xmega_driver: fix BOARD name
2022-03-04 18:27:04 +01:00
benpicco
761bac3e0d
Merge pull request #17748 from fjmolinas/pr_gnrc_dhcpv6_client_stateless_netdev_default
...
tests/gnrc_dhcpv6_client_stateless: use netdev_default
2022-03-04 18:26:20 +01:00
Francisco Molina
bb0a406af5
tests/*: add BOARDs to Makefile.ci
...
These BOARDs overlflowed in ROM after arm-none-eabi-gcc version
in riot/riotbuild changed to 10.3.2
2022-03-04 17:15:11 +01:00
Benjamin Valentin
91ad8ec403
sys/net/ipv6: add ipv6_addr_init() helper function
...
Setting a compile-time const IP address can be a bit cumbersome.
Add a helper function to easy the process.
2022-03-04 15:34:15 +01:00
MrKevinWeiss
8064bc7493
drivers/vcnl40x0: Update kconfig model
2022-03-04 14:16:00 +01:00
MrKevinWeiss
f185d7acab
drivers/si114x: Update kconfig model
2022-03-04 14:15:55 +01:00
MrKevinWeiss
b443ca5794
drivers/pn532: Update kconfig model
2022-03-04 14:15:50 +01:00
MrKevinWeiss
551d25a296
drivers/mhz19: Update kconfig model
2022-03-04 14:15:46 +01:00
MrKevinWeiss
d2f3e6c0de
drivers/ina2xx: Update kconfig model
2022-03-04 14:15:42 +01:00
MrKevinWeiss
8979586e7d
drivers/dac_dds: Update kconfig model
2022-03-04 14:15:35 +01:00
MrKevinWeiss
ce4b0f03c0
drivers/cst816s: Update kconfig model
2022-03-04 14:15:34 +01:00
Francisco Molina
7f6269cee0
tests/cpu_avr8_xmega_driver: fix BOARD name
2022-03-04 10:36:45 +01:00
Francisco Molina
2f1f77f626
tests/driver_dfplayer: use event_thread instead of event_thread_lowest
2022-03-04 10:36:20 +01:00
Francisco Molina
1d1f764645
tests/gnrc_dhcpv6_client_stateless: use netdev_default
2022-03-04 10:35:27 +01:00
Leandro Lanzieri
de79edb352
drivers/encx24j600: define default parameters
2022-03-04 09:58:50 +01:00
Martine Lenders
f9efe364b4
tests: add tests for msg_queue_capacity()
2022-03-03 16:50:34 +01:00
Francisco Molina
8516e258a3
tests/lwip*: use ztimer instead of xtimer
2022-03-03 15:54:22 +01:00
benpicco
21205bd6ce
Merge pull request #17351 from benpicco/ztimer_periodic-return
...
ztimer_periodic: make callback function return bool
2022-03-03 14:42:33 +01:00
MrKevinWeiss
af45f94a2f
drivers/adcxx1c: Update kconfig model
2022-03-02 14:03:28 +01:00
ae0f617b28
Merge pull request #17728 from fjmolinas/pr_remove_tests_timex_calls
...
tests/*xtimer*: remove uneeded timex calls
2022-03-02 09:25:11 +01:00
Francisco Molina
3b4fd9cb43
tests/xtimer_drift: remove uneeded timex call
2022-03-02 08:19:31 +01:00
Francisco Molina
4326825931
tests/bench_xtimer_load: remove uneeded timex call
2022-03-02 08:19:22 +01:00
a17ff53ecf
Merge pull request #17485 from benpicco/sock_udp_sendv
...
sys/net/sock: add sock_udp_sendv() API
2022-03-01 14:05:21 +01:00
e9227153c0
unittests: add ztimer64 clear-on-remove regression test
2022-03-01 11:03:18 +01:00
3a9e64806c
Merge pull request #17718 from fjmolinas/pr_sys_crypto_unitialized_key
...
tests/sys_crypto: fix potentially unitialized error
2022-03-01 10:34:40 +01:00
Francisco
945dd082b0
Merge pull request #17715 from kfessel/p-add-building-default
...
tests: add default BOARDS
2022-03-01 10:23:58 +01:00
Francisco Molina
df3c0a6b72
tests/sys_crypto: fix potentially unitialized error
2022-03-01 09:55:25 +01:00
Karl Fessel
406e231225
tests: add building BOARD defaults
2022-02-28 21:59:57 +01:00
Karl Fessel
16729529ee
tests: add default BOARDS
2022-02-28 15:08:35 +01:00
Karl Fessel
e440929f8d
tests: add missing includes
2022-02-28 14:53:08 +01:00
Francisco Molina
6bb9656344
tests/lvgl*: add more stack for native
2022-02-28 10:23:06 +01:00
Francisco
3aeba84820
Merge pull request #17681 from aabadie/pr/pkg/lvgl-v8
...
pkg/lvgl: bump to 8.2.0
2022-02-28 09:41:37 +01:00
benpicco
bbfa69153e
Merge pull request #17474 from benpicco/nanocoap-suit
...
sys/net/nanocoap: introduce `nanocoap_sock_*()`, use in suit/transport/coap
2022-02-27 02:07:50 +01:00
benpicco
6cfbec4f8e
Merge pull request #10518 from gschorcht/drivers_mcp47xx
...
drivers: support for Microchip MCP47xx DAC devices added
2022-02-26 22:13:41 +01:00
benpicco
d5f570c28b
Merge pull request #17703 from benpicco/pkg/nanors
...
pkg/nanors: add reed solomon codec implementation
2022-02-26 19:35:44 +01:00
Benjamin Valentin
8c1ba69f33
tests/pkg_nanors: add test for nanors
2022-02-26 11:09:14 +01:00
Benjamin Valentin
7f31b86a51
tests/gnrc_rpl: add automated test for gnrc_rpl
2022-02-25 20:32:15 +01:00
f35c348722
tests/pkg_lvgl: adapt to new lvgl version
2022-02-25 14:24:28 +01:00
0a33a08f21
pkg/lvgl: bump to v8.2.0
...
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
2022-02-25 14:24:28 +01:00
chrysn
433d7ba2a5
{examples,tests}/rust: cargo update
...
This restores compatibility with current nightlies by using the latest
coap-message version (after a nightly-only feature that uses saw a late
change), and also removes obstacles for use with stable Rust 1.59 (in
unrelated parts; the CoAP example is still nightly-only).
Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526
2022-02-25 12:57:55 +01:00
Benjamin Valentin
e56d744069
tests: make use of nanocoap_request_simple()
2022-02-24 12:20:05 +01:00
Benjamin Valentin
2106ce4212
tests/nanocoap_cli: add url command
2022-02-24 12:20:05 +01:00
Francisco Molina
46fe917388
tests/xtimer_drift: add missing dependency
2022-02-24 09:10:58 +01:00
c6151226ad
Merge pull request #17633 from fjmolinas/pr_ztimer_auto_adjust
...
sys/ztimer: add auto_adjust module
2022-02-23 10:01:05 +01:00
Benjamin Valentin
784009cb6c
tests/lwip_sock_udp: add test for sock_udp_sendv()
2022-02-22 10:05:41 +01:00
Benjamin Valentin
489434b951
test/gnrc_udp: add test for sock_udp_sendv()
2022-02-22 10:05:41 +01:00
Fabian Hüßler
2775c72018
tests/driver_vbat: add test for backup battery monitoring
2022-02-21 10:49:43 +01:00
Francisco
dd150fe47e
Merge pull request #17584 from benpicco/auto_init_leds
...
sys/auto_init: add auto_init_leds, drop LED init code from boards
2022-02-18 19:40:50 +01:00
Benjamin Valentin
468ea89953
boards: drop LED init
...
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Francisco Molina
a8006a74f8
tests/ztimer_overhead: add ztimer_sleep overhead
2022-02-18 13:07:49 +01:00
chrysn
40f7c66625
Merge pull request #17660 from chrysn-pull-requests/vfs-drop-per-fs-fstatvfs
...
vfs: Introduce reliable disk enumeration
2022-02-17 18:47:41 +01:00
Francisco
e58af6a876
Merge pull request #17619 from benpicco/drivers/mtd_sdcard-unaligned
...
drivers/mtd_sdcard: support unaligned reads & writes
2022-02-17 10:09:06 +01:00
chrysn
f0e80ee10c
tests: Cover vfs_iterate_mount_dirs in a new test
...
... adding precision to the documentation where a corner case was
discovered during testing and is permitted.
The test is too large for one small board, just like the other existing
VFS test.
2022-02-16 19:15:02 +01:00
benpicco
22a3fc7e8d
Merge pull request #14430 from benpicco/pkg/fatfs_format
...
pkg/fatfs: fatfs_vfs: wire up format()
2022-02-16 17:22:19 +01:00
Benjamin Valentin
0b4d5d7f91
tests/mtd_raw: enable SD card erase
2022-02-16 16:54:13 +01:00
benpicco
130eb427af
Merge pull request #17649 from ML-PA-Consulting-GmbH/fix/20220214__tests_slip
...
tests/slip: homogenize CFLAGS in Makefile with slipdev driver
2022-02-16 16:07:12 +01:00
Benjamin Valentin
9f4fa5ac99
tests/pkg_fatfs_vfs: format storage before running the test
2022-02-16 14:30:08 +01:00
Karl Fessel
726c461cb5
Merge pull request #17574 from kfessel/p-fix-asserth
...
core/assert: avoid including panic.h with assert.h
2022-02-15 11:57:55 +01:00
chrysn
1c3a646936
Merge pull request #17653 from benpicco/cpu/native-fatfs_defaults
...
boards/native: select MTD defaults for FAT
2022-02-15 09:03:21 +01:00
Daniel Lockau
3793bd2a73
tests/slip: remove redundant slipdev_params.h
2022-02-14 20:03:18 +01:00
Benjamin Valentin
315342ea10
tests/pkg_fatfs*: don't overwrite native MTD defaults
2022-02-14 15:11:52 +01:00
Francisco Molina
08dc06d5e0
sys/Makefile.dep: fix dhcp_relay dependency
...
Modules select by auto-init modules MUST NOT have dependencies
themselfs, dhcp_relay was not respecting that. Instead of having
the auto-init module select dhcp_relay, do it the other way
around.
2022-02-14 12:59:31 +01:00
Daniel Lockau
d73ce591b2
tests/slip: homogenize CFLAGS with slipdev driver
2022-02-14 12:36:39 +01:00
806e7dee9a
tests/periph_flashpage: fix conditional compilation
2022-02-12 22:41:12 +01:00
Karl Fessel
76e0d53068
test/sys_architecture: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
a0ecb4ec81
test/nanocoap_cli: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Francisco Molina
a0ec1e0789
tests/senml: do no include saul_default
2022-02-11 17:04:27 +01:00
Silke Hofstra
9d61bdbb06
sys/senml: add SenML modules
...
Add a basic SenML module and submodules with support for:
- Encoding SenML values as CBOR using NanoCBOR.
- Converting from Phydat to SenML.
- Reading and encoding SAUL sensors.
2022-02-11 12:38:21 +01:00
benpicco
c423148bbc
Merge pull request #17608 from benpicco/drivers/ethos-standalone
...
drivers/ethos: fix build without ethos_stdio
2022-02-10 13:07:11 +01:00
Kevin "Tristate Tom" Weiss
d97eed54a1
Merge pull request #17525 from fjmolinas/pr_esp_compile_test_boards
...
[POC] tests/external-boards: add esp compile test boards
2022-02-10 08:31:12 +01:00
benpicco
be45400631
Merge pull request #17341 from benpicco/vfs-mtd_cleanup
...
sys/vfs: add file-system auto-mount
2022-02-09 21:50:34 +01:00
Marian Buschsieweke
899635425b
Merge pull request #17625 from fjmolinas/pr_event_callback_init
...
sys/event/callback: in init set list_node.next to NULL
2022-02-09 21:01:43 +01:00
Francisco Molina
a5aa9486dd
tests/periph_i2c: include esp ci compile test boards
2022-02-09 16:50:04 +01:00
Francisco Molina
4e72d1733a
tests/external_board_dirs: add esp ci boards
...
This adds esp board clones for compile testing
2022-02-09 16:50:04 +01:00
67bec026bb
tests/xtimer_remove: springle some xtimer_is_set() calls
2022-02-09 12:54:47 +01:00
Benjamin Valentin
ae06265de0
pkg/fatfs: VFS: internally handle fatfs_mtd_devs
...
This makes FAT behave more like the other file systems supported by VFS.
The `fatfs_mtd_devs` array is populated internally so the application does
not have to handle this.
2022-02-09 12:21:53 +01:00
Benjamin Valentin
fe4efcacfb
tests/mtd_flashpage: make use of mtd_flashpage_t
2022-02-08 17:14:56 +01:00
Francisco Molina
ae1fd5260c
tests/events: use event_callback_init() once
2022-02-08 16:07:15 +01:00
benpicco
7dca88b038
Merge pull request #17623 from benpicco/pkg/littlefs-readdir
...
pkg/littlefs*: align readdir() with documentation
2022-02-08 12:34:26 +01:00
Benjamin Valentin
79d342a576
tests/pkg_littlefs*: align test with documentation
2022-02-08 10:10:17 +01:00
Francisco
bd5ab86834
Merge pull request #17606 from PeterKietzmann/pr_test_mbedtls_opt
...
tests/pkg_mbedtls: improve entropy test case and doc
2022-02-08 08:48:38 +01:00
Francisco
0d14b086d3
Merge pull request #17211 from NikLeberg/feature/external_pkg_dirs
...
buildsystem: add EXTERNAL_PKG_DIRS functionality
2022-02-07 14:46:08 +01:00
Benjamin Valentin
f70ff62485
tests/driver_ethos: add ethos compile test
2022-02-06 18:23:22 +01:00
benpicco
4aa90d3dc6
Merge pull request #16919 from maribu/core/rmutex
...
core/rmutex: use atomic utils
2022-02-04 11:56:05 +01:00
Francisco
dbae3ed706
Merge pull request #16860 from haukepetersen/add_nimble_netifextadv
...
nimble/netif: add support for BT5 PHY modes
2022-02-04 11:16:11 +01:00
Francisco
14f22c17aa
Merge pull request #12012 from HendrikVE/nimble_shell_module
...
sys/stdio_nimble: add new stdio module using nimble
2022-02-04 11:10:17 +01:00
PeterKietzmann
4a4b5e127a
Revert "tests/pkg_mbedtls-blacklist: blacklist samr21-xpro"
...
This reverts commit 3c6241b8f4
.
2022-02-02 17:44:42 +01:00
PeterKietzmann
02cbea0e67
tests/pkg_mbedtls: improve entropy test case and doc
2022-02-02 17:44:36 +01:00
Benjamin Valentin
9ef662a575
tests/driver_lc709203f: fix documentation
...
The documentation is incorrect, see [0]
[0] https://forum.riot-os.org/t/lc709203f-test-code-giving-hardfault/3509
2022-02-02 13:56:08 +01:00
Leandro Lanzieri
96dcc35f33
Merge pull request #17467 from MrKevinWeiss/pr/fix/kconfigblocklist
...
board/*/kconfig: Fix boards on kconfig blocklist
2022-02-02 08:58:31 +01:00
NikLeberg
127f039f19
buildsystem: Kconfig test for EXTERNAL_PKG_DIRS feature
2022-02-01 18:12:07 +00:00
NikLeberg
a411841322
buildsystem: implement EXTERNAL_PKG_DIRS feature
2022-02-01 18:06:54 +00:00
NikLeberg
242d9ed30d
buildsystem: test for EXTERNAL_PKG_DIRS feature
2022-02-01 18:06:54 +00:00
Leandro Lanzieri
9b95605f78
Merge pull request #17596 from fjmolinas/pr_external_module_deps_kconfig
...
makefiles.kconfig.mk: use EXTERNAL_MODULE_DIRS in Kconfig resolution
2022-02-01 14:10:15 +01:00
MrKevinWeiss
719e00fa42
drivers/mpu9x50: Model saul_default in kconfig
2022-02-01 13:58:06 +01:00
Leandro Lanzieri
1e300a4959
Merge pull request #17435 from Ollrogge/fido2_kconfig
...
sys/fido2: model Kconfig
2022-02-01 12:03:11 +01:00
Francisco Molina
de325cdfe8
tests/kconfig: also add external module dependencies
2022-02-01 11:59:34 +01:00
Ollrogge
1dde2cd3bc
sys/fido2: remove unnecessary module import from Makefile.dep
2022-01-31 16:49:38 +01:00
Ollrogge
4b24012cbc
sys/fido2: model Kconfig
2022-01-31 16:49:19 +01:00
Francisco
ba325e8a35
Merge pull request #17354 from bergzand/pr/gnrc_netif/ztimer
...
gnrc/netif: convert to ztimer
2022-01-31 09:42:28 +01:00
Francisco
5bde360689
Merge pull request #17588 from benpicco/tests/pkg_mbedtls-blacklist
...
tests/pkg_mbedtls-blacklist: blacklist samr21-xpro
2022-01-31 09:27:15 +01:00
benpicco
4aa173d37e
Merge pull request #17590 from benpicco/tests/pkg_edhoc_c-blacklist_esp32
...
tests/pkg_edhoc_c: blacklist esp32-wroom-32
2022-01-28 22:02:15 +01:00
benpicco
5a57dec71a
Merge pull request #17093 from maribu/core/change_prio
...
core/sched: add sched_change_priority()
2022-01-28 20:01:20 +01:00
Hendrik van Essen
7ab13448ef
tests/shell_ble: add variant of shell test for stdio_nimble
2022-01-28 19:26:38 +01:00
Benjamin Valentin
c5df19bfa4
tests/pkg_edhoc_c: blacklist esp32-wroom-32
...
This test fails rather regularly on CI, so disable it.
socat - open:/dev/ttyUSB0,b115200,echo=0,raw
Traceback (most recent call last):
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/tests/pkg_edhoc_c/tests/01-run.py", line 101, in <module>
sys.exit(run(testfunc))
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/__init__.py", line 28, in run
logfile=sys.stdout if echo else None)
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/spawn.py", line 88, in setup_child
sync_child(child, env)
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/spawn.py", line 123, in sync_child
TEST_INTERACTIVE_DELAY)
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/utils.py", line 41, in test_utils_interactive_sync_shell
_test_utils_interactive_sync(child, retries, delay, '\n', '>')
File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/utils.py", line 17, in _test_utils_interactive_sync
ret = child.expect_exact([ready_exp, pexpect.TIMEOUT], timeout=delay)
File "/usr/local/lib/python3.5/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact
return exp.expect_loop(timeout)
File "/usr/local/lib/python3.5/dist-packages/pexpect/expect.py", line 179, in expect_loop
return self.eof(e)
File "/usr/local/lib/python3.5/dist-packages/pexpect/expect.py", line 122, in eof
raise exc
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
2022-01-28 18:12:40 +01:00
Benjamin Valentin
3c6241b8f4
tests/pkg_mbedtls-blacklist: blacklist samr21-xpro
...
The ENTROPY test always fails on this board
main(): This is RIOT! (Version: buildtest)
mbedtls test
SHA-224 test #1 : passed
SHA-224 test #2 : passed
SHA-224 test #3 : passed
SHA-256 test #1 : passed
SHA-256 test #2 : passed
SHA-256 test #3 : passed
ENTROPY test: failed
2022-01-28 17:48:02 +01:00
93ac9d91d1
tests/drivers_at86rf215: Exclude z1
2022-01-28 14:04:47 +01:00
fe0b297aec
tests/gnrc_netif_ipv6_wait_for_global_address: convert to ztimer
2022-01-28 13:38:56 +01:00
Marian Buschsieweke
755652b6cf
tests/sched_change_priority: add test app
2022-01-28 11:29:18 +01:00
Benjamin Valentin
ef07136c86
tests: adapt to nanocoap API change
2022-01-27 14:31:06 +01:00
Hauke Petersen
f57e813429
tests/nimble_rpble: fix NIMBLE_MAX_CONN
2022-01-27 10:30:30 +01:00
Hauke Petersen
41f3863b87
tests: add test for nimble_rpble_ext
2022-01-27 10:30:30 +01:00
Hauke Petersen
b95b63a7b9
tests: add test for nimble_statconn_ext
2022-01-27 10:30:30 +01:00
Hauke Petersen
9106e31fac
tests: add test for nimble_autoconn_ext
2022-01-27 10:30:30 +01:00
Hauke Petersen
f39950f185
tests: add test for nimble_netif_ext
2022-01-27 10:30:30 +01:00
Hauke Petersen
618898ce76
tests/nimble_ext_adv: cleanup PHY mode selection
2022-01-27 10:10:09 +01:00
chrysn
206bea0a1d
phydat: Add Tesla unit
...
While this is equivalent to the existing Gs (1 T = 10^-4 Gs), this is
the SI (and thus preferred) unit.
2022-01-25 13:46:08 +01:00
Leandro Lanzieri
fca7ed3943
Merge pull request #17567 from fjmolinas/pr_test_uart_non_blocking_to_ztimer
...
tests/periph_uart_nonblocking: migrate to ztimer
2022-01-25 11:43:01 +01:00
Francisco Molina
621d81756c
tests/driver_motor_driver: remove uneeded xtimer_init()
2022-01-25 08:58:24 +01:00
Francisco Molina
7782866efc
tests/periph_uart_nonblocking: migrate to ztimer
2022-01-25 08:42:53 +01:00
Francisco Molina
30dcfb8202
tests/thread_priority_inversion: remove unneeded xtimer_init()
2022-01-25 08:42:06 +01:00
Kevin "Tristate Tom" Weiss
c94033016e
Merge pull request #17458 from aabadie/pr/boards/stm32f429i-disc1_kconfig_deps_fix
...
{disp,touch}_dev: improve Kconfig at different levels
2022-01-24 12:00:44 +01:00
Francisco
b985a74894
Merge pull request #17367 from fjmolinas/pr_driver_ztimer_corner_cases
...
drivers: migrate xtimer64 and xtimer/ticks users to ztimer
2022-01-24 10:41:24 +01:00
c78589763e
tests/disp_dev: add Kconfig config
2022-01-22 15:14:26 +01:00
8e56da3658
drivers/stmpe811: don't use a choice to select the bus
2022-01-22 15:14:26 +01:00
3a80354d92
tests/touch_dev: add Kconfig config
2022-01-22 15:14:18 +01:00
6ef50cab12
tests/touch_dev: migrate to ztimer
2022-01-22 15:14:18 +01:00
benpicco
2520b5c608
Merge pull request #16870 from fabian18/cpu_stm32_add_periph_backup_ram
...
cpu/stm32: make backup SRAM available
2022-01-21 18:09:42 +01:00
Leandro Lanzieri
91012bc3f9
drivers/ft5x06: remove unnecessary pseudomodules
2022-01-21 14:13:49 +01:00
Fabian Hüßler
5fdf8d2d88
tests/periph_backup_ram: FEATURES_REQUIRED += periph_rtc
2022-01-20 14:13:10 +01:00
Benjamin Valentin
c4b32a426f
tests/unittests: add tests for chunked_ringbuffer
2022-01-19 11:43:35 +01:00
74239561b8
Merge pull request #17534 from fjmolinas/pr_edhoc_test_netif_multi
...
tests/pkg_edhoc: handle multiple interfaces
2022-01-19 08:42:20 +01:00
Francisco Molina
ec7926f6c4
tests/pkg_edhoc: handle multiple interfaces
2022-01-19 08:17:14 +01:00
Francisco
bc6624e67b
Merge pull request #17180 from benpicco/drivers/dose-watchdog
...
drivers/dose: introduce watchdog timer
2022-01-18 23:43:29 +01:00
Francisco Molina
c19a78765a
drivers/pir: migrate to ztimer64
2022-01-18 16:27:44 +01:00
Francisco Molina
d8126864ea
tests/driver_ltc4150: migrate to ztimer_usec
2022-01-18 16:27:44 +01:00
Francisco Molina
0398fb3f83
drivers/nvmram_spi: convert to ztimer_usec
2022-01-18 16:27:44 +01:00
Francisco Molina
24a848e844
drivers/nrf24l01p: migrate to ztimer
2022-01-18 16:27:44 +01:00
Benjamin Valentin
527d1bf559
tests/driver_dose: test dose_watchdog on select boards
2022-01-18 15:41:38 +01:00
728aefa541
Merge pull request #17528 from fjmolinas/pr_test_pkg_relic_stacksize
...
tests/pkg_relic: increase stacksize
2022-01-18 13:28:16 +01:00
Francisco Molina
1025341ff3
tests/pkg_relic: increase stacksize
2022-01-18 13:19:34 +01:00
benpicco
2542195cdf
Merge pull request #15671 from PeterKietzmann/pr_add_pkg_mbedtls
...
pkg/mbedtls: initial pkg import to use entropy module
2022-01-18 08:22:50 +01:00
PeterKietzmann
b05f93405e
pkg/mbedtls:initial port of the entropy module
2022-01-17 23:22:14 +01:00
Marian Buschsieweke
8549ff2f7d
Merge pull request #17479 from gschorcht/cxxexflags_cpp+14
...
makefiles: use C++14 standard by default for C++ compilations
2022-01-17 13:42:41 +01:00
Francisco
000e6fa99d
Merge pull request #17228 from miri64/gnrc_pktbuf_cmd/enh/add-od-dep
...
gnrc_pktbuf_cmd: add od dependency with gnrc_pktbuf_static
2022-01-17 12:10:49 +01:00
Francisco Molina
90da7dcdfe
tests/driver_si1133: remove uneeded xtimer dependency
2022-01-17 12:04:12 +01:00
benpicco
7cd9b6c1b0
Merge pull request #17514 from chrysn-pull-requests/riot-wrappers-0.7.15
...
rust: Update to riot-wrappers 0.7.15
2022-01-17 10:29:50 +01:00
chrysn
95b5052be4
Merge pull request #17502 from chrysn-pull-requests/queue-on-stack-never-quit
...
tests: Fix thread return with local message queue
2022-01-15 23:26:14 +01:00
benpicco
739c3d25e4
Merge pull request #17511 from benpicco/sock_has_ipv4
...
sys/net/sock: introduce SOCK_HAS_IPV4
2022-01-15 01:06:51 +01:00
Marian Buschsieweke
b6b7065ddc
core/rmutex: use atomic utils
...
Replace use of C11 atomics with atomic utils. This fixes
> error: address argument to atomic operation must be a pointer to a
> trivially-copyable type ('_Atomic(int) *' invalid)
error when compiling on AVR with LLVM.
2022-01-14 09:52:17 +01:00
chrysn
deffb350a7
rust: Update to riot-wrappers 0.7.15
2022-01-13 18:52:05 +01:00
Benjamin Valentin
67ef5faeed
sys/net/sock_util: make use of SOCK_HAS_IPV4
2022-01-13 18:40:12 +01:00
Gunar Schorcht
93d15ac2d3
tests/cpp11_*: remove -std=c++11
2022-01-13 17:50:59 +01:00
chrysn
952858ee92
doc/rust: Adjust to riot-sys internals' changes
2022-01-13 12:52:13 +01:00
chrysn
9c3d1039f0
doc: Elaborate on maintenance modes of Rust crates
...
Closes: https://github.com/RIOT-OS/RIOT/issues/17488
2022-01-13 12:52:13 +01:00
chrysn
87847b1de4
tests: Fix thread return with local message queue
...
When a message queue is configured from the stack, that main function
must never return -- otherwise, during sched_task_exit (which the
thread's function "returns" to), message senders might still send
messages into already freed stack space (which would be reused by
sched_task_exit).
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2022-01-11 21:51:09 +01:00