1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

7309 Commits

Author SHA1 Message Date
Gunar Schorcht
b562cbac06
Merge pull request #21498 from dpproto/21362-add-driver-max31865
drivers: add driver for MAX31865 resistance-to-digital converter
2025-06-27 12:01:26 +00:00
David Picard
49cb1a49f0 tests/drivers/max31865: test implementation 2025-06-27 09:28:25 +02:00
David Picard
c3a14457f3 drivers/max31865: implement the driver
Implement the driver for the MAX31865 RTD-to-digital converter.
2025-06-27 09:28:25 +02:00
Teufelchen
734c5707cc
Merge pull request #21552 from Teufelchen1/feat/crc16fcs
checksum: Add crc16-fcs / IBM-SDLC
2025-06-16 15:01:11 +00:00
Teufelchen1
65fc4b0f3f checksum: Add crc16-fcs / IBM-SDLC 2025-06-16 16:18:50 +02:00
crasbe
168799cc78
Merge pull request #21518 from camoz/lcdfill-fix
tests/drivers/{st77xx,ili9341}: fix coordinates in lcd_fill()
2025-06-10 21:33:09 +00:00
Merlin Büge
3636d0c16d tests/drivers/{st77xx,ili9341}: fix coordinates in lcd_fill()
The lcd_fill() argument x2 (y2) must be less than dev.params->lines
(dev.params->rgb_channels) to not draw to invalid LCD coordinates.
2025-06-10 09:39:45 +02:00
crasbe
a8ccd544e6 tests/unittests: Add unittest for CRC8-LSB 2025-06-07 11:43:25 +02:00
mguetschow
6fc81adc4e
Merge pull request #21514 from mguetschow/shell-commands-xfa
treewide: migrate to XFA SHELL_COMMAND
2025-06-02 09:44:12 +00:00
Mikolai Gütschow
6abf12fb41
tests/sys/struct_tm_utility: do not test shell help command 2025-06-02 09:40:50 +02:00
Mikolai Gütschow
e48b310b76
tests/sys: migrate to XFA SHELL_COMMAND 2025-06-02 09:40:50 +02:00
Mikolai Gütschow
a04fcb9d18
tests/sys/congure_*: migrate to XFA SHELL_COMMAND 2025-06-02 09:40:50 +02:00
mguetschow
91003021c6
Merge pull request #21455 from Lukas-Luger/pr/psa-aes-ccm
sys/psa_crypto: Adding aead aes ccm
2025-05-27 19:43:17 +00:00
Mikolai Gütschow
f02cfc9a02
tests/{build_system,cpu}: migrate to XFA SHELL_COMMAND 2025-05-27 21:08:43 +02:00
Lukas-Luger
0a9c351bfa tests/sys: add psa_crypto aes ccm test 2025-05-27 15:21:00 +02:00
mguetschow
0124fdce88
Merge pull request #21461 from Lukas-Luger/pr/psa-ecc-pub-key-derivation
sys/psa_crypto: Adding ecc p256r1 pub key derivation
2025-05-27 10:10:31 +00:00
Lukas-Luger
a932a4e86d tests/sys/psa_crypto_ecdsa: add pub key derivation 2025-05-27 08:42:30 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
Gunar Schorcht
1f0f3f6793
Merge pull request #21478 from gschorcht/tests/pkg/fatfs_cleanup_mtd_default
tests/pkg/fatfs*: cleanup MTD default dependencies
2025-05-20 20:42:47 +00:00
Gunar Schorcht
04aca0ff00 tests/pkg/fatfs_vfs: use default MTD if enabled by the board
To prevent `mtd_sdcard` from being used by default for boards that use a different default MTD, which can lead to module conflicts, `mtd_sdcard` is now only enabled if no other MTD is enabled by default with the corresponding `mtd_*_default` module.
2025-05-20 15:53:07 +02:00
Gunar Schorcht
5ee9328a43 tests/pkg/fatfs: use default MTD if enabled by the board
To prevent `mtd_sdcard` from being used by default for boards that use a different default MTD, which can lead to module conflicts, `mtd_sdcard` is now only enabled if no other MTD is enabled by default with the corresponding `mtd_*_default` module.
2025-05-20 15:35:33 +02:00
crasbe
876792e489
Merge pull request #10688 from gschorcht/drivers_mcp23x17
drivers: add MCP23x17 I/O expander support
2025-05-19 19:15:47 +00:00
Gunar Schorcht
a23a849aeb drivers/mcp23x17: SAUL integration 2025-05-19 16:42:14 +02:00
Gunar Schorcht
a5da14835d tests/drivers/mcp23x17: test app for MCP23x17 driver 2025-05-19 16:42:14 +02:00
Leandro Lanzieri
6247c107ba tests/drivers/mrf24j40: rename common.h
To avoid name clash, rename this application header file to
test_common.h.
2025-05-15 14:51:05 +02:00
Leandro Lanzieri
044b1f52e7 test/drivers/kw2xrf: rename common.h
To avoid name clash, rename this application header file to
test_common.h.
2025-05-15 14:51:04 +02:00
Leandro Lanzieri
f77b41458e tests/net/ieee802154_hal: rename common.h
To avoid name clash, rename this application header file to
test_common.h
2025-05-15 14:51:04 +02:00
Leandro Lanzieri
a29efa2fc2 tests/core/irq_cpp: remove irq.h override 2025-05-15 14:51:04 +02:00
Leandro Lanzieri
b6b92cde20 tests/pkg/lwip: rename local header 2025-05-15 14:51:04 +02:00
Gunar Schorcht
7c150d66ed tests/sys/arduino_blinky: add most common Arduino example as test app 2025-05-13 14:51:50 +02:00
David Picard
2c97a5330f tests/drivers/abp2: test implementation 2025-05-04 10:28:59 +02:00
Marian Buschsieweke
1b70a59ded
tree-wide: add the NONSTRING attribute where needed
This declares all char arrays that intentionally are lacking the
terminated zero byte as `NONSTRING`.
2025-04-27 22:49:22 +02:00
Marian Buschsieweke
85233b355b
tests/drivers/hm330x: use fmt_table
This replaces the vendored in `print_col_u32_dec()` with the one provided
by the `fmt_table` module.
2025-04-27 22:49:22 +02:00
Marian Buschsieweke
a862dc6794
Merge pull request #21428 from benpicco/sys/bcd_buf_from_str
sys/bcd: add `bcd_buf_to_u32()` and `bcd_buf_from_str()`
2025-04-26 14:02:28 +00:00
Benjamin Valentin
444fc84697 tests/unittests: add tests for bcd_buf_to_u32() and bcd_buf_from_str() 2025-04-25 18:48:18 +02:00
Marian Buschsieweke
42dacd7c9d
tests/sys/snprintf: Test format specifiers
This adds a simple test applications that runs snprintf on standard
format specifiers and compares the output with the expected output.

The assumption is that internally every stdio implementation uses the
same formatting code for each member of the printf functions family,
so testing snprintf only is sufficient.
2025-04-24 11:46:09 +02:00
Marian Buschsieweke
d9938cc634
Merge pull request #21402 from maribu/tests/unittests/clist-sort
tests/unittests/tests-core-clist: improve unit test
2025-04-23 19:53:11 +00:00
Marian Buschsieweke
60e31027b9
tests/unittests/core: reformat code
This should fix the column length warning of the static tests.
2025-04-23 20:39:42 +02:00
Marian Buschsieweke
0602bea5ae
tests/unittests/texts-core-clist: improve unit test
- Iterate of different lengths of unsorted data to also cover corner case
  one-item list
- Actually check that the list is sorted afterwards (and not just that
  the maximum got sorted in last)
- Actually check that the list was stable-sorted (as the API doc
  promises a stable sort)
- Increase the length of the input data for better test coverage
- Check that no elements get lost while sorting

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-23 20:39:29 +02:00
Marian Buschsieweke
61951b31a1
tests/net/gnrc_netif: do not access internal scheduler state
This replaces code that directly accessed internal scheduler state with
the correct API calls.
2025-04-17 18:47:39 +02:00
Marian Buschsieweke
c05d546bca
examples,tests: Update Makefile.ci
This updates the `Makefile.ci` entries for all MSP430 boards plus a few
low end Cortex-M boards.
2025-04-16 15:25:38 +02:00
Benjamin Valentin
f404519ce3 tests/shell: enable the test on native
Now that #19002 has been merged, the test is also working on `native`.
2025-04-14 18:56:44 +02:00
Marian Buschsieweke
6b2940959f
tests/bench/runtime_coreapis: reduce benchmark runs in the CI
On `native32` / `native64` in the CI, the benchmark results will be
unusable due to the background load of other build tasks anyway. There
is a risk that due to the high number of benchmark runs the test will
time out.

So to avoid the timeouts and because the results are unusable anyway,
the benchmark runs have been drastically reduced. This will still
allow the CI to confirm that the benchmarks do run successfully to
completion.
2025-04-14 13:36:53 +02:00
Marian Buschsieweke
68968c5ebb
tests/bench/runtime_coreapis: add clist_sort() benchmark
This adds a benchmark for clist_sort() and calls that on three different
list sizes.

Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Mikolai Gütschow <mikolai.guetschow@tu-dresden.de>
2025-04-14 13:36:52 +02:00
fabian18
db0f497c61
Merge pull request #21391 from fabian18/pr/fmt_time
sys/fmt: add {fmt,scn}_time_tm_iso8601
2025-04-10 19:28:17 +00:00
Fabian Hüßler
d79b27df30 tests/periph/rtc: use time fmt API 2025-04-10 17:06:09 +02:00
Fabian Hüßler
29b8af8a85 tests/unittests/tests-fmt: test ISO 8601 format functions 2025-04-10 16:42:24 +02:00
Joshua DeWeese
dcf71b510d
Merge pull request #21344 from Enoch247/fix-isrpipe
sys/isrpipe: unit tests, doc, and fix init
2025-04-09 23:56:03 +00:00
mguetschow
72409541be
Merge pull request #21383 from mguetschow/rust-bump
treewide: update riot-wrappers and riot-sys
2025-04-09 11:10:07 +00:00
Joshua DeWeese
a749e3493d sys/isrpipe: add unit tests
This patch adds unit tests for the isrpipe module.
2025-04-08 20:17:04 -04:00