1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 01:52:45 +01:00
Commit Graph

46261 Commits

Author SHA1 Message Date
Karl Fessel
b58b25516c Makefile.include: place compile_commands.json by rule target 2024-05-31 13:37:43 +02:00
Marian Buschsieweke
f34cd3f7c1
cpu/native: fix build with musl
This changes a bunch of things that allows building with the musl C lib,
provided that `libucontext-dev` and `pkg-config` are installed.

Note that installing libucontext makes absolutely zero sense on C libs
that do natively provide this deprecated System V API, such as glibc.
Hence, it no sane glibc setup is expected to ever have libucontext
installed.

A main pain point was that argv and argc are expected to be passed to
init_fini handlers, but that is actually a glibc extension. This just
parses `/proc/self/cmdline` by hand to populate argv and argc during
startup, unless running on glibc.
2024-05-31 12:18:33 +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
Marian Buschsieweke
095bc344fe
Merge pull request #20715 from kaspar030/ci_disable_esp32-wroom-32
ci: disable esp32-wroom-32 tests
2024-05-30 20:44:48 +00:00
f6e9a1dbaa ci: disable esp32-wroom-32 tests 2024-05-30 22:23:28 +02:00
Dylan Laduranty
93639cb73e
Merge pull request #20708 from dylad/pr/cpu/saml21/avoid_bitfields_reg
cpu/saml21: avoid the use of bitfield in register call
2024-05-30 15:42:20 +00:00
Dylan Laduranty
bc188c5a48 cpu/saml21: avoid the use of bitfield
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-30 17:29:00 +02:00
Marian Buschsieweke
230df5fe3b
Merge pull request #20712 from maribu/dist/tools/tapsetup/doas
dist/tools/tapsetup: make compatible with doas
2024-05-30 10:37:29 +00:00
Dylan Laduranty
16f6a4bb93 cpu/samd21: avoid the use of bitfield
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-30 12:01:24 +02:00
Marian Buschsieweke
d05d33f636
dist/tools/tapsetup: make compatible with doas
`doas` doesn't set `SUDO_USER`, but `DOAS_USER`. This populates
`SUDO_USER` with `DOAS_USER` if it is empty, so the script works with
both doas and sudo.
2024-05-30 09:38:44 +02:00
Marian Buschsieweke
ea3d4c8a65
Merge pull request #20709 from benpicco/stack_overflow-thread
cpu/cortexm_common: print last active thread on stack corruption
2024-05-30 07:17:21 +00:00
Marian Buschsieweke
be4dd0eb7c
Merge pull request #20710 from dylad/pr/cpu/saml1x/avoid_bitfields_reg
cpu/saml1x: avoid the use of bitfield in register calls
2024-05-30 07:17:03 +00:00
Benjamin Valentin
00c1f4ea4d cpu/cortexm_common: print last active thread on stack corruption 2024-05-29 18:27:27 +02:00
Dylan Laduranty
0ce8780dfa cpu/saml1x: avoid the use of bitfield
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-29 17:45:25 +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
eacc4f9152 pkg/flashdb: use common MIN() macro 2024-05-29 16:35:32 +02:00
Benjamin Valentin
4ff877d239 tests/periph/hwrng: LIMIT -> NUM_BYTES 2024-05-29 14:20:49 +02:00
Dylan Laduranty
611e364864
Merge pull request #20707 from krzysztof-cabaj/nucleo-l4r5zi-l496zg-pinout
boards/nucleo-l4r5zi and l496zg: add pinout to documentation page
2024-05-29 11:36:11 +00:00
krzysztof-cabaj
0d5b3a2cd4 boards/nucleo-l496zg: add pinout to board documentation 2024-05-29 11:47:26 +02:00
krzysztof-cabaj
2b32b4cfa8 boards/nucleo-l496zg: add pinout file 2024-05-29 11:33:38 +02:00
Benjamin Valentin
f42386587d tests/nanocoap_fs: add test for nanoCoAP fs 2024-05-29 11:32:22 +02:00
Benjamin Valentin
a87687c14e nanocoap_fs: add nanoCoAP as VFS backend 2024-05-29 11:32:22 +02:00
mguetschow
bceb99c25d
Merge pull request #20706 from maribu/sys/event/doc/type-safety
sys/event: change example in doc to be type safe
2024-05-29 09:17:10 +00: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
krzysztof-cabaj
ea1dfbc8d3 boards/nucleo-l4r5zi: add pinout to board doc page 2024-05-29 09:47:52 +02:00
krzysztof-cabaj
1d56f45bc6 boards/nucleo-l4r5zi: add pinout file 2024-05-29 09:33:29 +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
Marian Buschsieweke
9187d16c78
features.yaml: s/esp_eth/periph_eth/
Use periph_eth instead of esp_eth for the Ethernet peripheral on ESP
MCUs for consistency
2024-05-28 20:59:29 +02:00
Marian Buschsieweke
8e375548ad
build system: provide netif feature implicitly
If a board already provided a netif_% feature (currently only
netif_ethernet), the netif feature is automagically provided.
2024-05-28 20:53:52 +02:00
Marian Buschsieweke
195d6617b2
dist/tools/buildsystem_sanity_check: Relax on Makefile.features
In order to extend features based on provided features, we need to
check contents of `FEATURES_PROVIDED`.
2024-05-28 20:53:52 +02:00
KSKNico
c4cd49351f sys/event.h: Fixed documentation error by adding a type cast. 2024-05-28 19:42:09 +02:00
Teufelchen
10d8e4f399
Merge pull request #20702 from derMihai/mir/at_expose_api
drivers/at: expose some internal API
2024-05-28 15:37:14 +00:00
Marian Buschsieweke
2d1999a873
Merge pull request #20703 from FlapKap/update-tfmicro
pkg/tflite-micro: add proper options to flatc
2024-05-28 11:48:09 +00:00
Mihai Renea
5a7d553b8e drivers/at: expose some internal API 2024-05-28 12:20:54 +02:00
Benjamin Valentin
994211d955 nanocoap_sock: add nanocoap_sock_get_block() 2024-05-28 11:42:32 +02:00
Kasper Hjort Berthelsen
80a7cf86ca pkg/tflite-micro: add proper options to flatc 2024-05-28 11:30:37 +02:00
Marian Buschsieweke
65aaeae933
Merge pull request #20695 from maribu/pkg/openwsn/feature
build system: add netif_openwsn feature
2024-05-28 08:08:34 +00:00
benpicco
0b7cd0ec43
Merge pull request #20701 from mguetschow/core-assert-cleanup
core/lib/assert: consistify output and cleanup documentation
2024-05-28 07:48:24 +00:00
Marian Buschsieweke
61679fb5f9
tests/pkg/openwsn*: drop whitelist
Now that OpenWSN depends on netif_openwsn, there is no need for
manually tracking which boards are supported
2024-05-27 22:57:21 +02:00
Marian Buschsieweke
4cf1d5e40d
pkg/openwsn: Add missing include
`UART_NUMOF` is defined in `periph_conf.h`, not in `board.h`.
2024-05-27 22:57:21 +02:00
Marian Buschsieweke
aa084dd5d5
pkg/openwsn: correctly add dependencies
OpenWSN requires a compatible network interface (feature
`netif_openwsn`) and UART (at least `UART_NUMOF` needs to be provided).
2024-05-27 22:57:21 +02:00
Marian Buschsieweke
798793e60a
build system: add netif_openwsn feature
Boards / MCUs now provide the newly introduced  netif_openwsn feature
if they have a network interface supported by OpenWSN.
2024-05-27 22:56:37 +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
9dfdf2b319 examples/nanocoap_server: 5.03 only for different requests to /separate 2024-05-27 17:58:44 +02:00
Fabian Hüßler
b6aa7a6ea5 nanocoap/sock: fix response token matching for piggybacked ACKs 2024-05-27 17:58:44 +02:00