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

45345 Commits

Author SHA1 Message Date
Marian Buschsieweke
dc040a0fdb
build system: Make use of YAML feature list 2024-02-23 15:12:11 +01:00
Marian Buschsieweke
3ee25d02be
features.yaml: List and document all RIOT features
This lists and documents features in a machine readable form. It is
intended to be used for documentation and the build system.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: chrysn <chrysn@fsfe.org>
2024-02-23 15:12:11 +01:00
Marian Buschsieweke
ce5bae3edb
dist/tools/features_yaml2mx: feature management utility
Add a python script that allows having a single YAML file as source of
truth for what features are available, and also add documentation such
as help texts and grouping to them.

This utility converts such a YAML file to a Makefile with the contents

```
FEATURES_EXISTING := \
    feature_a \
    feature_b \
    ... \
    features_z \
    #
```

This allows the Makefile based build system to easily check if all
provided features and all requested features do actually exist.

In addition, this also converts the YAML file to a markdown file that
documents the features. This file is then intended to be used by
Doxygen to document the provided features.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: chrysn <chrysn@fsfe.org>
2024-02-23 15:12:07 +01:00
Marian Buschsieweke
001bc0e7eb
boards/esp32-olimex-evb: drop periph_ir feature
There is no corresponding driver (yet), so this feature is just
confusing.
2024-02-23 14:59:52 +01:00
chrysn
6714a77026
Merge pull request #20339 from chrysn-pull-requests/native64-rust
cpu/native: Enable Rust on 64bit
2024-02-23 10:41:47 +00:00
chrysn
7587c77739 boards/native64/doc: Remove Rust note 2024-02-23 11:27:35 +01:00
chrysn
1070175da8 cpu/native: 64bit works with Rust 2024-02-23 11:24:02 +01:00
chrysn
198bd67bc3 rust: Selectively update riot-sys and -wrappers
This pulls in <https://github.com/RIOT-OS/rust-riot-sys/pull/40> and
<https://github.com/RIOT-OS/rust-riot-wrappers/pull/80>.
2024-02-23 11:23:04 +01:00
benpicco
2600a1e57a
Merge pull request #20422 from mguetschow/feather-docs
boards/feather-nrf52840*: doc cleanup
2024-02-23 10:03:49 +00:00
Mikolai Gütschow
10f4e9df01
boards/feather-nrf52840*: doc cleanup 2024-02-23 10:50:10 +01:00
benpicco
0b385c6c0d
Merge pull request #20418 from xnumad/6ln-onlink-pfx
gnrc_ipv6_nib: Ignore PIO with on-link flag
2024-02-22 18:41:22 +00:00
xnumad
23d3ccde6b gnrc_ipv6_nib: Ignore PIO with on-link flag 2024-02-22 17:52:17 +01:00
Marian Buschsieweke
f9de5fd13c
Merge pull request #20417 from maribu/vscode/hardcode_compile_commands
vscode: Add hard-coded path to compile_commands.json
2024-02-22 16:41:52 +00:00
Marian Buschsieweke
047fb8d3c7
Merge pull request #20419 from benpicco/cpu/native_assert-reval
cpu/native: return error code on failed assertion
2024-02-22 16:31:51 +00:00
Benjamin Valentin
9e9a906f4d cpu/native: return error code on failed assertion 2024-02-22 16:06:32 +01:00
Marian Buschsieweke
fb4c388d68
vscode: Add hard-coded path to compile_commands.json
When run from Windows via WSL, VS Code just won't find the
`compile_commands.json` otherwise.
2024-02-22 15:47:18 +01:00
chrysn
6e892d9b1c
Merge pull request #20416 from chrysn-pull-requests/alt20415
cpu/esp: Use CPU_ESP8266 define instead of the removed MCU_ESP8266
2024-02-22 14:31:43 +00:00
Marian Buschsieweke
7ddae48408
Merge pull request #20408 from maribu/makefiles/features_check.inc.mk
build system: Improve failure mode for FEAUTRES_REQUIRED_ANY
2024-02-22 14:08:49 +00:00
benpicco
cb83a896ee
Merge pull request #20289 from derMihai/mir/at_cme
drivers/at: parse +CME/+CMS responses and save error value
2024-02-22 13:53:52 +00:00
chrysn
c3020ce3b7 cpu/esp: Use CPU_ESP8266 define instead of the removed MCU_ESP8266
Follow-up-for: https://github.com/RIOT-OS/RIOT/pull/20397
Closes: https://github.com/RIOT-OS/RIOT/pull/20409
Closes: https://github.com/RIOT-OS/RIOT/pull/20415
2024-02-22 14:26:43 +01:00
Marian Buschsieweke
d29652350b
build system: Improve failure mode for FEAUTRES_REQUIRED_ANY
Failing to provide any of the required features can provide a message
such as:

    There are unsatisfied feature requirements: periph_uart|periph_lpuart

This can be confusing and may hide the actual. E.g. above message
was generated when using SPI on the `msb-430` and `stdio_uart`. However,
the MSB-430 board *does* provide `periph_uart`, so this looks like a bug
in the feature resolution. This changes the failure mode of
`FEATURES_REQUIRED_ANY` to just pick the first of the alternatives
given if none of the alternative is usable, which gives in the example
the following message instead:

    The following features may conflict: periph_spi periph_uart
    Rationale: Both SPI and UART are provided by the same USART
               peripheral

The output is less surprising and can provide non-obvious reasons
why `FEATURES_REQUIRED_ANY` failed to pick a feature. The downside is
that the alternatives are no longer visible. However, that output
likely was so confusing this might be for the best.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-02-22 14:02:53 +01:00
Mihai Renea
c58b71b899 drivers/at: parse +CME/+CMS responses and save error value 2024-02-22 12:21:25 +01:00
benpicco
d83ec632e3
Merge pull request #20406 from FlapKap/fix_eeprom_debug_off_by_one
periph/eeprom: fix off-by-one error in debug statement
2024-02-22 08:48:41 +00:00
543c62f4e8
Merge pull request #20412 from maribu/roadmap/drop-hauke
doc/roadmap: update contacts
2024-02-22 08:30:42 +00:00
Marian Buschsieweke
3c5ae563d6
doc/roadmap: update contacts
Hauke has stopped working on RIOT for some time now and other
maintainers agreed to step up to take over the steering / contact job
during the VMA. This change replaces Hauke by benpicco and maribu as
contact as agreed upon.
2024-02-22 09:16:50 +01:00
Kasper Hjort Berthelsen
9e6276351d periph/eeprom: fix off-by-one error in debug statement
Since p is incremented DEBUG prints the next value instead of the current
I also took the liberty to add debugs to the `write` function
2024-02-21 13:26:36 +01:00
Marian Buschsieweke
8b832804e8
Merge pull request #20403 from bergzand/pr/roadmap_hass
Roadmap: Add Home-Assistant integration on the roadmap
2024-02-21 11:38:16 +00:00
Marian Buschsieweke
db26f23793
Merge pull request #20405 from bergzand/pr/readme_no_caps
README: Change from all caps to regular
2024-02-21 11:08:37 +00:00
60bca08e6b
README: Change from all caps to regular 2024-02-21 11:57:07 +01:00
7b92a1beb2
Roadmap: Add Home-Assistant integration on the roadmap 2024-02-21 11:40:54 +01:00
Marian Buschsieweke
8c3c48e4e2
Merge pull request #20351 from chrysn-pull-requests/6lbr-roadmap
doc/roadmap: Make working 6LBR a goal
2024-02-21 09:55:45 +00:00
benpicco
9504e07378
Merge pull request #20392 from maribu/sys/newlib_syscalls_default
sys/newlib_syscalls_default: fix race condition in __sinit()
2024-02-20 12:22:24 +00:00
Marian Buschsieweke
34de5286b7
Merge pull request #20401 from maribu/tests/sys/posix_semaphore/disable_native_on_ci
examples, tests: disable native and native64 for more flaky tests
2024-02-20 12:21:25 +00:00
Marian Buschsieweke
251cffa2c5
examples/micropython: disable on native64
This was already disabled on native, but it is also flaky on
native64 under load due to sleeps potentially taking longer.
2024-02-20 13:12:20 +01:00
Marian Buschsieweke
463eef1c55
tests/sys/posix_semaphore: disable native,native64 on CI
The CI tests may fail under load with:

    first: waited too long 1001711 usec => FAILED
2024-02-20 12:30:23 +01:00
Marian Buschsieweke
609ad44f39
Merge pull request #20245 from benpicco/nanocoap_sock-pathquery
nanocoap_sock: always use coap_opt_put_uri_pathquery()
2024-02-19 18:28:38 +00:00
8cca5bec30
Merge pull request #20382 from maribu/ci/disable_flaky_tests
tests: disable flaky tests on `native` in the CI
2024-02-19 14:10:55 +00:00
chrysn
fe2d590d35
Merge pull request #20397 from chrysn-pull-requests/remove-mcu
makefiles, treewide: Remove MCU variable
2024-02-18 23:23:20 +00:00
chrysn
9716510598 pkg/micropython: Adjust to removed RIOT_MCU
Replacing RIOT_MCU with RIOT_CPU is the only change between the old and
the new version.
2024-02-18 20:46:09 +01:00
chrysn
756a384442 makefiles, treewide: Remove MCU variable 2024-02-18 20:46:09 +01:00
50fbffbe1d
Merge pull request #20399 from whjochim/patch-1
exmple > example in Cargo.toml comment
2024-02-17 13:21:29 +00:00
Wilhelm Jochim
9b2b4064eb
exmple > example in Cargo.toml comment
This is a simple spelling error in a comment in the Cargo.tom
2024-02-17 13:08:16 +01:00
chrysn
c2457f23ee
Merge pull request #20396 from chrysn-pull-requests/fix-info-boards-supporte
makefile: Don't $(info) when the output can break info-build-json
2024-02-17 07:04:42 +00:00
benpicco
a0c15149a0
Merge pull request #20394 from benpicco/no_thread_cleanup
core/init: clean up !core_thread init path
2024-02-16 22:18:12 +00:00
chrysn
5b6ae6b766 makefile: Don't $(info) when the output can break info-build-json 2024-02-16 20:08:28 +01:00
Benjamin Valentin
d39dc587f5 core/init: clean up !core_thread init path 2024-02-16 17:14:57 +01:00
Marian Buschsieweke
375aed13e6
sys/newlib_syscalls_default: fix race condition in __sinit()
This eagerly calls `__sinit()` instead of lazy initialization upon the
first call to stdio (e.g. `puts()`, `printf()`). The issue is that
without locking (as is currently the case for all RIOT platforms but
ESP) two concurrent "first calls" may result in concurrent
initialization of the same structure and data corruption.

Fixes https://github.com/RIOT-OS/RIOT/issues/20067
2024-02-16 07:21:28 +01:00
benpicco
ef0e3fb54e
Merge pull request #20391 from maribu/cpu/stm32/periph_spi_reconfigure
cpu/stm32: implement periph_spi_reconfigure
2024-02-15 22:59:33 +00:00
Marian Buschsieweke
aeca9a52c6
cpu/stm32: implement periph_spi_reconfigure
Fixes https://github.com/RIOT-OS/RIOT/issues/20227
2024-02-15 19:11:37 +01:00
Marian Buschsieweke
a378c0b81f
Merge pull request #20217 from maribu/examples/dtls-sock/credman-capacity
examples/dtls-sock: fix credman capacity
2024-02-15 11:35:56 +00:00