1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 09:21:19 +01:00

11597 Commits

Author SHA1 Message Date
Elena Frank
523d70e7a7 gnrc/rpl/control_messages: handle DIO of different DODAG 2025-10-22 21:34:41 +02:00
Elena Frank
0081a6e99e gnrc/rpl/control_messages: use ipv6_addr_equal to cmp addrs 2025-10-22 21:34:41 +02:00
Elena Frank
ba1895cb20 gnrc/rpl/dodag: add gnrc_rpl_dodag_remove 2025-10-22 21:34:41 +02:00
Elena Frank
b025edc726 gnrc/rpl/dodag: ret void for gnrc_rpl_instance_remove
`gnrc_rpl_instance_remove` can't fail, so it was already always
returning `true`.
2025-10-22 21:34:41 +02:00
Elena Frank
5139847376 gnrc/rpl/of0: compare dodags 2025-10-22 21:34:37 +02:00
benpicco
17d03ac17d
Merge pull request #21749 from benpicco/test/bit
tests/unittests: add test for bit.h
2025-10-07 15:33:40 +00:00
Teufelchen
6604a97b18
Merge pull request #21756 from kfessel/p-can-sjw
sys/can: improve SJW calculation
2025-10-07 11:16:59 +00:00
Karl Fessel
49420ac123 sys/can: bittiming calculation debug-result-print 2025-10-06 18:14:25 +02:00
Karl Fessel
421f34e3c6 sys/can: improve SJW calculation 2025-10-06 18:14:06 +02:00
fabian18
e3fa62f38f
Merge pull request #21533 from fabian18/pr/submac_ack_transmission
ieee802154/submac: add automatic ACK transmission when AUTO_ACK is not supported by driver
2025-10-06 11:05:40 +00:00
Teufelchen
0d5e3f056a
Merge pull request #21397 from benpicco/hostnames
net/hosts: add module for static hostname definitions
2025-10-06 09:29:28 +00:00
Fabian Hüßler
fccb0eac92 ieee802154: use retval in struct ieee802154_radio_ops 2025-10-06 10:38:55 +02:00
Fabian Hüßler
4e0f52fc6e drivers/netdev_ieee802154_submac: add transmission of ACK 2025-10-05 21:43:41 +02:00
Fabian Hüßler
c7dd44583f ieee02154: add IEEE802154_CAP_AUTO_ACK 2025-10-05 21:42:32 +02:00
Fabian Hüßler
f7f8a571a2 ieee802154: add ieee802154_radio_has_capability 2025-10-05 21:42:32 +02:00
Fabian Hüßler
85c61b293d ieee802154: add ieee802154_radio_get_frame_filter_mode 2025-10-05 21:42:32 +02:00
mguetschow
2d9ccce392
Merge pull request #21577 from elenaf9/gnrc/rpl/refactor-ctrl-messages
gnrc/rpl/control_messages: refactor `gnrc_rpl_recv_DIO`
2025-10-02 08:03:29 +00:00
Benjamin Valentin
3b3cdefaf1 sys/bit: add missing include 2025-09-30 00:29:05 +02:00
Leandro Lanzieri
d4e18fb555 sys/auto_init/screen/lvgl: check if display is present 2025-09-22 13:29:43 +02:00
Teufelchen
bd93e286a7
Merge pull request #21708 from AnnsAnns/more_migration
doc/guides: The Big Migration
2025-09-18 16:03:57 +00:00
AnnsAnn
e88b64d68b sys/arduino: update guide references
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-18 15:37:50 +02:00
AnnsAnn
4a3f6d5859 sys/include/net/sock: update guide references
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-18 15:37:50 +02:00
Leandro Lanzieri
ec9548d9e0 pkg/u8g2: add disp_dev support 2025-09-18 13:48:22 +02:00
Benjamin Valentin
c826d0cddb sys/net/sock_util: make unconditional use of dns_query() 2025-09-11 20:05:20 +02:00
Benjamin Valentin
839b75df77 net/util: make unconditional use of dns_query() 2025-09-11 20:05:20 +02:00
Benjamin Valentin
af8faa0257 net/dns: make file safe to include regardless of modules used 2025-09-11 20:05:20 +02:00
Benjamin Valentin
9c4ee37acc sys/dns: use hostnames in DNS lookup 2025-09-11 19:16:03 +02:00
Benjamin Valentin
48273ef736 net/hosts: add module for static hostname definitions 2025-09-11 19:16:03 +02:00
Benjamin Valentin
23c956e508 sys/net/ipv4: add IPV4_ADDR_LOOPBACK definition 2025-09-11 19:16:02 +02:00
Elena Frank
1ce183495a benchmark_udp: improve rtt record buffering
The ping sequence number is linear, so modulo calculation can be use to
get the index of the oldest/ next entry in the record buffer.
2025-09-11 11:37:45 +02:00
Elena Frank
bb04bc17a8 gnrc/netif: small doc improvement 2025-09-09 15:49:29 +02:00
Elena Frank
861a05ec27 gnrc/netif: don't re-append tx_sync snip if tx is done
If sending is blocking or sending failed, the pkt is freed in the call
to `_tx_done`. Thus, the previously split of `tx_sync` snip shouldn't be
re-appended to the already freed pkt.
Similarily, the `GNRC_NETIF_FLAGS_TX_FROM_PKTQUEUE` shouldn't be set in
that case.
2025-09-09 15:21:52 +02:00
Elena Frank
a461e5c41d gnrc/rpl/control_messages: doc gnrc_rpl_recv_DIO 2025-09-05 15:33:35 +02:00
Elena Frank
947141db46 gnrc/rpl/control_messages: _ip_addr_str fn 2025-09-05 15:33:35 +02:00
Elena Frank
f618e59e63 gnrc/rpl/control_messages: extract update_dodag_from_DIO
Extract commit logic from `_recv_DIO_for_{existing,new}_dodag` into new
function `_update_dodag_from_DIO`. The function updates the dodag and
parent based on the DIO data.
2025-09-05 15:33:35 +02:00
Elena Frank
ca2f13fa20 gnrc/rpl/control_messages: extract DIO opts parsing 2025-09-05 15:33:35 +02:00
Elena Frank
b80176333a gnrc/rpl/control_messages: rearrange minor parts 2025-09-05 14:40:19 +02:00
Elena Frank
0879645c2e gnrc/rpl/control_messages: extract _recv_DIO_for_new_dodag 2025-09-05 14:40:19 +02:00
Elena Frank
c5b0c051e5 gnrc/rpl/control_messages: extract _recv_DIO_for_existing_dodag 2025-09-05 14:40:19 +02:00
crasbe
8774ed26d1
Merge pull request #21695 from benpicco/suit_fetch-info
sys/suit: print firmware URL if download fails
2025-09-05 06:47:12 +00:00
Benjamin Valentin
d83e2c0394 sys/suit: print firmware URL if download fails 2025-09-04 16:44:53 +02:00
crasbe
7e7af30de9
Merge pull request #21256 from benpicco/sys/net/gnrc-fixes
gnrc/ipv6/nib: improve debug output, declutter code
2025-09-04 14:44:07 +00:00
crasbe
7c44b06e5c
Merge pull request #21652 from benpicco/nanocoap_server/buf
nanocoap_server: use zero-copy network buffer for parsing request
2025-09-04 14:43:05 +00:00
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
Fabian Hüßler
f7b86d703f ieee802154/submac: add some DEBUG() 2025-08-18 12:36:55 +02:00