1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 21:43:51 +01:00

11542 Commits

Author SHA1 Message Date
Alexandre Abadie
bc2417226a
sys/ztimer: add support for 500kHz timer frequency 2025-06-17 13:32:39 +02:00
Teufelchen1
65fc4b0f3f checksum: Add crc16-fcs / IBM-SDLC 2025-06-16 16:18:50 +02:00
Armin Wolf
501811e173 sys/psa_crypto: Split subsystem definitions into separate files
Currently PSA backends cannot use other backends because the necessary
definitions are defined in a single big header file. This prevents us
from creating a generic HMAC backend based on the available hash
backends, as the hash context struct is not available when defining the
HMAC context struct.

Fix this by spliting the headers into separate files. This makes it
possible us use the hash context definitions without pulling in the
remaining context definitions.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2025-06-15 20:23:24 +02:00
Benjamin Valentin
845deae77e sys/event/deferred_callback: disable timer before modifying event 2025-06-13 17:39:13 +02:00
crasbe
b19fd5446d sys/checksum: add reflected CRC8 function 2025-06-06 22:13:36 +02:00
crasbe
01b78b050a sys/checksum: move doc.txt to doc.md 2025-06-06 22:13:36 +02:00
crasbe
b2649e2c25
Merge pull request #21536 from crasbe/pr/mineplex_doc
sys/mineplex: Enhance Documentation
2025-06-04 16:41:18 +00:00
crasbe
ed8c91bb1b sys/mineplex: enhance documentation 2025-06-04 18:28:40 +02:00
Fabian Hüßler
82c3ccbb04 sys/shell/cmds/gnrc_netif: fix compilation without IPv6 2025-06-03 10:48:05 +02:00
mguetschow
91003021c6
Merge pull request #21455 from Lukas-Luger/pr/psa-aes-ccm
sys/psa_crypto: Adding aead aes ccm
2025-05-27 19:43:17 +00:00
Lukas-Luger
ea04f0b1c4 sys/psa_crypto: add aead aes ccm 2025-05-27 15:21:01 +02:00
mguetschow
0124fdce88
Merge pull request #21461 from Lukas-Luger/pr/psa-ecc-pub-key-derivation
sys/psa_crypto: Adding ecc p256r1 pub key derivation
2025-05-27 10:10:31 +00:00
Lukas-Luger
4b69d6aada sys/psa_crypto: add psa ecc P256R1 pub key deriv. 2025-05-27 08:42:27 +02:00
Benjamin Valentin
6e55a2050e sys/riotboot/slot: add riotboot_slot_get_current_hdr() 2025-05-26 17:12:58 +02:00
Teufelchen1
e98426e5c5 sys/shell: rename shell_readline() 2025-05-24 18:28:23 +02:00
Mihai Renea
b149bfb9cb sys/shell: expose readline() 2025-05-23 10:39:36 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
9c6820ba0c sys/include: define for XTIMER added 2025-05-19 14:01:13 +02:00
KSKNico
e6b17fa5cb sys: replace header guards with #pragma once 2025-05-16 19:40:06 +02:00
Gunar Schorcht
a8854ba2dd sys/arduino: define LED_BUILTIN as frequently used by Arduino sketches
In Arduino IDE the on-board LED pin is defined by macro `LED_BUILTIN`. It is used whenever the LED is controlled. To make it easier to use Arduino sketches as they are, `LED_BUILTIN` is defined by using @ref ARDUINO_LED as defined by the board.
2025-05-13 07:32:43 +02:00
benpicco
8a6bb51adb
Merge pull request #20992 from benpicco/netdev_ieee802154_submac-new_api
drivers/netdev_ieee802154_submac: port to netdev_new_api
2025-05-12 16:11:18 +00:00
jon
0c6b3f63ba typo \'transition\' fixed as \'transmission\' 2025-05-08 12:21:33 +02:00
Benjamin Valentin
80cfb41da1 gnrc/ipv6/nib: clean up gnrc_ipv6_nib_get_next_hop_l2addr() 2025-05-07 16:16:08 +02:00
Marian Buschsieweke
a71c3a1464
Merge pull request #21468 from maribu/sys/embunit/fix-return-value
sys/embunit: fix return value on failure
2025-05-07 05:29:01 +00:00
Marian Buschsieweke
b0ec60c2d5
sys/embunit: fix return value on failure
When using `OUTPUT=COLORTEST` the return value of the unit test's
`main()` on failure was `0`, while it should be `1`. As a result,
running the unit tests from a script using

    $ OUTPUT=COLORTEXT make BOARD=native64 RIOT_TERMINAL=native -j32 flash term -C tests/unittests

would not catch a test failure.

This commit changes the behavior so that `0` is returned on success
and `1` on failure for both regular and colored text output.
2025-05-06 18:54:27 +02:00
Benjamin Valentin
a08a0814f9 sys/net/sockutil: Do not use undefined structs
sock_tcp_ep_t may not be defined if sock_tcp is not used.
2025-05-06 15:05:02 +02:00
benpicco
c937969224
Merge pull request #21419 from maribu/sys/net/sock_util
sys/net/sock_util: Do not depend on network stack
2025-05-05 17:18:46 +00:00
Marian Buschsieweke
41c8f5112b
sys/net/sockutil: use #pragma once
Co-authored-by: benpicco <benpicco@googlemail.com>
2025-05-05 18:09:29 +02:00
Marian Buschsieweke
62e553ad6c
sys/net/sock_util: Do not depend on network stack
This allows using and compiling the URL handling functions of sock_util
without a network stack used.

Co-authored-by: benpicco <benpicco@googlemail.com>
2025-05-05 18:09:22 +02:00
Marian Buschsieweke
bf8c734f98
Merge pull request #21459 from maribu/sys/stdio/doc
sys/stdio: better document configuration
2025-05-01 10:06:50 +00:00
Marian Buschsieweke
3d5fad5aa1
sys/stdio: better document configuration
This changes the documentation of how to configure stdio, especially
with regard on how to configure the stdio frontends with
`printf_float`, `printf_long_long`, and `stdin`.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-05-01 11:54:15 +02:00
benpicco
217ab247f6
Merge pull request #21440 from derMihai/mir/unsigned_set_clear
sys/atomic_utils: add bit set/clear helpers for unsigned int
2025-04-30 15:41:43 +00:00
Benjamin Valentin
26ddb2e6e3 sys/event: make debug output of event_loop_debug more useful 2025-04-30 14:44:41 +02:00
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
Mihai Renea
7541ef3180 sys/atomic_utils: add bit set/clear helpers for unsigned int 2025-04-28 15:26:04 +02: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