1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 00:11:16 +01:00

11548 Commits

Author SHA1 Message Date
Marian Buschsieweke
c0cc617c7f
Merge pull request #21633 from crasbe/pr/sntp
sys/net/sntp: migrate from xtimer to ztimer
2025-08-21 16:23:56 +00:00
crasbe
acf10d91b9 sys/net/ntp_packet: add ref to SNTP, fix time 2025-08-21 14:27:28 +02:00
crasbe
8ab9956ae5 sys/net/sntp: migrate from xtimer to ztimer 2025-08-21 14:27:28 +02:00
Marian Buschsieweke
3415656a4a
sys/newlib_syscalls_default: wrap newlib's assert implementation
This avoids inconsistent output when external code gets linked in that
directly links against newlib's assert implementation (e.g. binary blobs
or packages that do not add `core/lib/include` to the include paths).

This also greatly benefits wrapping printf, as newlib's `__assert_func()`
directly links to internal printf functions of newlib.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-08-21 12:08:10 +02:00
Marian Buschsieweke
674dede8ae
sys/newlib: drop workaround for stdio
This drops a workaround that initialized newlib's reentrancy structure
on boot to reduce the chances of crashes when using the non-thread-safe
(unless reentrancy hooks are provided) stdio implementation of newlib.

Now that the newlib stdio implementation is only ever used if it is
thread-safe, we no longer need a workaround that reduces the chance
of crashes on concurrent use of stdio.
2025-08-21 12:06:10 +02:00
Marian Buschsieweke
2623221854
build system: use thread-safe stdio
This makes use of the new bug modeling to declare all platforms that
can use newlib and have no reentrancy hooks as affected by the
non-thread-safe stdio bug. (Which is every platform but ESP* and AVR,
the former because the reentrancy hooks are provided, the latter because
we do not and never will support newlib on them.)

Building on that, the mpaland-printf package is used when newlib is
used and the bug is present. This way we can rely on the stdio being
thread-safe on every platform and not causing random crashes at run
time.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-08-21 12:06:10 +02:00
crasbe
165cc75a39
Merge pull request #21489 from fabian18/pr/shell_cmd_mtd
sys/shell/cmds: add MTD command from `mtd_raw` test
2025-08-14 12:18:43 +00:00
benpicco
f865852cd9
Merge pull request #21560 from benpicco/suit_get_public_key
sys/suit: add suit_get_public_key()
2025-08-14 12:15:48 +00:00
Fabian Hüßler
1d1b3547aa sys/shell/cmds: add mtd.doc.md 2025-08-14 13:52:46 +02:00
Fabian Hüßler
60e53ad074 sys/shell/cmds: add possibility to write raw bytes to MTD 2025-08-14 13:52:46 +02:00
Fabian Hüßler
4f8ea2c77e sys/shell/cmds: move mtd command from test to reusable shell commands 2025-08-14 13:52:46 +02:00
Gunar Schorcht
42f5769499
Merge pull request #21649 from gschorcht/fix_ndebug_problems
tests: fix compilation problems with NDEBUG
2025-08-13 17:53:40 +00:00
Gunar Schorcht
f183c38d56 sys/test_utils/netdev_eth_minimal: fix NDEBUG compilation problems 2025-08-13 15:43:57 +02:00
Benjamin Valentin
5497f0f2bc sys/suit: fix return value type
Member function and doc have bool return, so also return it in the
wrapper function.
2025-08-01 14:18:53 +02:00
Benjamin Valentin
3310e5a3fe sys/suit: print warning if offset does not match 2025-08-01 14:10:21 +02:00
crasbe
6b72096bf7
Merge pull request #21621 from netd-tud/psa-hmac-dispatch
sys/psa_crypto: Extend mac API
2025-07-31 20:59:49 +00:00
Armin Wolf
27cf424720 sys/psa_crypto: Extend mac API
Currently PSA mac backends can only implement psa_mac_compute() from
the PSA crypto API, but not psa_mac_verify() and the associated
multi-part functions.

Extend the location and algorithm dispatchers to connect the above
PSA API functions to suitable backends. Also extend the MAC backend
API to allow backends to implement those additional functions. Due
to a design issue with the SE backend API (context size is dynamic,
thus requiring a memory allocation) only psa_mac_verify() can be
accelerated by SE backends.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2025-07-29 17:52:01 +02:00
mguetschow
f572bbeef9
Merge pull request #21610 from mguetschow/unicoap-test-stack-overflow
unittests/unicoap: statically allocate option buffers
2025-07-24 16:05:06 +00:00
Benjamin Valentin
8bbe166b3e sys/suit: add suit_get_public_key() 2025-07-24 13:37:18 +02:00
benpicco
4f9f755f99
Merge pull request #20197 from benpicco/coap_iterate_uri_query
nanocoap: add coap_iterate_uri_query()
2025-07-24 11:35:51 +00:00
benpicco
cdfdd215f4
Merge pull request #21454 from benpicco/gnrc_ipv6_nib_get_next_hop_l2addr-cleanup
gnrc/ipv6/nib: clean up `gnrc_ipv6_nib_get_next_hop_l2addr()`
2025-07-24 11:35:14 +00:00
Benjamin Valentin
824d3ea71d nanocoap: add coap_iterate_uri_query() 2025-07-24 13:18:06 +02:00
Mikolai Gütschow
50a5d17f50
sys/net/unicoap: add UNICOAP_OPTIONS_ALLOC_STATIC 2025-07-24 11:18:10 +02:00
Marian Buschsieweke
091acb39f6
Merge pull request #21002 from benpicco/netstats_nb-new_api
gnrc_netif: fix neighbor statistics with netdev_new_api
2025-07-23 16:14:32 +00:00
Benjamin Valentin
5e18262ad7 sys/include/net/netstats: re-order result codes 2025-07-23 17:21:27 +02:00
Gregory Guche
8dc500703b pkg/xipfs: add XIPFS as vfs module 2025-07-23 12:44:38 +02:00
crasbe
d271fc88a4
Merge pull request #21617 from Teufelchen1/deprecate/gnrc_mac
net/mac: Remove deprecated 802.15.4 MAC module
2025-07-21 20:45:24 +00:00
Teufelchen1
944eb05727 net/mac: Remove deprecated 802.15.4 module 2025-07-21 12:57:15 +02:00
Teufelchen
1c1bbf324b
Merge pull request #21585 from elenaf9/rpl/fix-local-repair
gnrc/rpl: check old rank before removing parents
2025-07-21 08:12:31 +00:00
Teufelchen
1345452bbe
Merge pull request #21603 from Teufelchen1/deprecate/lwmac
net/lwmac: Remove deprecated lwmac module
2025-07-18 08:34:57 +00:00
Gunar Schorcht
fe448a44f4
Merge pull request #21590 from gschorcht/cpu/esp32/add_esp32h2_ieee802154
cpu/esp32: add IEEE 802.15.4 support for ESP32-H2
2025-07-16 06:18:59 +00:00
Gunar Schorcht
98469c0175 sys/net/gnrc/netif: add ESP32x IEEE802.15.4 auto init 2025-07-15 14:35:31 +02:00
Marian Buschsieweke
40e5627981
Merge pull request #21602 from Teufelchen1/fix/l2filter
net/l2filter: fix incorrect length check
2025-07-15 11:28:12 +00:00
Teufelchen1
f6f7de4ccc net/l2filter: fix incorrect length check
Co-authored-by: namberino <namnb2402@gmail.com>
2025-07-15 12:10:44 +02:00
Teufelchen1
8970d751c4 net/lwmac: Remove deprecated lwmac module 2025-07-15 11:38:37 +02:00
crasbe
d8de73b1f4
Merge pull request #21600 from Teufelchen1/remove/gomach
net/gomach: Remove deprecated GoMach module
2025-07-14 18:32:52 +00:00
Teufelchen1
f027626f3c net/gomach: Remove deprecated GoMach module 2025-07-14 13:18:20 +02:00
Teufelchen1
23a5ff6b4d treewide: Update Rust dependencies 2025-07-14 11:18:14 +02:00
Carl Seifert
5e353a3967 net/unicoap: add documentation 2025-07-08 22:41:45 +02:00
Elena Frank
2d4542ebc9 gnrc/rpl: check old rank before removing parents
`gnrc_rpl_dodag_remove_all_parents` sets the node's rank in the DODAG to
`GNRC_RPL_INFINITE_RANK`, so checking the (old) rank should be done
before that function call.
2025-07-08 20:10:06 +02:00
Carl Seifert
63980bcf02 net/unicoap: add header for private API 2025-07-07 17:27:40 +02:00
Carl Seifert
531c0971bd net/unicoap: add typed accessors for IANA-defined options 2025-07-07 17:27:40 +02:00
Carl Seifert
d184a1af0f net/unicoap: implement option accessors 2025-07-07 17:27:39 +02:00
Carl Seifert
f666e1aa04 net/unicoap: implement RFC 7252 PDU framing 2025-07-07 17:27:39 +02:00
Carl Seifert
70350216ba net/unicoap: add base config 2025-07-07 17:27:39 +02:00
Carl Seifert
12c7e07839 net/unicoap: add CoAP constants 2025-07-07 17:27:39 +02:00
Carl Seifert
3a71d2271e net/unicoap: add message interface 2025-07-07 17:27:39 +02:00
Carl Seifert
501822f560 net/unicoap: driver modules for CoAP transports 2025-07-07 17:27:39 +02:00
Carl Seifert
6b9e5433e6 net/unicoap: add module basics 2025-07-07 17:27:39 +02:00
mguetschow
06a22e3dd5
Merge pull request #21579 from fabian18/pr/submac_tx_power
submac: add TX power to retrievable netopts
2025-07-03 13:06:08 +00:00