1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 07:21:18 +01:00

4581 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
benpicco
3621be5041
Merge pull request #21160 from benpicco/sys/net/nanocoap/observe-client
nanocoap_sock: implement observe (Client-Side)
2025-04-04 17:32:10 +00:00
Marian Buschsieweke
1ff982a664
tree wide: various doc fixes
This fixes a batch of incorrect Doxygen comments that building with
LLVM/clang and `-Wdocumentation` uncovered.
2025-04-04 11:44:53 +02:00
Marian Buschsieweke
fb7acf5c6c
Merge pull request #21356 from maribu/sys/net/ipv6/markdown-links
sys/net/ipv6: use markdown links in doc
2025-04-04 07:47:18 +00:00
Marian Buschsieweke
7ac196f5de
sys/net/ipv6: use markdown links in doc
This makes the header a lot more readable and `clang -Wdocumentation`
happy, which does not like HTML tags (`<a href="...">...</a>`) to
contain random line breaks.
2025-04-04 08:16:17 +02:00
Marian Buschsieweke
c0cd66d2b4
Merge pull request #20849 from benpicco/event_loop_debug
sys/event: add `event_loop_debug` pseudo-module
2025-04-03 15:26:26 +00:00
Benjamin Valentin
bc8687695c sys/event: add event_loop_debug pseudo-module 2025-04-03 15:56:05 +02:00
Benjamin Valentin
6cb40183a0 nanocoap_sock: implement observe client 2025-04-03 13:23:07 +02:00
mguetschow
57de45cf89
Merge pull request #21308 from benpicco/dec_as_hex
sys/bcd: add bcd_buf_from_u32()
2025-04-03 10:48:33 +00:00
Benjamin Valentin
284845e6ea sys/bcd: add bcd_buf_from_u32() 2025-04-02 18:57:26 +02:00
fabian18
9e55e5611f
Merge pull request #21270 from fabian18/pr/nanocoap_static_buffers
nanocoap: avoid non `static` buffers of configurable size
2025-03-31 22:46:38 +00:00
Fabian Hüßler
49243a5ef2 nanocoap/sock: move request header buffer to socket 2025-03-31 19:12:19 +02:00
Fabian Hüßler
7e4afa4436 nanocoap: supply response buffer for nanocoap_link_format_get 2025-03-31 19:12:19 +02:00
benpicco
7a1a8d1aef
Merge pull request #21323 from mguetschow/doc-auto-init
sys/auto_init: fix documentation
2025-03-31 13:20:18 +00:00
mguetschow
04a169867e
Merge pull request #20876 from Ollrogge/fido2_update_tests
Fido2 update tests
2025-03-25 19:32:39 +00:00
Mikolai Gütschow
354da566e2
sys/auto_init: fix documentation
`auto_init` is part of `DEFAULT_MODULE` and can be disabled in an application via `DISABLE_MODULE`
2025-03-25 19:37:08 +01:00
Lukas-Luger
8d13b869e7 sys/psa_crypto: Adding hmac hashing on psa_import_key
Update sys/psa_crypto/psa_crypto_algorithm_dispatch.c

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-03-21 14:35:26 +01:00
benpicco
a756dcf1c9
Merge pull request #19213 from benpicco/socket_zep_hal-fix
socket_zep: properly implement the radio HAL
2025-03-20 08:30:12 +00:00
Marian Buschsieweke
5869c2c271
Merge pull request #21180 from derMihai/mir/sock_udp/cancel_async_mainline
net_sock_async_event: cancel async event on sock_*_close()
2025-03-20 06:10:26 +00:00
Benjamin Valentin
1fdcaac52f sys/string_utils: add reverse_buf() 2025-03-20 01:52:58 +01:00
Michael Richardson
3dccb6c58c psa_crypto: fold some long lines 2025-03-19 13:24:42 +07:00
Marian Buschsieweke
685acb9a35
Merge pull request #21293 from MrKevinWeiss/pr/fixsplling
Fix spelling found by codespell
2025-03-13 13:07:53 +00:00
MrKevinWeiss
f770f72202
treewide: Fix spelling mistakes 2025-03-13 13:59:07 +01:00
Benjamin Valentin
7a5cd93bf7 sys/net/telnet: align API with stdio API 2025-03-13 09:58:48 +01:00
benpicco
a042d66e68
Merge pull request #21283 from carl-tud/native-gardening
cpu/native: Gardening/QoL
2025-03-12 17:54:07 +00:00
Marian Buschsieweke
da0218323b
sys/net/nanocoap: improve coap_build_reply
- The responsibility for handling matching CoAP No-Response Options
  has been split:
    - `coap_build_reply()` only needs to report this and return
      `-ECANCLED`
    - `coap_handle_req()` does generate the empty ACK is needed.
  ==> As a result, writing CoAP request handlers correctly becomes a
      lost easier. Correct error handling to be present is now
      sufficient for correct handling of No-Response options.
  ==> This change is backward compatible with existing code.
- The API doc has been cleaned up and straightened

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-03-12 08:56:20 +01:00
Marian Buschsieweke
05289a7d1f
sys/include/net/coap.h: Add COAP_PAYLOAD_MARKER_SIZE
Using a constant is easier than explaining where the magic 1 came from
in size estimations.
2025-03-12 08:33:58 +01:00
Ollrogge
3e3ad836a1 sys/fido2: Fix bug in user presence test
The authenticator did not wait for user presence when user
presence tests were enabled, but LED animations were disabled.
2025-03-11 21:01:13 +01:00
carl
90a3f3ffcc cpu/native: docs and descriptive naming 2025-03-11 16:19:39 +01:00
benpicco
1e29887660
Merge pull request #21219 from benpicco/event/periodic_callback
sys/event: add `event_deferred_callback_post()` helper
2025-02-28 12:49:57 +00:00
Marian Buschsieweke
be27eafc4f
sys/net/nanocoap: fix API inconsistency
For in-band signalling that a content format is not valid / present,
the magic number `COAP_FORMAT_NONE` was introduced and the type
`uint16_t` was used. Some APIs however used different in-band signalling
values and types:

- coap_reply_simple(): No signal available, `unsigned int`
- coap_build_reply_header(): negative values, `int`
    (Using `int` would prevent using larger content format numbers on
    8-bit and 16-bit archs, where `int` and `int16_t` have the same
    range.)

This changes the behavior to consistently use `COAP_FORMAT_NONE` as
"no content format" signal and `uint16_t` as type.
2025-02-24 12:05:35 +01:00
Oleg Hahm
4d41dda9a7
Merge pull request #21221 from mguetschow/examples-names-short
examples: shorten subfolders' names
2025-02-21 09:07:48 +00:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +01:00