1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

47524 Commits

Author SHA1 Message Date
krzysztof-cabaj
d3dc0c0e5a examples/nanocoap_server: remove unnecessary modules 2025-04-11 14:21:33 +02:00
krzysztof-cabaj
ddeeec163b exaples/nanocoap_server: fix typo in LWIP interface name 2025-04-11 13:59:13 +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
Fabian Hüßler
0f81f50e3a sys/fmt: add functins for ISO 8601 date and time 2025-04-10 16:42:24 +02:00
Marian Buschsieweke
edfa755cd3
Merge pull request #21377 from maribu/build-system/Werror=documentation
build-system: Drop -Wno-error=documentation
2025-04-10 11:48:35 +00:00
Marian Buschsieweke
8e31630fd5
build-system: Drop -Wno-error=documentation
Treat documentation issues flagged by LLVM as hard errors.

LLVM tends to be a lot less picky about documentation issues compared
to Doxygen (e.g. no warning about missing doc), but warns about things
that really are not intentional (e.g. `@param foo` when the argument has
been renamed to `bar`, `@return` when the return type is `void`, ...).

Having this as a base line requirement seems pretty sane.
2025-04-10 13:37:14 +02:00
Marian Buschsieweke
f46ab1cb67
pkg: Use -isystem instead of -I for pkg headers
We cannot fix package headers downstream, so we can just as well tell
the compiler to not warn about them.
2025-04-10 13:37:14 +02:00
Marian Buschsieweke
39e7be0496
pkg/wamr: support -isystem for includes
pkg/wamr has special handling for passing along includes, but assumed
that all includes would be passed via `-I` and not `-isystem`. This
now extends the special handling to support both.
2025-04-10 13:37:13 +02:00
Marian Buschsieweke
4ce7ab2133
tree-wide: fix documentation issues
This should fix compilation with -Wdocumentation on LLVM.
2025-04-10 13:37:13 +02:00
mguetschow
e372d802a6
Merge pull request #21393 from maribu/sys/psa_crypto/drop-bogus-doc
sys/psa_crypto: drop no-op Doxygen statements
2025-04-10 08:15:44 +00: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
69a90045b6
Merge pull request #21376 from Enoch247/add-doc-ztimer-adjust-hint
sys/ztimer: add hint for setting static sleep adjustment
2025-04-09 21:50:38 +00:00
Joshua DeWeese
0d95b78436 sys/ztimer: add hint for setting static sleep adjustment
This patch adds a hint to users for how to set
CONFIG_ZTIMER_USEC_ADJUST_SLEEP. The doc for
CONFIG_ZTIMER_USEC_ADJUST_SET already contained a similar hint.
2025-04-09 16:16:10 -04:00
Marian Buschsieweke
51ed6f7093
sys/psa_crypto: drop no-op Doxygen statements
This drops a lot of "no-op" Doxygen statements, such as
`@param foo <description>` where `<description>` is the empty string.

This now also provides no documentation, but a lot more compact.
2025-04-09 20:50:17 +02:00
Marian Buschsieweke
33988b12ac
Merge pull request #21388 from maribu/cpu/native/can
sys/can: fix compilation issues under native
2025-04-09 11:21:06 +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
Marian Buschsieweke
9a633436ab
cpu/native: configure FD-CAN loop delay
The native CAN implementation relies on the underlying OS to implement
CAN, so we can leave handling the nitty-gritty details such as the loop
delay to the underlying implementation.
2025-04-09 13:10:06 +02:00
Marian Buschsieweke
5a3ea35767
sys/Makefile.dep: clean up
Drop dead statement
2025-04-09 13:10:06 +02:00
Marian Buschsieweke
747d5fb00d
sys/can: depend on libsocketcan for (native%)
Since `can.h` is including `libsocketcan.h` on `native%`, we need to
depend on that package.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-09 13:10:06 +02:00
Marian Buschsieweke
66ea4f7828
pkg/libsocketcan: fix compilation with posix_headers used
This simply strips the include path to the posix compat headers from
the includes, but at the level of the local `Makefile` (so without
side effects on other modules/packages). Since libsocketcan is only
ever used on native, this should be fine.
2025-04-09 13:10:05 +02:00
Joshua DeWeese
5b7c5b232c sys/tsrb: emphasize buffer size requirement
This patch makes the requirement on buffer size more prominent.
Additionally, it adds the missing argument to the doxygen block of the
static initializer.
2025-04-08 20:55:38 -04:00
Joshua DeWeese
2c8e80d474 sys/isrpipe: clarify state after timeout
This patch documents what happens when a timeout occurs when
isrpipe_read_all_timeout() has been called.
2025-04-08 20:55:38 -04:00
Joshua DeWeese
0f7c6a8481 sys/isrpipe: emphasize buffer size requirement
This patch makes the requirement on buffer size more prominent.
Additionally, it adds the missing argument to the doxygen block of the
static initializer. Finally, it chanes the argument name passed to the
static intializer to decouble the API from the implmentation details.
2025-04-08 20:55:38 -04:00
Joshua DeWeese
4d39d6e2f3 sys/isrpipe: fix init of mutex
The mutex used to sync the reader and writer of the pipe is initialized
as unlocked. This results in a bit of wasted CPU cycles the first time a
read blocks. This patch inits the mutex in a locked state so that the
first blocking read blocks immediately.
2025-04-08 20:17:04 -04: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
Marian Buschsieweke
e5d2321fc2
Merge pull request #21392 from crasbe/pr/sen5x_fixup
driver/sen5x: Small Fixups
2025-04-08 18:20:16 +00:00
crasbe
832edbf11c drivers/sen5x: change header guard to #pragma once 2025-04-08 18:37:14 +02:00
crasbe
14fc6c04cf tests/sen5x: remove KConfig file 2025-04-08 18:36:54 +02:00
mguetschow
d5672d02ea
Merge pull request #21385 from mguetschow/deprecated-gcoap
sys/net/gcoap: remove deprecated gcoap_req_send_tl()
2025-04-08 14:58:34 +00:00
mguetschow
2fd13d32de
Merge pull request #21387 from mguetschow/deprecated-vfs-iterate
sys/vfs: remove deprecated `vfs_iterate_mounts()`
2025-04-08 14:58:26 +00:00
mguetschow
3b470956aa
Merge pull request #21386 from mguetschow/deprecated-mtd-dev
drivers/mtd_default: remove deprecated `mtd_default_get_dev()`
2025-04-08 14:53:35 +00:00
mguetschow
fb0fc06db4
Merge pull request #21384 from mguetschow/deprecated-malloc-tracing
sys/malloc_tracing: remove deprecated module
2025-04-08 14:53:06 +00:00
crasbe
87352ee72d
Merge pull request #19955 from dprigoshij/sen5x
drivers/sen5x: Add device driver for SEN5x
2025-04-08 13:21:57 +00:00
Mikolai Gütschow
72faa5d502
sys/vfs: remove deprecated vfs_iterate_mounts()
use `vfs_iterate_mount_dirs()` instead

deprecated in https://github.com/RIOT-OS/RIOT/pull/17660
2025-04-08 15:14:23 +02:00
Mikolai Gütschow
23d7f99f2b
drivers/mtd_default: remove deprecated mtd_default_get_dev()
use `mtd_dev_get()` instead

deprecated in https://github.com/RIOT-OS/RIOT/pull/20078
2025-04-08 15:05:34 +02:00
Mikolai Gütschow
76e028e51d
treewide: use mtd_dev_get instead of deprecated mtd_default_get_dev 2025-04-08 15:03:58 +02:00
Mikolai Gütschow
1e74114c7b
sys/net/gcoap: remove deprecated gcoap_req_send_tl()
Use alias `gcoap_req_send()` instead

Deprecated in https://github.com/RIOT-OS/RIOT/pull/20514
2025-04-08 14:59:38 +02:00
Mikolai Gütschow
a77a6071f3
sys/malloc_tracing: remove deprecated module
use module `malloc_monitor` with verbous configuration instead
2025-04-08 14:49:04 +02:00
Mikolai Gütschow
223031e0d6
treewide: update riot-wrappers and riot-sys
diff generated with `find -name Cargo.toml -exec cargo update --manifest-path "{}" --package riot-wrappers --package riot-sys ";"` according to https://github.com/RIOT-OS/RIOT/blob/master/doc/guides/managing-a-release/README.md?plain=1#L31

upcoming release version bump similar to https://github.com/RIOT-OS/RIOT/pull/21133
2025-04-08 14:29:46 +02:00
mguetschow
43840a988e
Merge pull request #21380 from mguetschow/psa-crypto-doc-fixup
sys/psa_crypto/doc: correctly end code block
2025-04-08 11:12:28 +00:00
Mikolai Gütschow
cf722592c5
sys/psa_crypto/doc: correctly end code block
fixup for 5e6a539906f643df696125307400d5f464274b11
2025-04-08 11:30:54 +02:00
Daniel Prigoshij
0fd9959fbb tests/driver_sen5x: Added a test case for the SEN5X driver 2025-04-08 11:22:15 +02:00
Daniel Prigoshij
0eb1d9bca4 pkg/driver_sen5x: Implemented dedicated package for the sen5x driver 2025-04-08 11:22:06 +02:00
benpicco
623f865ceb
Merge pull request #21144 from gschorcht/dist/tools/esptools/bump_gcc_version_to_14_2
dist/tools/esptools: Upgrade the ESP32 toolchain to GCC v14.2, GDB v14.2 and OpenOCD v0.12
2025-04-08 07:58:06 +00:00
Gunar Schorcht
0067f69d0b dist/tools/esptools: bump to QEMU version 9.0.0 2025-04-08 07:19:18 +02:00
Gunar Schorcht
91e92d571e dist/tools/esptools: bump if OpenOCD version v0.12.0 2025-04-08 07:19:18 +02:00
Gunar Schorcht
e9688aa24c dist/tools/esptools: bump to GDB version 14.2 2025-04-08 07:19:18 +02:00
Gunar Schorcht
c13aec4f01 dist/tools/esptools: fix error message in export.sh
When sourcing a script, $0 refers to the shell in which the script is running, not the script being sourced. The only way to refer the install script is to specify the full path based on a variable pointing to the RIOT directory.
2025-04-08 07:19:18 +02:00