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

45366 Commits

Author SHA1 Message Date
crasbe
4b33e3e273 examples/filesystem: Increase main stack size
The stack size for the main thread is insufficient for some real targets to run this example, which leads to kernel panics in the MEM MANAGE HANDLER when trying to access the Flash
2024-02-29 23:44:17 +01:00
crasbe
9fa92da6ea examples/filesystem: Update and add to README
Reflect the updated behavior of the filesystem example and added more examples on the usage on real boards.

Remove the remarks about mtd and MTD_0.

Co-Authored-By: benpicco <benpicco@googlemail.com>
2024-02-29 23:43:25 +01:00
Dylan Laduranty
5b2beea08a
Merge pull request #20426 from maribu/doc/getting-started/windows
doc: Add guide for dev setup on Windows
2024-02-28 09:58:48 +00:00
Marian Buschsieweke
8b088c8d4a
doc: Add guide for dev setup on Windows
This adds a step-by-step guide to install a dev setup based on
WSL2 / Ubuntu and native VS Code with the WSL extension. The guide
uses screenshots and adds annotations on top using Inkscape, so that
every click is documented.

The Inkscape sources are also added to allow adjusting / fixing the
annotations later on without having to record a new set of screenshots.

Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-02-28 10:18:39 +01:00
mguetschow
833571f630
Merge pull request #20436 from mguetschow/feather-sense-lsm6ds33
boards/feather-nrf52840-sense: declare lsm6ds33 accelerometer
2024-02-28 09:14:36 +00:00
Mikolai Gütschow
96e48e3385
boards/feather-nrf52840-sense: declare lsm6ds33 accelerometer 2024-02-27 19:34:06 +01:00
Marian Buschsieweke
97cfddee72
Merge pull request #20435 from benpicco/drivers/pcf857x-gpio_t
drivers/pcf857x: stop (ab)using gpio_t
2024-02-27 16:08:21 +00:00
Benjamin Valentin
e8a4defafd drivers/pcf857x: stop (ab)using gpio_t
The driver only supports addressing GPIOs by their index, (ab)using
`gpio_t` for that will break on platforms that encode GPIO values
differently.
2024-02-27 16:31:59 +01:00
benpicco
f048714418
Merge pull request #20432 from cogip/pcf857x_fix_kernel_defines
drivers/pcf857x: fix missing include kernel_defines.h
2024-02-26 12:53:01 +00:00
chrysn
9e5e66540d
Merge pull request #20366 from maribu/makefiles/existing_features
build system: add list of features for documentation and sanity checking
2024-02-25 15:36:15 +00:00
chrysn
fee994b9d5
Merge pull request #18589 from chrysn-pull-requests/rdm-board-names
RDM: Naming boards
2024-02-24 23:47:45 +00:00
Gilles DOFFE
04c8d442da drivers/pcf857x: fix missing include kernel_defines.h
If not included before, IS_USED macro from modules.h is undefined,
leading to such errors:
  error: missing binary operator before token "("

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2024-02-24 16:55:05 +01:00
a43dbcbbfe
Merge pull request #20424 from miri64/gh-actions/enh/matrix-notification
release-test.yml: return of the Matrix notification
2024-02-23 17:03:59 +00:00
Marian Buschsieweke
aa356d8b7b
ci: add test that features_existing.inc.mk is up to date 2024-02-23 15:12:11 +01:00
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
e4a64f2ada
Merge pull request #20425 from benpicco/tests/pkg/flashdb_fal_cfg
tests/pkg/flashdb_fal_cfg: abort test if no MTD device is configured
2024-02-23 14:06:38 +00: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
Benjamin Valentin
82aac9c761 tests/pkg/flashdb_fal_cfg: abort test if no MTD device is configured 2024-02-23 13:17:12 +01:00
Benjamin Valentin
db2d5f385d pkg/flashbd: assert presence of MTD device 2024-02-23 13:16:55 +01:00
Martine Lenders
aafb9abb8b
release-test.yml: use s3krit's matrix action 2024-02-23 13:15:16 +01:00
Martine Lenders
7e6a46465d
release-test.yml: return of the Matrix notification
This time keep-it-simple-style with just a cURL command, using the
[API `m.room.message`](https://spec.matrix.org/latest/client-server-api/#events-2).
2024-02-23 11:56:30 +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
chrysn
148a8c195c RDM 0003: is accepted 2024-02-22 22:26:41 +01:00
chrysn
15a090011f RDM: Naming boards 2024-02-22 22:03:27 +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