Marian Buschsieweke
5fe7a2e44b
cpu/avr8_common: fix C++ compatibility of unistd.h
...
C++ does not know about `restrict`, but both g++ and clang++ support
`__restrict`, as do `clang` and GCC [1].
Using `__restrict` instead of `restrict` is also what glibc does.
[1]: https://en.wikipedia.org/wiki/Restrict#Support_by_C++_compilers
2024-12-12 14:28:27 +01:00
Teufelchen
75828d2883
Merge pull request #21064 from maribu/README.md/consistent-project-name-formatting
...
README.md: Fix inconsistent formatting
2024-12-05 17:35:59 +00:00
Marian Buschsieweke
6dca47e7bb
README.md: Fix inconsistent formatting
...
In the related projects, one project name was formatted as bold, while
the others were not. This removes the bold formatting from "Ariel OS",
so that it matches the formatting of the other project names.
2024-12-05 18:29:23 +01:00
Marian Buschsieweke
f5b4b171e0
Merge pull request #21058 from mguetschow/tests-shell-socat
...
tests/sys/shell: use default terminal instead of socat
2024-12-04 00:44:09 +00:00
Marian Buschsieweke
a03aa10f8e
Merge pull request #21052 from kfessel/p-ad-ariel
...
README.md: add refrences to related projects
2024-12-03 16:37:16 +00:00
Marian Buschsieweke
598d575aec
Merge pull request #21060 from mguetschow/make-random-prng-default
...
makefiles: select default prng _after_ recursive dependency resolution
2024-12-03 10:13:02 +00:00
Mikolai Gütschow
9f2755a657
tests/build_system/external_module: custom prng in transitive dep
2024-12-03 10:34:35 +01:00
Mikolai Gütschow
fb3b5af910
makefiles: select default prng _after_ recursive dependency resolution
2024-12-03 10:33:57 +01:00
Karl Fessel
df902f0c14
README.md: add Related Projects
...
advertize Ariel OS
2024-12-02 23:28:00 +01:00
Mikolai Gütschow
be5d099e84
tests/sys/shell: use default terminal instead of socat
...
python tests by default already use make cleanterm
2024-12-02 08:50:27 +01:00
Martine Lenders
d6f463764c
Merge pull request #21018 from miri64/saul_bat_voltage/feat/initial
...
saul: initial import of saul_bat_voltage module
2024-11-29 19:21:06 +00:00
Marian Buschsieweke
79d9fad705
Merge pull request #21051 from benpicco/2024.10-branch-release-notes
...
release-notes.txt: add 2024.10 release notes
2024-11-29 13:23:08 +00:00
Benjamin Valentin
7016b4a25e
release-notes.txt: add 2024.10 release notes
2024-11-29 14:15:09 +01:00
Martine Lenders
eddd93e2dd
particle-{argon,boron}: note that board_bat_voltage
is untested
2024-11-29 12:34:28 +01:00
Martine Lenders
c39b69759d
features_yaml2mx: make feature list page easily linkable from doc
2024-11-29 12:32:13 +01:00
Marian Buschsieweke
af89824cfd
Merge pull request #21047 from mguetschow/msg-queue-print
...
core/msg: re-enable IRQs before printing for highlevel_stdio
2024-11-28 14:01:55 +00:00
Mikolai Gütschow
e843514510
tests/core/msg_queue_print: test for special cases
2024-11-28 12:49:11 +01:00
Mikolai Gütschow
850a827c24
core/msg: re-enable IRQs before printing for highlevel_stdio
...
copy message queue information to stack before
2024-11-28 12:49:11 +01:00
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