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
Marian Buschsieweke
59738ba32d
tests/pkg/emlearn: drop model.h from builddep
...
Now that model.h is in the repo, it no longer is a build dependency.
This allows compilation of the test without having emlearn installed,
which is useful e.g. for build testing.
2024-10-14 11:20:41 +02:00
Marian Buschsieweke
0ffad1d65f
Merge pull request #20877 from maribu/tools/docker
...
build system: simplify docker image pinning
2024-10-11 10:08:54 +00:00
Marian Buschsieweke
4c92d78480
Merge pull request #20889 from Enoch247/fix_DEVELHELP
...
make: export DEVELHELP
2024-10-11 07:51:42 +00:00
Marian Buschsieweke
0f4725e3a8
Merge pull request #20904 from maribu/boards/adafruit-grand-central-m4-express/spi-isp
...
boards/adafruit-grand-central-m4-express: provide arduino features
2024-10-10 11:05:45 +00:00
benpicco
3abfc81ba5
Merge pull request #20902 from maribu/work-around-newlib-nano-stdio-missing-64-bit-support
...
tree-wide: fix compilation with newlib and GCC 13.2.1
2024-10-10 09:05:01 +00:00
Marian Buschsieweke
7f68acbd0b
boards/adafruit-grand-central-m4-express: provide arduino features
...
The board is compatible with Arduino UNO and Arduino MEGA shields and
has an ISP connector, so this adds the corresponding features.
This adds the Arduino I/O-mapping for the ISP SPI and provides the
corresponding feature.
It appears that the SPI on D11/D12/D13 cannot be provided by a SERCOM,
this is under clarification at [1]. For now, no I/O mapping for that
SPI bus is provided.
[1]: https://forums.adafruit.com/viewtopic.php?t=214093
2024-10-10 10:23:24 +02:00
Dylan Laduranty
68789a9624
Merge pull request #20901 from maribu/pkg/bme680/use-archive
...
pkg/driver_bme680: use mirror of git repo
2024-10-10 07:57:31 +00:00
Dylan Laduranty
47ddeffe31
Merge pull request #20903 from maribu/cpu/sam0_common/periph_dma-API-mismatch
...
cpu/sam0_common/periph_dma: Fix API mismatch
2024-10-10 07:38:36 +00:00
Marian Buschsieweke
702ad02b33
cpu/sam0_common/periph_dma: Fix API mismatch
...
Match the signature of the implementation of the dma_prepare() with the
declaration to fix:
/home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/periph/dma.c:172:6: error: conflicting types for 'dma_prepare' due to enum/integer mismatch; have 'void(dma_t, uint8_t, const void *, void *, size_t, uint8_t)' {aka 'void(unsigned int, unsigned char, const void *, void *, unsigned int, unsigned char)'} [-Werror=enum-int-mismatch]
172 | void dma_prepare(dma_t dma, uint8_t width, const void *src, void *dst,
| ^~~~~~~~~~~
In file included from /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/samd5x/include/periph_cpu.h:26,
from /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/periph/dma.c:21:
/home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/include/periph_cpu_common.h:1186:6: note: previous declaration of 'dma_prepare' with type void(dma_t, uint8_t, const void *, void *, size_t, dma_incr_t)' {aka 'void(unsigned int, unsigned char, const void *, void *, unsigned int, dma_incr_t)'}
1186 | void dma_prepare(dma_t dma, uint8_t width, const void *src, void *dst,
| ^~~~~~~~~~~
2024-10-09 23:00:06 +02:00
Marian Buschsieweke
8c9105c60c
tests/unittests: fix compilation with newlib and GCC 13.2.1
...
newlib (nano) is missing 64 bit support in stdio and inttypes.h. This
works around the issue.
2024-10-09 22:32:43 +02:00
Marian Buschsieweke
18036a8326
pkg/tinycbor: fix compilation with newlib and GCC 13.2.1
...
newlib (nano) is missing 64 bit support in stdio and inttypes.h. This
works around the issue.
2024-10-09 22:23:47 +02:00