1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

1796 Commits

Author SHA1 Message Date
crasbe
f8c9df35ad boards/common/ada-nrf52-bootl: keep SoftDevice by default, add SD doc 2025-03-21 15:19:50 +01:00
Marian Buschsieweke
ea5df2ef7e
Merge pull request #20980 from mguetschow/board-xiao-nrf52840
boards/seeedstudio-xiao-nrf52840: initial board support
2025-03-12 11:52:50 +00:00
Mikolai Gütschow
a0678a7a55
boards/seeedstudio-xiao-nrf52840: Arduino pin map 2025-03-12 12:39:56 +01:00
Mikolai Gütschow
1c97587931
makefiles: bump riotdocker 2025-02-28 16:21:16 +01:00
chrysn
8c12437f05 makefiles/rust: Allow overriding CARGO_TARGET_DIR
This allows users (such as the riot-wrappers CI) to tune their cache
directory to their application's caching needs.
2025-02-22 00:25:36 +01:00
chrysn
78cafbc45f makefiles/rust: Set panic=abort through RUSTFLAGS
The RUSTFLAGS need to be exported; passing them on through Docker is not
required for this addition, but makes sense once we touch it because
this invites callers to set them too.
2025-02-22 00:08:15 +01:00
chrysn
ae477ff009 makefiles/rust: Automate steps previously done manually per application
Neither of the steps allowed for any practical variation; this reduced
boilerplate.
2025-02-21 21:32:18 +01:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +01:00
Dylan Laduranty
cdceb084f2
Merge pull request #21201 from dylad/pr/cpu/sam4s/add_support
cpu/sam4s: add initial support with SAM4S-XPRO board
2025-02-17 15:39:06 +00:00
dylad
f9cc15e4f3 cpu/sam4s: introduce initial support
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2025-02-17 10:03:39 +01:00
Mikolai Gütschow
ca5fe72bf8
treewide: fix example references in docs
adapt to folder structure from #21135
2025-02-14 19:14:22 +01:00
Mikolai Gütschow
d9280f14a7
makefiles/app_dirs: find application folders recursively
Co-authored-by: Martine Lenders <martine.lenders@tu-dresden.de>
2025-02-14 15:23:36 +01:00
Gilles DOFFE
b55f269d17 makefiles: introduce fdcan pseudomodule
This pseudomodule is used to enable code depending on CAN FD support.

Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr>
2025-01-29 20:51:22 +01:00
Benjamin Valentin
698d414733 gnrc/ipv6_auto_subnets: add gnrc_ipv6_auto_subnets_eui 2025-01-13 15:52:25 +01:00
Mikolai Gütschow
fb3b5af910
makefiles: select default prng _after_ recursive dependency resolution 2024-12-03 10:33:57 +01:00
Martine S. Lenders
9ad6abb081
saul: initial import of saul_bat_voltage module 2024-11-22 18:42:04 +01:00
Marian Buschsieweke
b9ba3ee0b2
Merge pull request #20964 from maribu/tests/rust_libs/improve-test-robustness
sys/shell: cmds_json builtin command
2024-11-13 05:30:13 +00:00
Marian Buschsieweke
15086a2f55
Merge pull request #20024 from mguetschow/makefile-subfolders
Build system: support for application subfolders
2024-11-12 08:05:47 +00:00
Marian Buschsieweke
f0a88dcf56
sys/shell: add help_json builtin command
This command does the same as `help`, but provides a machine readable
JSON rather than a human readable table. It is only provided when the
(pseudo-)module `shell_builtin_cmd_help_json` is used.
2024-11-11 22:05:04 +01:00
mguetschow
d86738f057
Merge pull request #20970 from crasbe/pr/nRF_OpenOCD
cpu/nRF52: Always recover Device before Flashing
2024-11-11 08:29:41 +00:00
crasbe
5d7194a4ee makefiles: introduce OPENOCD_POST_INIT_CMDS 2024-11-08 16:03:17 +01:00
Marian Buschsieweke
fdac725d8c
makefiles/serial: better MOST_RECENT_PORT=1 for CDC ACM
- Allow specifying an alternative board filter for the bootloader TTY,
  as this will present different vendor, model, and serial than RIOT's
  USB implementation.
- Allow specifying the serial. This is useful when multiple CDC ACM
  devices are present.
2024-11-05 13:21:16 +01:00
Mikolai Gütschow
b96536d1ba
Makefiles: (application) support for SRC in subfolders 2024-11-01 11:53:55 +01:00
mguetschow
00e25adfe3
Merge pull request #20720 from netd-tud/chacha20-glue-code-implementation
sys/psa_crypto: one-shot Chacha20 support
2024-10-29 16:52:30 +00:00
chrysn
340dc65629 makefiles: Update docker image 2024-10-18 09:13:13 +02:00
Wunderbaeumchen
b9396c4739 sys/psa_crypto: chacha20 oneshot gluecode 2024-10-17 10:25:59 +02:00
Marian Buschsieweke
0ffad1d65f
Merge pull request #20877 from maribu/tools/docker
build system: simplify docker image pinning
2024-10-11 10:08:54 +00:00
Marian Buschsieweke
e960a19f24
build system: simplify docker image pinning
It turns out that the ID mechanics of docker are even more crazy than
realized before: On Linux (x86_64) they use a different SHA256 when
referring to a locally installed image than when referring to the
same image at dockerhub. On Mac OS (Apple Silicon), the use the repo
SHA256 also when referring to the local image.

Instead of increasing the complexity of the current solution even more
by covering both cases, we now use
`docker.io/riot/riotbuild@sha256:<SHA256_OF_DOCKERHUB_IMAGE>` to refer
to a specific docker image, which hopefully works across systems.

Instead of pulling the image explicitly, we now can rely on docker
to do so automatically if the pinned image is not found locally. As
a result, the knob to disable automatic pulling has been dropped.

Fixes https://github.com/RIOT-OS/RIOT/issues/20853
2024-10-09 21:05:57 +02:00
Joshua DeWeese
dda83bc67e make: export DEVELHELP
This patch exports the make macro `DEVELHELP`. Without this patch, use
of the macro in the following files does not work when the macro is set
in a makefile (such as in Makefile.local or an application's makefile as
demonstrated in dist/Makefile). Inside these files `DEVELHELP` is not
defined under these conditions.

 - pkg/littlefs/Makefile
 - pkg/littlefs2/Makefile
 - sys/stdio_null/Makefile

Note that use of the macro does work in these files when the macro is
set from the command line, without the patch. For example:

``` sh
$make DEVELHELP=1 all
```
2024-10-03 14:23:33 -04:00
Marian Buschsieweke
d41a39e29b
Merge pull request #20888 from chrysn-pull-requests/riotdocker-update
makefiles/docker: Update docker image
2024-10-03 09:02:55 +00:00
chrysn
c5c248a267 makefiles/docker: Update docker image
This acknowledges the changes after [254], which moved the Rust
installation into the static tools.

[254]: https://github.com/RIOT-OS/riotdocker/pull/254
2024-10-02 22:09:23 +02:00
Marian Buschsieweke
8c2f6ae9dc
drivers: Add shield_llcc68 module
This implements the `shield_llcc68` module that allows using the LLCC68
LoRa shield on Arduino UNO compatible boards (with Arduino IO mappings
provided by the board) by just selecting the module.
2024-10-02 09:48:29 +02:00
Marian Buschsieweke
4b36bb6098
Merge pull request #20873 from benpicco/cpu/native-no-pedantic
makefiles/arch/native: don't be pedantic
2024-10-01 08:51:55 +00:00
Benjamin Valentin
50e3d61441 makefiles/suit: allow to decrypt signing key with SUIT_SEC_PASSWORD 2024-09-30 16:38:16 +02:00
Benjamin Valentin
5c34eeae03 makefiles/arch/native: don't be pedantic
We don't enable this on any other architecture.
-pedantic doesn't give us any more beneficial wanrings, only warns
about language extensions that are implemented by both GCC and Clang
anyway.

Since those are the only compilers we are targeting, we can just make
use of them to make our lives easier.
2024-09-26 17:09:15 +02:00
Benjamin Valentin
1517949f13 makefiles/suit: drop use of SUIT_SEC_PASSWORD
Specifying the password of the SUIT private key on the command line
and thereby committing it to shell history is a security issue.

Instead ask for the password interactively when an encrypted private
key is used.
2024-09-13 10:57:40 +02:00
Benjamin Valentin
765dd68753 makefiles/suit: use OpenSSL to generate key
Co-authored-by: Fabian Hüßler <fabian.huessler@ml-pa.com>
2024-09-12 21:54:00 +02:00
Benjamin Valentin
99285d3ec5 makefiles/suit: add support for multiple & encrypted signing key 2024-09-11 19:28:39 +02:00
Benjamin Valentin
fbf1cd16a6 makefiles/suit: store public keys
This makes it easier to work with encrypted keys and multiple keys.
The firmware binary can contain multiple public keys that are used
to verify the manifest.
The use case is that we want to include the production public key
in the debug build, so we can seamlessly update to the production
version without re-flashing the device.

If the public keys is always generated on the fly, this would still
require the production key password even for the debug build.

Instead if we store the (unencrypted) public key, we can always
include it in the debug build.
2024-09-11 17:57:59 +02:00
chrysn
6dc2037767 makefiles/docker: Update docker image 2024-09-11 10:26:11 +02:00
chrysn
f6477370df makefiles/doc: Explain where docker image hash values come from 2024-09-11 10:13:36 +02:00
Mikolai Gütschow
a68e2f0a70
makefiles/docker.inc.mk: bump riotbuild docker image to last available 2024-08-28 15:41:38 +02:00
chrysn
4beff4e9d4 makefiles: Align cargo-info output with what happens in the build system
This simplifies the explanation of what might need adjustments depending
on which cargo command is invoked.
2024-08-22 15:16:41 +02:00
chrysn
a5c7705e1f makefiles/doc: Clarify that CARGO_OPTIONS is only used for cargo build
The options passed to cargo are not universal, and thus can not apply to
all commands as was previously documented.
2024-08-22 15:16:41 +02:00
chrysn
d260ec88a6 makefiles: Add "cargo-command" target for executing cargo
Examples of executed commands are `cargo check`, `cargo fix` or `cargo
doc`.
2024-08-22 15:16:41 +02:00
chrysn
184ffc89ab makefiles: Align cargo build command's setup with upcoming cargo-command 2024-08-21 21:20:46 +02:00
chrysn
8d30b00dd1 makefiles: Split Rust related checks out from building target 2024-08-21 20:40:08 +02:00
chrysn
a26366371d sys/ztimer: Remove the deprecated ztimer_now64
This has been scheduled for removal after 2022.10, and its replacement
ztimer64_now has long been available.
2024-08-20 20:52:37 +02:00
Marian Buschsieweke
422042bd00
drivers/periph_gpio_ll_irq: make support for both edges optional
The assumption that every MCU has this feature turned out wrong. Hence,
add a feature to allow testing for support of edge triggered IRQs on
both flanks.
2024-08-02 13:41:36 +02:00
Wunderbaeumchen
9b502027ab sys/psa_crypto: added sha3 glue code 2024-07-13 04:35:21 +02:00