1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

11456 Commits

Author SHA1 Message Date
benpicco
d973ca18a9
Merge pull request #21437 from benpicco/CONFIG_GNRC_IPV6_NIB_SOL_ROUTER
gnrc/ipv6/nib: add option to disable router solicitations
2025-04-28 16:08:10 +00:00
Benjamin Valentin
989d8485de gnrc/ipv6/nib: convert conf.h to new indentation style 2025-04-28 14:12:49 +02:00
Marian Buschsieweke
0be58f6e3a
sys/picolibc_syscalls_default: fix linking with 1.8.10+
This adapts to an API change for providing stdin/stdout/stderr: The
macro to test whether globals are to be used is now prefixed with two
underscores.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-27 22:59:33 +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
fba75da03f
Merge pull request #21439 from maribu/pkg/mpaland-printf/fix-float
pkg/mpaland-printf: fix overriding printf with printf_float
2025-04-26 19:00:43 +00: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
Marian Buschsieweke
7caf2066d8
pkg/mpaland-printf: fix overriding printf with printf_float
This makes sure that newlib's printf is correctly overridden by:

1. Adding wrappers for some more obscure printf() variants
2. Forcing a compilation failure when newlib's stdio is still linked in
   while mpaland-printf is used
3. Not adding `-u _printf_float` to the linker flags when mpaland-printf
   is used.
2025-04-26 15:28:17 +02:00
Benjamin Valentin
2c43918792 sys/bcd: add bcd_buf_to_u32() and bcd_buf_from_str() 2025-04-25 18:48:18 +02:00
benpicco
c0439fc601
Merge pull request #21433 from benpicco/swprintf-doxygen
sys/string_utils: make `swprintf()` appear in doc
2025-04-25 07:42:50 +00:00
Benjamin Valentin
ba23c77a4d gnrc/ipv6/nib: add option to disable router solicitations 2025-04-25 00:23:00 +02:00
crasbe
d3b266059d
Merge pull request #21429 from maribu/sys/atomic_utils/unsigned
sys/atomic_utils: add helpers for unsigned int
2025-04-24 14:05:22 +00:00
Benjamin Valentin
2377e758c1 sys/string_utils: make swprintf() appear in doc 2025-04-24 15:49:59 +02:00
Marian Buschsieweke
e258a07c93
sys/atomic_utils: add helpers for unsigned int
So far, the atomic utils only support known width integer types. This
adds `unsigned int` to the supported list by mapping it to the
corresponding fixed width integer type.

This also sneaks in a few minor style fixes that clang-tidy frowned
upon.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-24 12:23:00 +02:00
Marian Buschsieweke
d9e326b2cd
Merge pull request #21426 from benpicco/shell/cmds/vfs-permission
shell/vfs: set proper file permissions
2025-04-23 17:05:46 +00:00
Benjamin Valentin
b66155e631 shell/vfs: set proper file permissions 2025-04-23 16:28:53 +02:00
Marian Buschsieweke
3bfdaeba87
Merge pull request #21422 from benpicco/suit_worker_trigger
sys/suit: don't block in suit_worker_trigger()
2025-04-23 13:46:29 +00:00
Benjamin Valentin
aefa8ab20c sys/suit: don't block in suit_worker_trigger() 2025-04-23 14:18:47 +02:00
Marian Buschsieweke
5c0f1e645b
sys/embUnit: add IWYU pragmas
This will fix false positives for unused includes in the unit tests
with clangd.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-23 13:50:33 +02:00
Marian Buschsieweke
7ecf028bb2
Merge pull request #21416 from Teufelchen1/fix/saul_cmd
shell/saul: Rename internal functions
2025-04-16 19:20:05 +00:00
Teufelchen1
38b0287164 shell/saul: Rename internal functions 2025-04-16 16:49:19 +02:00
Marian Buschsieweke
25b8d65f68
sys/ztimer: make use of periph_timer_query_freqs
This makes use of the `periph_timer_query_freqs` feature:

1. It does choose the closest frequency supported before calling
   timer_init() in the ztimer_periph_timer backend.
2. It does make use of the actually chosen frequency when using
   `ztimer_convert_frac`.
3. It does `assert()` the frequency is within 5% of the specified when
   no frequency conversion is performed or `ztimer_convert_shift_up`
   is used.
2025-04-15 15:10:07 +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
0f81f50e3a sys/fmt: add functins for ISO 8601 date and time 2025-04-10 16:42:24 +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
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
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
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
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
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
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
Mikolai Gütschow
cf722592c5
sys/psa_crypto/doc: correctly end code block
fixup for 5e6a539906f643df696125307400d5f464274b11
2025-04-08 11:30:54 +02:00
crasbe
a826b77de9
Merge pull request #21371 from maribu/doc/mixed-bag-of-fixes
tree-wide: mixed back of documentation fixes
2025-04-07 21:48:11 +00:00
crasbe
ff6bab94f6
Merge pull request #21322 from mguetschow/psa-crypto-auto-init
sys/psa_crypto: usa auto_init module for initialization
2025-04-07 17:05:01 +00:00
Marian Buschsieweke
db0be36345
tree-wide: mixed back of documentation fixes
This fixes a number of documentation issues that LLVM/clang would flag
with `-Wdocumentation`.
2025-04-07 15:59:13 +02:00
Marian Buschsieweke
c1aee234ee
Merge pull request #21357 from maribu/tree-wide/dox-fixes
tree wide: various doc fixes
2025-04-05 17:57:43 +00:00