1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

10916 Commits

Author SHA1 Message Date
Benjamin Valentin
1f1d7082a5 sys/slot_aux: add build system integration for AUX slot 2024-02-28 11:49:05 +01:00
chrysn
6714a77026
Merge pull request #20339 from chrysn-pull-requests/native64-rust
cpu/native: Enable Rust on 64bit
2024-02-23 10:41:47 +00:00
chrysn
198bd67bc3 rust: Selectively update riot-sys and -wrappers
This pulls in <https://github.com/RIOT-OS/rust-riot-sys/pull/40> and
<https://github.com/RIOT-OS/rust-riot-wrappers/pull/80>.
2024-02-23 11:23:04 +01:00
xnumad
23d3ccde6b gnrc_ipv6_nib: Ignore PIO with on-link flag 2024-02-22 17:52:17 +01:00
benpicco
9504e07378
Merge pull request #20392 from maribu/sys/newlib_syscalls_default
sys/newlib_syscalls_default: fix race condition in __sinit()
2024-02-20 12:22:24 +00:00
Marian Buschsieweke
609ad44f39
Merge pull request #20245 from benpicco/nanocoap_sock-pathquery
nanocoap_sock: always use coap_opt_put_uri_pathquery()
2024-02-19 18:28:38 +00:00
chrysn
756a384442 makefiles, treewide: Remove MCU variable 2024-02-18 20:46:09 +01:00
Marian Buschsieweke
375aed13e6
sys/newlib_syscalls_default: fix race condition in __sinit()
This eagerly calls `__sinit()` instead of lazy initialization upon the
first call to stdio (e.g. `puts()`, `printf()`). The issue is that
without locking (as is currently the case for all RIOT platforms but
ESP) two concurrent "first calls" may result in concurrent
initialization of the same structure and data corruption.

Fixes https://github.com/RIOT-OS/RIOT/issues/20067
2024-02-16 07:21:28 +01:00
chrysn
a05cfcf6ed
Merge pull request #20389 from chrysn-pull-requests/thread-links
doc: Link OpenThread primer, cleanup
2024-02-14 18:42:30 +00:00
chrysn
41816ed647 doc: Link to thread primer 2024-02-14 17:44:13 +01:00
Leandro Lanzieri
7745e233b3
Merge pull request #20073 from MichelRottleuthner/pr_gcoap_observe_improvments
gcoap: add some client-side observe handling
2024-02-14 10:01:31 +00:00
benpicco
d08fb3f144
Merge pull request #20043 from bergzand/pr/nanocoap_cache_options
nanocoap/cache: Extend with option-only cache keygen
2024-02-13 15:23:59 +00:00
011891b9cf
nanocoap/cache: Extend with option-only cache keygen
To generate cache keys based on only the options of a request. This for
matching requests of a blockwise transfer with each other
2024-02-12 21:20:39 +01:00
benpicco
55b6728224
Merge pull request #19738 from benpicco/stdio_dispatch
stdio_dispatch: allow to select multiple stdio methods at the same time
2024-02-09 16:13:27 +00:00
Benjamin Valentin
2d22cc8f49 sys/net/telnet: disable local echo 2024-02-09 15:31:21 +01:00
Benjamin Valentin
550d93f873 sys/net/telnet: properly detect disconnect 2024-02-09 15:31:21 +01:00
Benjamin Valentin
816aafdb5a sys/net/telnet: fix race condition on disconnect 2024-02-09 15:31:21 +01:00
Benjamin Valentin
f5181732de sys/fmt: don't include stdio_base.h 2024-02-09 15:31:21 +01:00
Benjamin Valentin
028f6e54f6 stdio_semihosting: port to new interface 2024-02-09 15:31:21 +01:00
Benjamin Valentin
b575e2d35b stdio_telnet: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
c1b6c813ae stdio_nimble: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
8bec71331c stdio_null: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
68c8a9a3a2 sys/usb/cdc/acm: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
76997fdd76 stdio_rtt: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
7c1cdb16af stdio_udp: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
cce5312be8 stdio_uart: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
c1162e4818 sys/stdio: add common stdio module 2024-02-09 15:24:22 +01:00
mguetschow
de1efc6772
Merge pull request #20344 from Teufelchen1/chore/fmt_test_3
tests: Add NULL pointer argument test for fmt_lpad/to_lower/str
2024-02-09 10:41:17 +00:00
Teufelchen1
dbcfa1bdc8 tests: Add NULL pointer argument test for fmt_lpad/to_lower/str 2024-02-09 11:03:05 +01:00
Joshua DeWeese
c3a4beb200 treewide: make use of new IPv4 static init macro
This commit makes use of the newly added static initializer for IPv4
addresses.
2024-02-08 10:14:24 -05:00
Michel Rottleuthner
12982a0f14 gcoap: update documentation on supported features 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
45a84af346 gcoap: clear observe state on RST response to notification
In order to properly handle an observe cancellation of a client, the server has to keep track of the notification MIDs (to be able to match an RST to a notification), see [RFC7641, 3.6 Cancellation](https://www.rfc-editor.org/rfc/rfc7641.html#section-3.6) for mor details. An alternative to this would be to make either the client send an explicit observe deregister request, or make the server send the next notification via CON (which hten allows matching of the RST due to the CON state).
2024-02-08 15:48:32 +01:00
Michel Rottleuthner
94e8786715 gcoap: issue RST on unknown observe notifications 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
ab821a1dda gcoap: add api to forget a client-side observe request 2024-02-08 15:48:32 +01:00
Michel Rottleuthner
5956e93d58 gcoap: split find-memo utility functions
This splits the _find_req_memo util function into multiple variants that match on different things. This is done in preparation of a feature that has to find a request based on a token value, without creating an artificial pdu for that. A nice side effect is that it also makes the calls to the find functions a bit more readable by not relying on an anonymous bool input.
2024-02-08 15:40:45 +01:00
Michel Rottleuthner
c003e5ed9c gcoap: keep request on observe notification 2024-02-08 15:40:45 +01:00
benpicco
82d9e79f21
Merge pull request #20354 from Enoch247/add-ipv4-init-macro
sys/net/ipv4: add IPV4_ADDR_INIT() macro
2024-02-07 19:01:54 +00:00
Joshua DeWeese
bcc0d01c08 sys/net/ipv4: add IPV4_ADDR_INIT() macro
This patch adds a macro to statically initialize an IPv4 address.
2024-02-07 10:08:16 -05:00
Benjamin Valentin
bfdda46055 sys/shell/ping: print error when DNS resolve fails 2024-02-07 16:02:04 +01:00
Benjamin Valentin
453a8be4f3 sys/cpp_new_delete: always enable the module when C++ is used 2024-02-07 11:40:23 +01:00
benpicco
83f3c4a396
Merge pull request #20342 from fabian18/pr/fix_router_lifetime_and_ft_add_api
ipv6/nib: fix router lifetime handling in RIO and fix gnrc_ipv6_nib_ft_add() api
2024-02-06 19:38:12 +00:00
Fabian Hüßler
fef5c8c5d8 ipv6/nib: fix lifetime handling in RIO handling 2024-02-06 18:35:05 +01:00
Fabian Hüßler
c4ae9063e9 ipv6/nib: fix gnrc_ipv6_nib_ft_add API and catch overflovs 2024-02-06 18:35:05 +01:00
Martine Lenders
a16199f846
Merge pull request #20343 from fabian18/pr/fix_ipv6_nib_cancel_timers
ipv6/nib: cancel timers when NIB entry gets deleted
2024-02-06 16:24:11 +00:00
Fabian Hüßler
2b8b828a53 ipv6/nib: move internal event timer API up 2024-02-06 10:30:59 +01:00
Fabian Hüßler
eb1a827e21 ipv6/nib: delete router timeout when router is deleted 2024-02-06 10:29:48 +01:00
Fabian Hüßler
f8a64e74c4 ipv6/nib: delete route timeout when forward table entry is deleted 2024-02-06 10:29:40 +01:00
Fabian Hüßler
de4142de37 ipv6/nib: delete prefix timeout when prefix list entry is deleted 2024-02-06 10:29:30 +01:00
benpicco
4d9e8a8dde
Merge pull request #20335 from fzi-haxel/pr/native64-board
native64: Separate board for 64-bit native
2024-02-05 22:58:02 +00:00
Frederik Haxel
d1f1f8a2c3 sys/psa_crypto: Use PRIuSIZE in debug messages 2024-02-05 22:02:27 +01:00