LP-HAW
9cf9638fdc
sys/random: fix SHAxPRNG init_by_array
2024-05-31 23:29:09 +02:00
Marian Buschsieweke
e93b5e4b98
core/thread: fix thread_measure_stack_free()
...
`thread_measure_stack_free()` previously assumed that reading past the
stack is safe. When the stack was indeed part of a thread, the
`thread_t` structure is put after the stack, increasing the odds of
this assumption to hold. However, `thread_measure_stack_free()` could
also be used on the ISR stack, which may be allocated at the end of
SRAM.
A second parameter had to be added to indicate the stack size, so that
reading past the stack can now be prevented.
This also makes valgrind happy on `native`/`native64`.
2024-05-31 19:54:10 +02:00
Marian Buschsieweke
835eaee630
*/Cargo.lock: bump rust-riot-wrappers
2024-05-31 18:26:48 +02:00
Lena Boeckmann
1c062d8d6a
sys/shell: add atca write config
2024-05-31 16:49:20 +02:00
Fabian Hüßler
f50dd7dade
gcoap/forward_proxy: set payload length in forwarded PDU
2024-05-31 12:04:48 +02:00
Fabian Hüßler
c12375eec4
gcoap/forward_proxy: reply from request destination address
2024-05-31 12:04:48 +02:00
Fabian Hüßler
f4b1306460
gcoap: pass aux local to _handle_req()
2024-05-31 12:04:48 +02:00
Fabian Hüßler
40fb250ae4
treewide: adapt to gcoap_req_send aux local API change
2024-05-31 12:04:48 +02:00
benpicco
251ea7f75a
Merge pull request #20687 from benpicco/nanocoap_fs
...
nanocoap_fs: add nanoCoAP as VFS backend (remote CoAP fs)
2024-05-29 15:00:24 +00:00
Fabian Hüßler
3973e4bb9d
gcoap: add aux local to gcoap_req_send
2024-05-29 16:37:13 +02:00
Benjamin Valentin
a87687c14e
nanocoap_fs: add nanoCoAP as VFS backend
2024-05-29 11:32:22 +02:00
Marian Buschsieweke
00db1dfc81
sys/event: change example in doc to be type safe
...
C is not a particularly safe language, but let's at least encourage
best practices so that the few safety features C have are effectively
used.
2024-05-29 11:07:52 +02:00
mguetschow
a2259db3bd
Merge pull request #20704 from KSKNico/documentation-event-fix
...
sys/event.h: Fixed documentation error by adding a type cast.
2024-05-28 19:26:55 +00:00
KSKNico
c4cd49351f
sys/event.h: Fixed documentation error by adding a type cast.
2024-05-28 19:42:09 +02:00
Benjamin Valentin
994211d955
nanocoap_sock: add nanocoap_sock_get_block()
2024-05-28 11:42:32 +02:00
benpicco
e62c25a015
Merge pull request #20690 from benpicco/nanocoap_get_blockwise_to_buf
...
nanocoap_sock: add nanocoap_get_blockwise_to_buf()
2024-05-27 16:53:44 +00:00
benpicco
27b06aa846
Merge pull request #20697 from fabian18/pr/nanocoap_sock_stop_retransmissions_after_empty_ack
...
nanocoap sock: stop retransmissions after empty ACK
2024-05-27 16:50:21 +00:00
Fabian Hüßler
b6aa7a6ea5
nanocoap/sock: fix response token matching for piggybacked ACKs
2024-05-27 17:58:44 +02:00
Fabian Hüßler
afc9f9bf28
nanocoap/sock: nanocoap_sock_request_cb(): fix state handling
2024-05-27 17:58:44 +02:00
Fabian Hüßler
058ab2ce40
nanocoap/sock: nanocoap_sock_request_cb(): wait for response without cb
2024-05-27 17:58:16 +02:00
Fabian Hüßler
ec9a114f7a
nanocoap/sock: stop retransmissions after empty ACK
2024-05-27 09:54:02 +02:00
Benjamin Valentin
a209ef173c
sys/ztimer64: fix build when PRIu64 is not defined
2024-05-24 19:19:40 +02:00
Benjamin Valentin
c5cfecb311
nanocoap_sock: add nanocoap_get_blockwise_to_buf()
2024-05-23 16:11:52 +02:00
Benjamin Valentin
4a431c8d1a
nanocoap_fileserver: add support for size2 option
2024-05-22 20:16:25 +02:00
Benjamin Valentin
df477f4e1a
shell/vfs: don't print size if it's not available
2024-05-22 18:53:37 +02:00
Benjamin Valentin
75641fb4b1
sys/include/net/sock: move config to separate header
2024-05-22 18:53:37 +02:00
Benjamin Valentin
d26a95193a
sys/net/gnrc_sock: add support for ZTIMER_MSEC
2024-05-21 23:58:28 +02:00
benpicco
3f41494e59
Merge pull request #20266 from benpicco/nanocoap_reply_separate
...
nanocoap_sock: implement separate response
2024-05-21 17:45:22 +00:00
Benjamin Valentin
dd458cb993
nanocoap_sock: use normal udp sock in nanocoap_server()
2024-05-21 19:27:57 +02:00
Benjamin Valentin
7e69c13630
nanocoap_sock: implement nanocoap_sock_send_separate()
2024-05-21 19:27:57 +02:00
Benjamin Valentin
330a6cfb91
nanocoap_sock: add local information to coap_request_ctx_t
2024-05-21 19:27:57 +02:00
Benjamin Valentin
c280076594
nanocoap: add coap_build_empty_ack()
2024-05-21 19:27:57 +02:00
Benjamin Valentin
2c232dd0d2
nanocoap: don't set type & code twice in coap_build_reply()
2024-05-21 19:25:55 +02:00
Benjamin Valentin
879d312960
nanocoap: make token const in coap_build_hdr()
2024-05-21 19:25:55 +02:00
Benjamin Valentin
42754b58ea
gnrc_sock_udp: set source port when aux local is present
2024-05-21 19:25:55 +02:00
Benjamin Valentin
52350852cc
sys/event/timeout: uninitialized event is not pending
2024-05-21 19:25:55 +02:00
Lena Boeckmann
b9ec5ad60f
sys/shell/cmds/cryptoauthlib: fix typos
2024-05-21 09:13:20 +02:00
Lena Boeckmann
16f9c51014
sys/shell: Update read command to also support ATECC608 devices
2024-05-17 17:00:15 +02:00
mguetschow
3255b95937
Merge pull request #20598 from mguetschow/psa-hashes-sha512-truncated
...
sys/psa_crypto: SHA-{384,512/{224,256}}
2024-05-17 09:20:03 +00:00
mguetschow
e9f290c2e8
Merge pull request #20674 from mguetschow/psa-crypto-keysize
...
sys/psa_crypto: remove keysize determination from Kconfig files
2024-05-16 11:47:24 +00:00
Mikolai Gütschow
6f5f4313bd
sys/psa_crypto: remove keysize determination from Kconfig files
2024-05-16 10:28:40 +02:00
benpicco
3c4b23c801
Merge pull request #20607 from mguetschow/psa-key-bits-cleanup
...
sys/psa_crypto: correct use of (ECDSA) key_bits
2024-05-16 08:17:47 +00:00
Lena Boeckmann
2d4a597fa1
sys/shell: fix some output issues
2024-05-16 09:06:13 +02:00
Lena Boeckmann
20cdbac5fc
sys/shell: Update cryptoauthlib shell commands
2024-05-15 18:30:51 +02:00
benpicco
22795248eb
Merge pull request #20651 from benpicco/shell_scripting
...
sys/shell: add support for running a batch of commands from a file
2024-05-15 09:35:04 +00:00
Benjamin Valentin
471e257c7c
sys/shell: add shell_parse_file()
2024-05-15 11:20:38 +02:00
Benjamin Valentin
138a94bae4
sys/shell: make shell_handle_input_line() public
2024-05-15 11:20:38 +02:00
Benjamin Valentin
9c4ca01e24
sys/vfs_util: add vfs_file_exists()
2024-05-15 11:20:38 +02:00
Benjamin Valentin
469c919969
sys/vfs: add vfs_readline()
2024-05-15 11:20:38 +02:00
Mikolai Gütschow
ecf259579a
sys/psa_crypto: support for SHA-{384,512-{224,256}}
2024-05-14 17:06:39 +02:00