1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-13 08:40:26 +01:00
Commit Graph

46820 Commits

Author SHA1 Message Date
Karl Fessel
737f675442
Merge pull request #18663 from Ollrogge/fido2_follow_up2
sys/fido2: follow up continued
2024-11-28 10:09:47 +00:00
Marian Buschsieweke
67a22dba5e
Merge pull request #19837 from HendrikVE/stdio_uart_add_flush_rx
sys/stdio_uart: add stdio_clear_stdin
2024-11-27 11:27:03 +00:00
Teufelchen
5fa8f65c44
Merge pull request #21036 from maribu/tests/sys/shell/fix-test
tests/sys/shell: make test script more robust
2024-11-27 11:25:09 +00:00
Marian Buschsieweke
9fd4b915c6
Merge pull request #21050 from maribu/cpu/cortexm_common/iwyu-clean
cpu/cortexm_common: Make cpu.h IWYU clean
2024-11-27 11:11:52 +00:00
Hendrik van Essen
6f9edfe7a2 sys/stdio_uart: add stdio_clear_stdin 2024-11-27 11:57:54 +01:00
Marian Buschsieweke
faa3727b1f
cpu/cortexm_common: Make cpu.h IWYU clean
There is clearly no reason `cpu.h` should `#include <stdio.h>`.

Also add an export pragma to `cpu_conf.h`, as portable code is
expected to include `cpu.h` (which exists across MCU families in RIOT),
and not `cpu_conf.h` (which only exists for some MCU families).
2024-11-27 11:57:20 +01:00
Marian Buschsieweke
c507ebff43
examples/pio_blink: add missing include 2024-11-27 11:57:20 +01:00
Marian Buschsieweke
f0880b386e
pkg/openwsn: add missing include 2024-11-27 09:18:30 +01:00
Marian Buschsieweke
0dfd83938f
{cpu,drivers}/periph_gpio_ll: add missing include
For `gpio_ll_print_conf()` we need to include `<stdio.h>`, when not
using `fmt.h`.
2024-11-27 09:06:56 +01:00
benpicco
6f3f4256df
Merge pull request #21045 from benpicco/suit/coap_endpoints
suit: move CoAP endpoints to the example
2024-11-26 23:13:39 +00:00
mguetschow
df63e81883
Merge pull request #21044 from miri64/tools/enh/examples/README.md
check_in_readme.sh: tell dev _which_ README.md
2024-11-26 20:39:06 +00:00
Benjamin Valentin
83569aa558 suit: move CoAP endpoints to the example
Those endpoints are very specific to the example and not
useful for general use.

Move them to the example's CoAP endpoints.
2024-11-26 19:49:20 +01:00
Martine Lenders
7160166bc7
check_in_readme.sh: tell dev _which_ README.md 2024-11-26 19:39:50 +01:00
Marian Buschsieweke
1f624ad883
Merge pull request #21041 from maribu/boards/adafruit-metro-m4/improvements
boards/adafruit-metro-m4-express: Minor improvements
2024-11-26 15:48:00 +00:00
Marian Buschsieweke
3b238f7db3
Merge pull request #21042 from maribu/tests/periph/selftest_shield/fix-uart
tests/periph/selftest_shield: Fix UART test
2024-11-26 15:47:43 +00:00
Marian Buschsieweke
d0e4f4d279
Merge pull request #20989 from mguetschow/tests-thread-priority
tests/core/thread_msg: lower thread priority for consistent output order
2024-11-26 15:15:04 +00:00
Marian Buschsieweke
a51d4bd7d9
tests/periph/selftest_shield: fix logic to enable UART test
We cannot use the D0/D1 UART if it is also used for STDIO. However,
the logic did not take into account whether `stdio_uart` was used at
all. This fixes the issue.
2024-11-26 13:35:02 +01:00
Marian Buschsieweke
e7ea668a7f
tests/periph/selftest_shield: release UART after test
Calling `uart_poweroff()` when done with the UART test allows sharing
the underlying hardware e.g. to provide other peripheral interfaces.
One example of this would be the SERCOM3 on the Adafruit Metro M4
Express that is used to provide UART on D1/D0 and SPI on D11/D12/D13.
2024-11-26 13:34:54 +01:00
Marian Buschsieweke
567d0441a0
boards/adafruit-metro-m4-express: improve TTY detection
Also detect TTY of bootloader with `MOST_RECENT_PORT=1`.
2024-11-26 13:33:18 +01:00
Marian Buschsieweke
0dba3835d3
boards/adafruit-metro-m4-express: Add I2C and UART Mapping
The M4 Express does now have an I2C and an UART compatible with Arduino
Shields, so we can expose them.
2024-11-26 13:33:18 +01:00
Mikolai Gütschow
149a26ed25
tests/core/thread_msg: lower thread priority for consistent output order
also drop THREAD_CREATE_WOUT_YIELD flag, since it is not sensible to use when creating lower-priority threads
2024-11-26 13:07:58 +01:00
mguetschow
80a0681f45
Merge pull request #20906 from netd-tud/psa-headers
sys/psa_crypto: split algorithm definitions
2024-11-26 10:56:57 +00:00
benpicco
5e6e34e345
Merge pull request #21040 from mguetschow/stdio-available
sys/stdio: stdio_available is always false with missing stdin module
2024-11-26 08:58:02 +00:00
Marian Buschsieweke
b69d060e35
Merge pull request #21030 from JulianHolzwarth/pr/software/test/cond
tests/core/cond_order/: calling cond signal and broadcast without waiting threads
2024-11-26 05:50:38 +00:00
Marian Buschsieweke
c91aee08ea
Merge pull request #21039 from mguetschow/arduino-fixes
Arduino support layer: several fixes
2024-11-25 20:56:24 +00:00
Marian Buschsieweke
b858614fec
tests/sys/shell: make test more robust
This changes the behavior of the test script for verifying the `help`
command: It no longer assumes a specific order for the list of commands.

Making the test robust is a bit tricky, as the module
`shell_cmds_default` that is used here may add commands specific to a
set of board. We use `help_json` to get the list of commands actually
provided, so that we know how many rows the command table printed
by `help` need to be parsed.

A minimum set of commands that *must* be present for all boards is
hard-coded in the test script and the actually provided commands are
tested against this. Otherwise e.g. an empty list of commands presented
by `help` and `help_json` would also pass.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-11-25 17:23:26 +01:00
mguetschow
e9e946dc43
Merge pull request #21032 from JulianHolzwarth/pr/tests/events/pending
tests/sys/events: test if event_timeout_is_pending returns false
2024-11-25 15:32:10 +00:00
Mikolai Gütschow
57158285a1
sys/stdio: stdio_available is always false with missing stdin module 2024-11-25 16:19:34 +01:00
Mikolai Gütschow
6e61c1b34c
examples/arduino_hello-world: this example needs stdin 2024-11-25 16:17:20 +01:00
Mikolai Gütschow
18c6991d4a
examples/arduino_hello-world: fix buffer overflow 2024-11-25 16:16:48 +01:00
Mikolai Gütschow
9edbe1503f
boards/nrf52840dk: provide LED1 as default ARDUINO_LED 2024-11-25 16:15:40 +01:00
Mikolai Gütschow
add2dc269e
.vscode: highlight Arduino sketches as cpp code 2024-11-25 16:14:54 +01:00
JulianHolzwarth
83cf6bf339 tests/sys/events/: test if event_timeout_is_pending returns false
test if event_timeout_is_pending returns false when event_timeout_t is not completly initialized
2024-11-25 12:37:47 +01:00
Teufelchen
1ac0c2cdd1
Merge pull request #20961 from maribu/tests/net/nanocoap_cli/modernize
tests/net/nanocoap_cli: make use of XFA for shell commands
2024-11-25 10:31:13 +00:00
mguetschow
08c032a3f0
Merge pull request #21033 from JulianHolzwarth/pr/sys/evtimer/comment_xtimer
sys/evtimer/evtimer.c: change comment from xtimer to ztimer
2024-11-25 10:28:47 +00:00
Teufelchen
71e6c86752
Merge pull request #21035 from leandrolanzieri/pr/wakaama/destroy_unused_dtls_sessions
pkg/wakaama/client_connection: destroy unused DTLS sessions
2024-11-25 10:17:17 +00:00
Marian Buschsieweke
5a342e8a4b
tests/sys/shell: fix invalid escaping in test
This fixes:

    /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/tests/sys/shell/tests/01-run.py:86: SyntaxWarning: invalid escape sequence '\e'

Python still assumes `\\<char>` if `\<char>` is not valid, but started
to warn. Chances are good that this will be elevated to an error in
future python releases.
2024-11-25 11:12:32 +01:00
Teufelchen
3a7f3b4880
Merge pull request #21034 from leandrolanzieri/pr/wakaama/fix_uri
pkg/wakaama: Fix usages of `lwm2m_uri_t` and ISPO sensor
2024-11-25 10:10:53 +00:00
Ollrogge
db95ef6f10 sys/fido2: Small fix to dependencies && cleanup 2024-11-25 11:03:03 +01:00
Ollrogge
7e0a86ba32 fido2/ctap: add test for ctap without transport layer 2024-11-25 11:03:03 +01:00
Ollrogge
eddb00ae42 fido2/ctap: Adjust ctap_mem code to work on native 2024-11-25 11:03:03 +01:00
Leandro Lanzieri
22f77994af pkg/wakaama/client_connection: destroy unused DTLS sessions 2024-11-24 16:00:10 +01:00
Leandro Lanzieri
52f1caa698 pkg/wakaama/ipso_sensor: fix _exec_cb 2024-11-24 08:32:50 +01:00
Leandro Lanzieri
60eac20776 pkg/wakaama: remove URI docs 2024-11-24 08:32:50 +01:00
Leandro Lanzieri
1a86962110 pkg/wakaama: update lwm2m_uri_t usage 2024-11-24 08:32:50 +01:00
Marian Buschsieweke
c700aa92d4
Merge pull request #21031 from benpicco/net_fixes-misc
drivers/at86rf215: return ENETDOWN when interface is down
2024-11-23 16:30:32 +00:00
JulianHolzwarth
c77d8a0bf2 sys/evtimer/evtimer.c: change comment from xtimer to ztimer 2024-11-22 21:14:02 +01:00
Benjamin Valentin
9d22e46fa9 test/net/nanocoap_cli: fix buffer size for get_non 2024-11-22 19:50:20 +01:00
Benjamin Valentin
2a6b8a3fed gnrc_netif: use different error messages for can't queue packet 2024-11-22 19:50:20 +01:00
Benjamin Valentin
a379658fa1 drivers/at86rf215: tx_frame_len is already set by at86rf215_tx_load() 2024-11-22 19:50:12 +01:00