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

45254 Commits

Author SHA1 Message Date
Benjamin Valentin
3062d43a1d examples/suit_update: make use of nanocoap_server_auto_init 2024-02-12 18:23:54 +01: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
Fabian Hüßler
3167d58e0d pkg/flashdb: add configurable sector size 2024-02-08 20:48:14 +01:00
Marian Buschsieweke
26946a721b
Merge pull request #20360 from maribu/stm32-adc-typo
cpu/stm32/periph_adc: fix register access
2024-02-08 16:31:46 +00:00
Joshua DeWeese
fa7a577728 tests/unittests: add test for ABS() macro 2024-02-08 10:56:11 -05:00
Joshua DeWeese
b1cb2435d8 tests/unittests: add unit test for LIMIT() macro 2024-02-08 10:56:00 -05:00
Joshua DeWeese
8e3bbca8b5 tests/unittests: add tests for MAX()/MIN() macros 2024-02-08 10:55:37 -05:00
Joshua DeWeese
c3a4beb200 treewide: make use of new IPv4 static init macro
This commit makes use of the newly added static initializer for IPv4
addresses.
2024-02-08 10:14:24 -05:00
Joshua DeWeese
45c1441e4d macros/utils: add ABS() macro
This patch adds the classic ABS() macro to exist along side of the
MAX/MIN macros.
2024-02-08 09:52:22 -05:00
Joshua DeWeese
78a1a18683 macros/utils: add LIMIT() macro
This patch adds a macro that can be used to limit a value to a given
range.
2024-02-08 09:52:22 -05:00
Marian Buschsieweke
4ed287cec8
cpu/stm32/periph_adc: fix register access
The register access to SMPR1/SMPR2 was incorrect in three aspects:

1. For channels < 10, SMPR1 was cleared but SMPR2 should have been
   cleared
2. The code was not thread-safe
3. An unneeded write was issued. (The compiler won't combine the
   in-place bitwise operations into a single read-modify-write
   sequence on `volatile` memory.)

Fixes https://github.com/RIOT-OS/RIOT/issues/20261
2024-02-08 14:51:25 +01:00