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

1849 Commits

Author SHA1 Message Date
benpicco
e6741e6bf9
Merge pull request #21557 from gschorcht/pkg/esptool
pkg: use esptool.py v4.9.0 as package
2025-06-23 09:15:56 +00:00
Gunar Schorcht
8ff29b1a88 makefiles/tools: use esptool.py in virtual Python environment
`esptool.py` is now used as a package within a virtual Python environment. Since `esptool.py` is used for compilation on the one hand and for flashing on the other, `esptool.py` is installed in two separate virtual Python environments, one for compilation and one for flashing only. This is required
1. to be able to flash a precompiled application only without compiling the package and
2. to be able to compile an application in RIOT Docker and flash it on the host system.
2025-06-22 17:30:55 +02:00
crasbe
b1296afe58
Merge pull request #21523 from maribu/build-system/openocd/tigard/tty-detection
build-sytem/openocd: detect serial port TTY
2025-06-16 10:06:55 +00:00
Marian Buschsieweke
41fd70e06f
build-sytem/openocd: detect serial port TTY
This adds a default `TTY_BOARD_FILTER` for use with the Tigard debugger,
so that when the programmer is a Tigard that tigard is also used by
default for the serial connection.

In addition, this allows selecting the TTY via the programmer serial
number.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-06-16 09:09:58 +02:00
krzysztof-cabaj
091df92bf0 makefiles/docker: update riotbuild digest 2025-06-06 10:30:26 +02:00
Marian Buschsieweke
28d294fcf8
build-system: pin new docker image
This ensures that `make BUILD_IN_DOCKER=1` will use the same container
that was used in the CI (Murdock).
2025-06-04 08:56:34 +02:00
mguetschow
cd8bb88381
Merge pull request #21513 from mguetschow/shield-feather
features.yaml: add feather_shield feature
2025-05-28 09:04:01 +00:00
Mikolai Gütschow
1411068101
features.yaml: add feather_shield feature 2025-05-28 10:48:49 +02:00
mguetschow
91003021c6
Merge pull request #21455 from Lukas-Luger/pr/psa-aes-ccm
sys/psa_crypto: Adding aead aes ccm
2025-05-27 19:43:17 +00:00
Lukas-Luger
406d6dc5f2 pkg/driver_cryptocell_310: add psa_crypto aes ccm 2025-05-27 15:21:02 +02:00
Gunar Schorcht
99b4dd5abe
Merge pull request #21463 from dpproto/21462-seeedstudio-xiao-esp32c3-fix-pin-conflict
boards/seeedstudio-xiao-esp32c3: fix pin conflict
2025-05-19 13:55:25 +00:00
David Picard
7917f5f28e boards/seeedstudio-xiao-esp32c3: fix BTN0 conflict
Add a uard around macro BTN0_PIN definition to allow the user to redefine
it in order to use the SPI module.
Add a guard around SAUL parameters that use BTN0_PIN to avoid error when
it is redefined.
2025-05-19 13:56:53 +02:00
Gunar Schorcht
0c96a699ab makefiles/defaultmodules: fix comments 2025-05-19 12:55:09 +02:00
Marian Buschsieweke
098bc8de64
Merge pull request #21395 from crasbe/pr/ada-nrfutil
boards/adafruit-{clue,itsybitsy-nrf52}: Convert to Common `adafruit-nrf52-bootloader` module
2025-05-08 09:33:31 +00:00
crasbe
f9b0cc7711 boards/adafruit-{clue,itsybitsy-nrf52}: convert to common Ada nRF52 BL
The Adafruit Clue and Itsybitsy nRF52 also use the Adafruit nRF52
Bootloader which has a common module that can be used.
Especially the Itsybitsy nRF52 (mis)uses the nrfutil programmer
target and has a lot of redundant code.

Furthermore, the Double Tap Magic Value used by both boards
is incorrect for using the USB Bootloader.
2025-05-07 15:31:17 +02:00
Marian Buschsieweke
e655d83e6a
build system: improve cargo/docker interaction
Do not create the cargo folder unconditionally, but only before running
docker and only when they do not exist.
2025-05-05 16:53:02 +02:00
Marian Buschsieweke
3d5fad5aa1
sys/stdio: better document configuration
This changes the documentation of how to configure stdio, especially
with regard on how to configure the stdio frontends with
`printf_float`, `printf_long_long`, and `stdin`.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-05-01 11:54:15 +02:00
crasbe
9df0a3907a
Merge pull request #21448 from crasbe/pr/gen_makeci
makefiles/riotgen: fix colors and behavior for undefined `generate-*` targets
2025-04-29 11:55:39 +00:00
crasbe
f1638882cc makefiles/riotgen: fix colors and behav. for undef. targets
When executing `make generate-Makefile.ci` in the base directory,
the make system would try to call `riotgen` with `Makefile.ci`,
which does not work. Likewise with any other target like
`make generate-bogus`. The pattern rule for the prerequisites was
not evaluated by make, therefore the check did not work as
intended.
2025-04-28 22:24:57 +02:00
Marian Buschsieweke
385f06e784
Merge pull request #21443 from maribu/tree-wide/gcc-15-1-fixes
tree-wide: fix compilation with GCC 15.1 and picolibc 1.8.10
2025-04-28 06:45:13 +00:00
Marian Buschsieweke
b9b488d6fb
sys/stdio: add printf_long_long
This adds the new `printf_long_long` module that can be used to enable
printing of `long long` and `unsigned long long`.

This has been implemented for `mpaland-printf`. In addition, this module
is a default module for 32-bit and 64-bit systems if `mpaland-printf` is
used, 64 bit support is not too expensive for them. (And on 64-bit
systems support for long long is needed for support of `%p`, which is
pretty basic.)

This is mainly useful for MSP430, where otherwise `mpaland-printf` would
require more memory than newlib's implementation.
2025-04-27 23:37:33 +02:00
Marian Buschsieweke
59b1774daa
pkg: Disable more warnings
This adds `-Wno-unterminated-string-initialization` to the `CFLAGS` if
(and only if) the compiler supports this.

This also adds `-Wno-maybe-uninitialized`. This warning has been
supported for quite some time, but the diagnostics triggers more often
with newer GCC releases.
2025-04-27 22:59:33 +02:00
benpicco
ab921f5426
Merge pull request #21441 from fabian18/pr/shield_llcc68_type
drivers/sx126x: add `shield_sx1262`
2025-04-25 16:13:06 +00:00
Fabian Hüßler
18c7bdad89 drivers/sx126x: add shield_sx1262 2025-04-25 17:20:50 +02:00
Marian Buschsieweke
0069a6bf9a
build system: enable support for static analysis
Modules can now add the following snipped to their `Makefile`:

    MODULE_SUPPORTS_STATIC_ANALYSIS := 1

When the application is then build with `make STATIC_ANALYSIS=1`, all
modules that opted in to static analysis get build with static analysis.
2025-04-18 09:36:31 +02:00
crasbe
3a3e8f74fe buildsystem: clean dist/tools with (dist)clean as well 2025-04-17 13:43:30 +02:00
Teufelchen
852895f1ff
Merge pull request #21269 from AnnsAnns/picotool
Tools: Switch from elf2uf2 to modern picotool
2025-04-16 13:53:42 +00:00
AnnsAnn
0ea40d2757 dist/tools, boards/rpi-pico*: replace elf2uf2 with picotool
Replace elf2uf2 usage with picotool, fix compilation when arm g++ is installed, adjust documentation to new workflow, picotool udev warning (thanks to crasbe)
2025-04-16 12:19:17 +02:00
Marian Buschsieweke
8e31630fd5
build-system: Drop -Wno-error=documentation
Treat documentation issues flagged by LLVM as hard errors.

LLVM tends to be a lot less picky about documentation issues compared
to Doxygen (e.g. no warning about missing doc), but warns about things
that really are not intentional (e.g. `@param foo` when the argument has
been renamed to `bar`, `@return` when the return type is `void`, ...).

Having this as a base line requirement seems pretty sane.
2025-04-10 13:37:14 +02:00
Mikolai Gütschow
a77a6071f3
sys/malloc_tracing: remove deprecated module
use module `malloc_monitor` with verbous configuration instead
2025-04-08 14:49:04 +02:00
Marian Buschsieweke
18b1ababb8
makefiles/docker.inc.mk: bump tagged container
This updates the tagged container due to the merge of
https://github.com/RIOT-OS/riotdocker/pull/255
2025-04-07 20:28:44 +02:00
crasbe
6bf28bb352
Merge pull request #21359 from crasbe/pr/remove_buildtest
buildsystem: Remove `buildtest` Goal & Fix `info-buildsizes-diff`
2025-04-05 21:47:40 +00:00
crasbe
612401b145 buildsystem: remove info-buildsizes, fix info-buildsizes-diff 2025-04-05 21:59:43 +02:00
crasbe
90ea940896 buildsystem: remove "buildtest" goal 2025-04-05 21:59:43 +02:00
mguetschow
c0c61e1cee
Merge pull request #21361 from crasbe/pr/fix-info-build
buildsystem: Fix Supported Board List in `info-build`
2025-04-04 13:41:03 +00:00
crasbe
7169214830 buildsystem: fix supported boards in info-build 2025-04-04 12:47:28 +02:00
crasbe
801d19b590
Merge pull request #21349 from mguetschow/feather-nrf52840-alias
boards/feather-nrf52840*: rename to adafruit-feather-nrf52840-*
2025-04-04 10:03:06 +00:00
mguetschow
eb56a566c6
Merge pull request #21358 from maribu/build_system/warn-about-broken-doc
buildsystem: Enable -Wdocumentation for LLVM
2025-04-04 09:26:57 +00:00
Mikolai Gütschow
8a5f047c26
boards/feather-nrf52840*: rename to adafruit-feather-nrf52840-* 2025-04-04 11:12:49 +02:00
Marian Buschsieweke
d838c6aa3d
buildsystem: Enable -Wdocumentation for LLVM
This enables warnings for incorrect Doxygen comments when build with
LLVM. To my experience, LLVM provides a low false positive rate
(e.g. it does not complain about undocumented internal macros) and has
very helpful output.

This disable `-Wdocumentation-deprecated-sync` for now, as we do not
deprecate code with attributes yet.

The warnings are not set as errors, so that we can enable this without
breaking builds.
2025-04-04 09:01:12 +02:00
Mikolai Gütschow
ab38081f58
makefiles: colorize board alias warning 2025-04-03 15:27:14 +02:00
Marian Buschsieweke
ca781c2f12
Merge pull request #21242 from mguetschow/native-alias
boards: introduce board alias and make native default to host target
2025-04-02 09:14:12 +00:00
Mikolai Gütschow
f565eacfce
boards/native*: select native variant based on host platform
Co-Authored-By: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2025-04-01 12:39:42 +02:00
Mikolai Gütschow
69c15e1754
boards: make BOARD=native an alias for BOARD=native32 2025-04-01 12:39:06 +02:00
Marian Buschsieweke
5feacf284d
build system: create cargo folders more robustly
On some systems, `$(shell mkdir -p ~/.cargo/registry)` ended up not
replacing `~` with the home directory, but rather created a directory
named `~`.

The new approach should be a bit more robust.
2025-03-31 21:32:58 +02:00
crasbe
8ea9a42608 buildsystem: fix boards/Makefile.features inclusion 2025-03-28 11:48:32 +01:00
crasbe
54b32b330f buildsystem: introduce global boards makefiles 2025-03-26 17:09:21 +01:00
mguetschow
75e22e53e8
Merge pull request #21281 from crasbe/pr/ada_nrf52_bootloader
boards/common: Make Adafruit nRF52 Bootloader shared
2025-03-25 17:40:40 +00:00
crasbe
f8c9df35ad boards/common/ada-nrf52-bootl: keep SoftDevice by default, add SD doc 2025-03-21 15:19:50 +01:00
Benjamin Valentin
9ba1514914 pseudomodules: introduce stdio_default 2025-03-20 16:10:08 +01:00