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

46599 Commits

Author SHA1 Message Date
Fabian Hüßler
95b46ee2a5 sys/net/application_layer/nanocoap: add nanocoap_sock_get_non 2024-09-10 16:43:44 +02:00
krzysztof-cabaj
882af4ea9d boards/nucleo144-f4: add pinout source 2024-09-10 11:27:49 +02:00
krzysztof-cabaj
841d0a0dfd boards/nucleo144-f3 add pinout source 2024-09-09 16:09:19 +02:00
krzysztof-cabaj
9ecbeae90e boards/nucleo144-f2: add pinout source 2024-09-09 14:03:45 +02:00
Dylan Laduranty
82ce32ee10 boards/saml1x: convert bitfields to new masks name
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-09-08 15:17:34 +02:00
Benjamin Valentin
66fe083d9b nanocoap: always write at least 1 byte in coap_block2_finish()
The CoAP block option gets written twice:
First a 'dummy' value is written by `coap_opt_add_block2()`, later this gets
overwritten by the real option value by coap_block2_finish().

The problem arises when the size of the option changes.
If the option ends up smaller than the dummy, we have garbage bytes after the
real option value, corrupting the packet.

To mitigate this, always write at least one option byte (which will be a 0 byte)
to ensure the dummy data is overwritten.

fixes #20686
2024-09-07 16:11:23 +02:00
Armin Wolf
82b07318ec sys/psa_crypto: Fix missing usage flags when creating new keys
The PSA crypto specification states that when creating keys,
the usage flags PSA_KEY_USAGE_SIGN_HASH/PSA_KEY_USAGE_VERIFY_HASH
automatically set the usage flags
PSA_KEY_USAGE_SIGN_MESSAGE/PSA_KEY_USAGE_VERIFY_MESSAGE on the key.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-09-07 12:12:22 +02:00
Armin Wolf
d0c4e01ca3 sys/psa_crypto: Move PSA status definition to separate file
When psa_status_t is defined inside crypto_types.h, then all
users of psa_status_t are forced to pull the full range of PSA
Crypto API type definitions.

This however means that psa_status_t cannot be used when defining
those PSA Crypto API types, since doing so would create a cycle.

Fix this by moving the PSA status definitions into a separate header
file which additionally is compatible with the PSA Status code API.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-09-07 12:12:19 +02:00
benpicco
ed9faa9f06
Merge pull request #20839 from mguetschow/nrf802154-rssi
cpu/nrf52: fix RSSI calculation in nrf802154_radio
2024-09-06 14:23:20 +00:00
benpicco
7dbb298766
Merge pull request #20372 from xnumad/rtr_ltime-test
tests/gnrc_ipv6_nib: rtr_ltime test
2024-09-06 11:36:39 +00:00
Dylan Laduranty
821a7e8c9f
Merge pull request #20851 from krzysztof-cabaj/nucleo-g474re-MCU-table
boards/nucleo-g474re: add MCU table
2024-09-05 09:38:10 +00:00
krzysztof-cabaj
6b55e1c93b boards/nucleo-g474re: add MCU table 2024-09-04 17:26:31 +02:00
benpicco
73e90c5049
Merge pull request #20371 from xnumad/nib-next-hop-addr
gnrc_ipv6_nib: Force unspecified next hop addresses
2024-09-02 12:13:28 +00:00
Dylan Laduranty
3046b07c14
Merge pull request #20848 from krzysztof-cabaj/nucleo-g431rb-MCU-table
boards/nucleo-g431rb: add MCU table to documentation
2024-09-02 08:19:07 +00:00
krzysztof-cabaj
8cd4369d00 boards/nucleo-g474re: add details of pinout source 2024-08-31 22:49:34 +02:00
xnumad
8b73628dc8 gnrc_ipv6_nib: refactor
Invert condition, add assert
2024-08-31 10:40:17 +02:00
xnumad
560d8c8ee5 gnrc_ipv6_nib: test: Force unspecified next hop addresses 2024-08-31 10:40:17 +02:00
krzysztof-cabaj
488b194714 boards/nucleo-g431rb: add MCU table 2024-08-30 16:24:27 +02:00
benpicco
f2076ad21e
Merge pull request #20846 from fzi-haxel/pr/lvgl-native64
pkg/lvgl: Increase default LV_MEM_SIZE for 64 bit and enable tests for native64
2024-08-30 08:47:31 +00:00
krzysztof-cabaj
ef523555f5 boards/nucleo-g431rb: add pinout source details 2024-08-29 21:36:01 +02:00
chrysn
84354ffb80 examples/rust-gcoap: Update external module dependency
This updates riot-sys, riot-wrappers and the riot-example-modules in for
this example, as all those are needed for full LED exposure, as well as
coap-message-utils for better error responses. An update to
coap-handler-implementations enables the use of the latest
riot-examples-modules.
2024-08-29 17:38:04 +02:00
Benjamin Valentin
16c447afb1 gcoap: make use of event_callback_post() 2024-08-29 17:35:54 +02:00
Dylan Laduranty
481b5803c6
Merge pull request #20842 from mariemC/fix/rtt_reset_after_hibernation
cpu/sam0_common/periph: fix rtt reset after hibernation
2024-08-29 15:26:37 +00:00
Benjamin Valentin
48850e6331 examples/twr_aloha: make use of event_callback_post() 2024-08-29 17:23:30 +02:00
Benjamin Valentin
6177380762 event_periodic_callback: add assertion that event has a handler 2024-08-29 17:20:16 +02:00
Benjamin Valentin
10f28b873e sys/event_callback: add event_callback_post() 2024-08-29 17:19:43 +02:00
Benjamin Valentin
18e6eaca00 sys/event: add assertion that event has a handler 2024-08-29 17:19:13 +02:00
mariemC
7df7886a69 cpu/sam0_common/periph: fix rtt reset after hibernation 2024-08-29 17:08:54 +02:00
chrysn
d469e6d978
Merge pull request #20844 from chrysn-pull-requests/rust-c2rust-install-temporary
doc: Point out common problem installing c2rust
2024-08-29 13:58:50 +00:00
chrysn
9f3bb827f4 examples/rust-gcoap: Update stack size
Tests with a particle-xenon show 5KiB free stack now; before, that would
have been an overflow by 3KiB.
2024-08-29 15:07:01 +02:00
chrysn
bfcc25a9c3 examples/rust-gcoap: Point out security situation 2024-08-29 15:07:01 +02:00
chrysn
7b78cc1f71 examples/rust-gcoap: Expose netif demo 2024-08-29 15:07:01 +02:00
chrysn
c3724af35b examples/rust-gcoap: Expose LEDs 2024-08-29 15:07:01 +02:00
chrysn
ae0c9420b3 doc: Point out common problem installing c2rust 2024-08-29 15:04:49 +02:00
Frederik Haxel
6ef197688f pkg/lvgl: Increase default LV_MEM_SIZE for 64 bit and enable tests for native64 2024-08-29 15:03:18 +02:00
Marian Buschsieweke
b469a52a21
Merge pull request #20840 from mguetschow/riotbuild-bump
makefiles/docker.inc.mk: bump riotbuild docker image to last available
2024-08-29 09:26:47 +00:00
Mikolai Gütschow
771c546e65
pkg/emlearn: add patch to remove redundant check 2024-08-29 11:03:45 +02:00
48ccf9c482
tests/pkg/emlearn: update generated model 2024-08-29 10:01:42 +02:00
1b0f8aab09
pkg/emlearn: bump to 0.17.1 2024-08-29 10:01:39 +02:00
Mikolai Gütschow
a68e2f0a70
makefiles/docker.inc.mk: bump riotbuild docker image to last available 2024-08-28 15:41:38 +02:00
Mikolai Gütschow
076dcefb92
cpu/nrf52: fix RSSI calculation in nrf802154_radio 2024-08-28 12:39:15 +02:00
xnumad
e767e4451a tests/gnrc_ipv6_nib: refactor: extract DAD test 2024-08-27 17:03:45 +02:00
xnumad
40c9dc8320 tests/gnrc_ipv6_nib: rtr_ltime test: Test before removing from DRL
Keep testing for options before removing default router
2024-08-27 12:32:12 +02:00
benpicco
b056060bd8
Merge pull request #20832 from krzysztof-cabaj/nucleo-g431rb-g474re-pinouts
boards/nucleo-g431rb & g474re: add pinouts to boards doc page
2024-08-27 09:14:37 +00:00
benpicco
022630c043
Merge pull request #20836 from benpicco/sys/gcoap-thread_name
gcoap: the name of the gcoap thread should be gcoap
2024-08-27 08:56:50 +00:00
xnumad
606a11b87d gnrc_ipv6_nib: fix: offl-only: overwrite unspecified address
Co-Authored-By: fabian18 <15147337+fabian18@users.noreply.github.com>
2024-08-26 18:26:57 +02:00
xnumad
48a2417892 gnrc/ipv6: nib route: hide off-link PLEs 2024-08-26 16:30:58 +02:00
benpicco
1626919da7
Merge pull request #20684 from fabian18/pr/fix_gcoap_observe_response_correlation
sys/net/application_layer/gcoap: fix Observe notifications correlation
2024-08-26 14:11:59 +00:00
Benjamin Valentin
f95dc978fa gcoap: the name of the gcoap thread should be gcoap 2024-08-26 15:44:26 +02:00
Fabian Hüßler
21a46dcf43 examples/cord_lc: adapt Makefile.ci 2024-08-26 15:34:00 +02:00