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

45330 Commits

Author SHA1 Message Date
011891b9cf
nanocoap/cache: Extend with option-only cache keygen
To generate cache keys based on only the options of a request. This for
matching requests of a blockwise transfer with each other
2024-02-12 21:20:39 +01:00
Marian Buschsieweke
dd0de1ba25
examples,tests: update Makefile.ci
With the new RISC-V toolchain, some binaries grew larger, most smaller.
2024-02-12 20:40:31 +01:00
Marian Buschsieweke
663b74cb7c
markfiles/cargo-targets.inc.mk: Drop legacy triple
The legacy `riscv-none-embed` target triple is incorrect and the
toolchain using it has long been obsolete. With our CI no longer
using the obsolete toolchain, there is no need to handle that one
anymore.
2024-02-12 20:40:31 +01:00
Marian Buschsieweke
147945402c
dist/tools/ci/print_toolchain_versions.sh: Update
This drops support for the legacy riscv-none-embed target triple. That
value has been incorrect since the beginning and the toolchain that
used that has been long declared obsolete and is fairly outdated.

With our CI updating the toolchain, we no longer need to check for
that.
2024-02-12 20:40:30 +01:00
Marian Buschsieweke
d59977c563
makefiles/arch/riscv.inc.mk: update RISC-V target triple
The CI now uses `riscv-none-elf` over the previous (and technically
incorrect) `riscv-none-embed`. In addition, we no longer probe for
host toolchains with the incorrect target triple, as the source
providing it has long declared the toolchain with the incorrect
triple as obsolete.
2024-02-12 20:40:30 +01:00
Marian Buschsieweke
38ab1472e6
boards/common/makefiles/stdio_cdc_acm.dep.mk: fix
This fixes compilation issues in `tests/pkg/tinyusb_netdev` with
newer versions of the RISC-V toolchain due to two competing USB
stacks being pulled in. With the older toolchain the build system
warns:

    The following features may conflict: periph_usbdev tinyusb_device

But builds fine (even though surprises at runtime are likely). The
newer toolchain takes an issue with the same symbol being linked
in more than once (and more than one instance not being `weak`).
2024-02-12 19:55:40 +01:00
Benjamin Valentin
49f51e4706 tests/pkg/edhoc_c: make use of nanocoap_server_auto_init 2024-02-12 18:23:54 +01:00
Benjamin Valentin
d02d194c85 tests/riotboot_flashwrite: make use of nanocoap_server_auto_init 2024-02-12 18:23:54 +01:00
Benjamin Valentin
3062d43a1d examples/suit_update: make use of nanocoap_server_auto_init 2024-02-12 18:23:54 +01:00
Marian Buschsieweke
f68f977274
Merge pull request #20312 from maribu/drivers/periph_common/spi/transfer_u16
drivers/periph_spi: Add `spi_transfer_u16_be()`
2024-02-12 16:24:10 +00:00
benpicco
597b2ad907
Merge pull request #20374 from benpicco/coap_resources_numof-remove
always use nanocoap_resources instead of manually assembling coap_resources[]
2024-02-12 16:00:34 +00:00
Marian Buschsieweke
2c78b7d5d3
Merge pull request #20376 from maribu/dist/tools/insufficient_memory
dist/tools/insufficient_memory: add RISC-V failure mode
2024-02-12 15:43:31 +00:00
Marian Buschsieweke
b04a4bba6c
Merge pull request #20375 from maribu/tests/periph/spi_dma
tests/periph/spi_dma: fix Makefile.ci
2024-02-12 15:42:29 +00:00
Marian Buschsieweke
3718f48bc2
dist/tools/insufficient_memory: add RISC-V failure mode
On RISC-V a RAM overlow is reported as:

    /opt/xpack-riscv-none-elf-gcc-13.2.0-2/bin/../lib/gcc/riscv-none-elf/13.2.0/../../../../riscv-none-elf/bin/ld: section .stack VMA [80003f00,80003fff] overlaps section .bss VMA [800000a8,80003fb7]

This extends the list of patters detecting RAM overflow.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-02-12 16:13:41 +01:00
Marian Buschsieweke
1fcf778526
tests/periph/spi_dma: fix Makefile.ci
The `Makefile.ci` was intended to be read and generated by command
line utilities and the contents should look exactly like this:

```
BOARD_INSUFFICIENT_MEMORY += \
    board_a \
    board_b \
    ... \
    #
```

No fancy schmancy, no `include`, no nothing. This fixes the format.
2024-02-12 15:57:43 +01:00
Benjamin Valentin
2dd6a65ea9 tests/riotboot_flashwrite: make use of nanocoap_resources 2024-02-12 15:43:23 +01:00
Benjamin Valentin
67411db26f tests/pkg: make use of nanocoap_resources 2024-02-12 15:40:21 +01:00
Benjamin Valentin
07152de04c examples/suit_update: make use of nanocoap_resources 2024-02-12 15:35:49 +01:00
benpicco
270aa7012f
Merge pull request #20221 from fabian18/pr/flashdb_cfg_enhancement
pkg/flashdb: enhance FAL config
2024-02-10 22:33:03 +00:00
Fabian Hüßler
bf4bfdfbe9 tests/pkg/flashdb_fal_cfg: add Makefile.ci 2024-02-10 23:20:24 +01:00
Fabian Hüßler
b671dd4d98 tests/pkg/flashdb_mtd: add Makefile.ci 2024-02-10 23:20:24 +01:00
benpicco
0723d2f3a0
Merge pull request #20368 from derMihai/mir/fix_async
cpu/native: fix native_async_read_remove_handler() + enable all baudrates
2024-02-10 15:17:11 +00:00
Mihai Renea
fc3d0d8676 cpu/native: fix native_async_read_remove_handler() + enable all baudrates 2024-02-10 15:46:00 +01:00
benpicco
9501f64c4e
Merge pull request #20365 from derMihai/mir/native_uart_poweroff
cpu/native/periph/uart: uart_poweroff() closes the file descriptor + extended baud-rate support on Linux
2024-02-10 10:35:31 +00:00
benpicco
55b6728224
Merge pull request #19738 from benpicco/stdio_dispatch
stdio_dispatch: allow to select multiple stdio methods at the same time
2024-02-09 16:13:27 +00:00
benpicco
6c96952a9f
Merge pull request #20358 from kaspar030/disable_flakey_native_tests
ci: disable some more flakey native tests
2024-02-09 16:12:55 +00:00
Benjamin Valentin
018b7321ed pkg/tinyusb/cdc_acm_stdio: only enable RX callback if stdin is active 2024-02-09 15:31:21 +01:00
Benjamin Valentin
2d22cc8f49 sys/net/telnet: disable local echo 2024-02-09 15:31:21 +01:00
Benjamin Valentin
550d93f873 sys/net/telnet: properly detect disconnect 2024-02-09 15:31:21 +01:00
Benjamin Valentin
816aafdb5a sys/net/telnet: fix race condition on disconnect 2024-02-09 15:31:21 +01:00
Benjamin Valentin
8d205b496b drivers/slipdev: don't append 0-byte to stdin 2024-02-09 15:31:21 +01:00
Benjamin Valentin
6fdcc56f38 stdio_slipdev: port to new interface 2024-02-09 15:31:21 +01:00
Benjamin Valentin
f5181732de sys/fmt: don't include stdio_base.h 2024-02-09 15:31:21 +01:00
Benjamin Valentin
028f6e54f6 stdio_semihosting: port to new interface 2024-02-09 15:31:21 +01:00
Benjamin Valentin
5548c3d742 pkg/tinyusb/cdc_acm_stdio: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
b575e2d35b stdio_telnet: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
c1b6c813ae stdio_nimble: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
35ef7ca389 cpu/esp32/stdio_usb_serial_jtag: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
8bec71331c stdio_null: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
68c8a9a3a2 sys/usb/cdc/acm: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
76997fdd76 stdio_rtt: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
7c1cdb16af stdio_udp: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
cce5312be8 stdio_uart: port to new interface 2024-02-09 15:24:22 +01:00
Benjamin Valentin
c1162e4818 sys/stdio: add common stdio module 2024-02-09 15:24:22 +01:00
Mihai Renea
795415d59e cpu/native/periph/uart: uart_poweroff() closes the file descriptor 2024-02-09 12:55:40 +01:00
mguetschow
de1efc6772
Merge pull request #20344 from Teufelchen1/chore/fmt_test_3
tests: Add NULL pointer argument test for fmt_lpad/to_lower/str
2024-02-09 10:41:17 +00:00
Teufelchen1
dbcfa1bdc8 tests: Add NULL pointer argument test for fmt_lpad/to_lower/str 2024-02-09 11:03:05 +01:00
Marian Buschsieweke
2dbc80fe59
Merge pull request #20352 from Enoch247/add-limit-macro
macros/utils: add LIMIT() and ABS() macros
2024-02-09 06:06:48 +00:00
benpicco
942b798073
Merge pull request #20362 from Enoch247/use-ipv4-init-macro
treewide: make use of new IPv4 static init macro
2024-02-08 20:23:10 +00:00
Fabian Hüßler
057695bdde tests/pkg/flashdb: add test for FAL config initialization 2024-02-08 20:48:14 +01:00