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

46820 Commits

Author SHA1 Message Date
mguetschow
e5c185b9eb
Merge pull request #20927 from Firobe/dht-fix
drivers/dht: fix null deref with saul
2024-10-21 13:54:50 +00:00
Virgile Robles
7c68f00cd1 drivers/dht: test and doc 2024-10-21 15:13:23 +02:00
benpicco
c48247f984
Merge pull request #20916 from derMihai/mir/event_sync_mainline
sys/event: add event_sync()
2024-10-21 09:55:56 +00:00
Virgile Robles
a2db594eb5 drivers/dht: fix null deref with saul 2024-10-20 07:53:52 +02:00
krzysztof-cabaj
53b2f78ce7 boards/nucleo-l4: add pinout source 2024-10-19 18:10:06 +02:00
krzysztof-cabaj
c9e4ae173b boards/nucleo64-l0: add pinout source 2024-10-19 18:09:57 +02:00
Vjorald
d2600f8eff cord/doc: Remove the label (Not Yet Implemented) and the group part
Co-authored-by: chrysn <chrysn@fsfe.org>
2024-10-18 23:55:07 +02:00
Vjorald
d4fb64cfbc cord/doc: Update references to RFC 9176 2024-10-18 23:52:35 +02:00
Marian Buschsieweke
616e6a526a
Merge pull request #20924 from Enoch247/fix-ztimer-timer-reschedule
sys/ztimer: fix re-scheduling of timers
2024-10-18 21:25:33 +00:00
Joshua DeWeese
4e357d410c cpu/stm32/periph/timer: prevnt spurious IRQs
This patch hardens the STM32 timer driver against some possible causes
of spurious IRQs.
2024-10-18 15:51:42 -04:00
Joshua DeWeese
45942f6821 sys/ztimer: fix re-scheduling of timers
If the timer at the head of a ztimer clock's timer list is re-scheduled
(ztimer_set() called on an already set timer) and the timer is no longer
at the head after being re-scheduled, clock-ops->set() is never called
from inside ztimer_set(), and the underlying timer is left with an ISR
scheduled to expire at the timer's old time. The intended behavior is
that the clock's lower level timer should always be set to expire at the
time of the clocks head timer.

This patch changes ztimer_set() to call _ztimer_update(), which sets the
lower level timer according to the current list of timers, rather than
setting the timer directly inside of ztimer_set().
2024-10-18 14:52:11 -04:00
krzysztof-cabaj
f96151ea2d boards/nucleo64-l1: add pinout source 2024-10-18 18:02:00 +02:00
krzysztof-cabaj
cdf84b5ca8 boards/nucleo64-f4: add pinout source 2024-10-18 18:02:00 +02:00
krzysztof-cabaj
f45ccded23 boards/nucleo64-f3: add pinout source 2024-10-18 18:02:00 +02:00
krzysztof-cabaj
8e46b11f08 boards/nucleo64-f1: add pinout source 2024-10-18 18:02:00 +02:00
krzysztof-cabaj
bc7511e03b boards/nucleo64-f0: add pinout source 2024-10-18 18:02:00 +02:00
krzysztof-cabaj
18f63f7451 boards/nucleo64-g0: add pinout source 2024-10-18 18:02:00 +02:00
benpicco
5b23bfb962
Merge pull request #20922 from krzysztof-cabaj/nucleo-f722-doc-typo
boards/nucleo-f722: fix typo in documentation
2024-10-18 15:09:44 +00:00
krzysztof-cabaj
fd7eaec2d5 boards/nucleo-f722: fix typo in documentation 2024-10-18 16:51:50 +02:00
Mihai Renea
9996909b65 sys/event: add event_sync() 2024-10-18 13:14:04 +02:00
benpicco
ed9c6a2e47
Merge pull request #20919 from chrysn-pull-requests/rust-updates
treewide: Update Rust dependencies
2024-10-18 09:36:21 +00:00
mguetschow
68448aec42
Merge pull request #20920 from chrysn-pull-requests/rust182
makefiles: Update docker image
2024-10-18 07:47:40 +00:00
chrysn
340dc65629 makefiles: Update docker image 2024-10-18 09:13:13 +02:00
benpicco
bada659375
Merge pull request #20918 from maribu/sys/net/nanocoap/coap_pkt_set_code
sys/nanocoap: add coap_pkt_set_code()
2024-10-17 16:02:19 +00:00
chrysn
bb3520fff0 treewide: Update Rust dependencies 2024-10-17 16:20:26 +02:00
Dylan Laduranty
39f14f7f71
Merge pull request #20913 from benpicco/boards/saml10-xpro_cryptoauthlib
boards/saml10-xpro: enable ATECC508A
2024-10-17 13:28:21 +00:00
Marian Buschsieweke
f16875b6ec
sys/nanocoap: add coap_pkt_set_code()
This adds a small convenience function to set the CoAP code of a packet
and converts users of coap_hdr_set_code() where applicable.
2024-10-17 14:56:54 +02:00
Marian Buschsieweke
52dd2c7f5a
Merge pull request #20917 from maribu/sys/net/nanocoap/fix-ub
sys/net/nanocoap: fix UB when building hdr
2024-10-17 12:22:03 +00:00
Marian Buschsieweke
835571c0a7
sys/net/nanocoap: fix UB when building hdr
Some calls to `coap_build_hdr()` were done with the target buffer for
the header and the source buffer for the token overlapping:
They reuse the buffer that held the request to assemble the response in.
We cannot use `memcpy()` in this case to copy the token into the target
buffer, as source and destination would (fully) overlap.

This commit makes reusing the request buffer for the response a special
case: `memcpy()` is only used to copy the token if source and
destination address of the token differ.

An alternative fix would have been to use `memmove()` unconditionally.
But `memmove()` does not make any assumption about the layout of target
and source buffer, while we know that the token either will already be
at the right position (when reusing the request buffer for the response)
or be in a non-overlapping buffer (when generating a fresh token). This
approach is more efficient than `memmove()`.
2024-10-17 14:02:06 +02:00
Wunderbaeumchen
b9396c4739 sys/psa_crypto: chacha20 oneshot gluecode 2024-10-17 10:25:59 +02:00
mguetschow
4f5c0ed3f7
Merge pull request #20894 from Enoch247/littlefs-logging
pkg/littlefs: make use of RIOT's log module instead of pkg provided macros
2024-10-17 08:18:37 +00:00
benpicco
31036ebfc5
Merge pull request #20914 from AnnsAnns/cpu/esp32
cpu/esp32: Improve error descriptions
2024-10-16 16:47:31 +00:00
Benjamin Valentin
0047222124 boards/saml10-xpro: enable ATECC508A 2024-10-16 16:44:20 +02:00
Fabian Hüßler
224fdb2294 gcoap/farward_proxy: handle timeout case 2024-10-16 16:10:28 +02:00
AnnsAnn
db2a20c96c cpu/cortexm: fix spelling mistake 2024-10-16 16:04:10 +02:00
AnnsAnn
bd48d0bb82 cpu/esp32: improve build error messages 2024-10-16 16:02:32 +02:00
benpicco
3706589959
Merge pull request #20834 from derMihai/mir/nib/drop_for_unreachable_rebase
gnrc/ipv6/nib: don't queue packets on 6lo neighbors and drop/flush if…
2024-10-16 09:16:40 +00:00
mguetschow
ed052ec9be
Merge pull request #20865 from maribu/clang-format
.clang-format: Add default clang-format configuration
2024-10-16 09:15:05 +00:00
Marian Buschsieweke
e7c91fad05
.clang-format: Add default clang-format configuration
This adds a clang-format configuration based on the Linux Kernel
configuration and modified to better match RIOT's coding convention.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-10-16 10:58:55 +02:00
Mihai Renea
3a5612ee57 gnrc/ipv6/nib: don't queue packets on 6lo neighbors and drop/flush if UNREACHABLE 2024-10-16 09:01:36 +02:00
benpicco
9123b5e8c6
Merge pull request #20911 from fabian18/pr/event_periodic_no_delay
sys/event: add API to start periodic event without initial delay
2024-10-15 22:13:00 +00:00
Joshua DeWeese
96e5f141ac pkg/littlefs: make use of RIOT's logging
This patch replaces the package supplied logging macros with RIOT's. It
also removes the requirement that DEVELHELP be defined to enable
logging. Instead, logging can be enabled/dissabled via the log level.
2024-10-15 13:05:50 -04:00
Joshua DeWeese
5c6be0cdd7 pkg/littlefs2: make use of RIOT's logging
This patch replaces the package supplied logging macros with RIOT's. It
also removes the requirement that DEVELHELP be defined to enable
logging. Instead, logging can be enabled/dissabled via the log level.

The patch also replaceses the package's trace macro with RIOT's DEBUG
macro.
2024-10-15 13:05:50 -04:00
Fabian Hüßler
d4cd708849 tests/sys/event_ztimer: add event_periodic_start_now() to test 2024-10-14 21:18:27 +02:00
Fabian Hüßler
90473c62f0 sys/event: add event_periodic_start_now() 2024-10-14 21:17:38 +02:00
Fabian Hüßler
2b682585a7 sys/ztimer: add ztimer_periodic_start_now() 2024-10-14 21:15:50 +02:00
Martine Lenders
5094f03f5d
Merge pull request #20909 from maribu/tests/net/gcoap_forward_proxy
tests/net: add stub test for gcoap_forward_proxy
2024-10-14 14:50:56 +00:00
Marian Buschsieweke
a671229f09
tests/net: add stub test for gcoap_forward_proxy
This adds enough to do compile testing for gcoap_forward_proxy.
A proper test would still be needed, though.

This still already exposed compilation issues.
2024-10-14 16:29:52 +02:00
benpicco
df21984904
Merge pull request #20908 from maribu/tests/pkg/emlearn
tests/pkg/emlearn: drop model.h from builddep
2024-10-14 14:23:50 +00:00
Marian Buschsieweke
71b91a1d0e
sys/net/gcoap_forward_proxy: fix compilation issues 2024-10-14 14:30:20 +02:00