1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 17:31:18 +01:00

1884 Commits

Author SHA1 Message Date
Lasse Rosenow
f5b814437c
doc: standardize capitalizations and fix urls 2025-09-23 18:19:14 +02:00
Marian Buschsieweke
a1e13afca4
makefiles/tools/openocd: Do not require openocd.cfg for STM32 boards
When `OPENOCD_DEBUG_ADAPTER` was set to `stlink`, no `openocd.cfg`
was needed for most STM32 boards. (But one could still be provided if
special handling was needed.) However, for any other debug adapter this
was not the case.

This moves the handling for when no custom `openocd.cfg` is provided from
the `stlink.inc.mk` to `openocd.inc.mk`, so that most boards now work
out of the box with other debuggers.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-15 12:53:41 +02:00
benpicco
63c2a81128
Merge pull request #21666 from benpicco/suit/SUIT_GEN_PUBKEY
makefiles/suit: add `SUIT_GEN_PUBKEY` variable to inhibit public key generation
2025-09-11 10:54:25 +00:00
Marian Buschsieweke
9cb6c2e3e3
Merge pull request #21676 from mguetschow/riotboot-builddir
makefiles/boot/riotboot: pass BUILD_DIR to recursive Make call
2025-08-22 12:40:24 +00:00
Mikolai Gütschow
625a8a8c89
makefiles/boot/riotboot: pass BUILD_DIR to recursive Make call 2025-08-22 11:13:04 +02:00
mguetschow
95952acb01
Merge pull request #21645 from ML-PA-Consulting-GmbH/dl/riot/20250805__info-build-json
makefiles/info.inc.mk: improvements to json build output
2025-08-22 08:00:47 +00:00
Marian Buschsieweke
e26321e913
Merge pull request #21438 from maribu/sys/newlib/fix-stdio
build system: use thread-safe stdio
2025-08-21 11:07:34 +00:00
Marian Buschsieweke
3415656a4a
sys/newlib_syscalls_default: wrap newlib's assert implementation
This avoids inconsistent output when external code gets linked in that
directly links against newlib's assert implementation (e.g. binary blobs
or packages that do not add `core/lib/include` to the include paths).

This also greatly benefits wrapping printf, as newlib's `__assert_func()`
directly links to internal printf functions of newlib.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-08-21 12:08:10 +02:00
Marian Buschsieweke
2623221854
build system: use thread-safe stdio
This makes use of the new bug modeling to declare all platforms that
can use newlib and have no reentrancy hooks as affected by the
non-thread-safe stdio bug. (Which is every platform but ESP* and AVR,
the former because the reentrancy hooks are provided, the latter because
we do not and never will support newlib on them.)

Building on that, the mpaland-printf package is used when newlib is
used and the bug is present. This way we can rely on the stdio being
thread-safe on every platform and not causing random crashes at run
time.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-08-21 12:06:10 +02:00
AnnsAnn
abc02fafd0 arch/riscv: fix incorrect ASFLAGS 2025-08-20 15:25:13 +02:00
Benjamin Valentin
cd43084951 makefiles/suit: add SUIT_GEN_PUBKEY variable to inhibit pubkey gen
If we only have access the the public key, we don't want it to be
accidentally overwritten by the build system.

Intrudce a new `SUIT_GEN_PUBKEY` that defaults to 1, but can be set
to 0 to disable auto-generating the public key from the private key
(and generating a new private/public key pair if the private key does
not exist).
2025-08-18 18:43:51 +02:00
crasbe
c6e80f4405
Merge pull request #21658 from fabian18/pr/suit_class_id
export SUIT_CLASS_ID from suit.inc.mk
2025-08-14 12:21:27 +00:00
crasbe
165cc75a39
Merge pull request #21489 from fabian18/pr/shell_cmd_mtd
sys/shell/cmds: add MTD command from `mtd_raw` test
2025-08-14 12:18:43 +00:00
Fabian Hüßler
4f8ea2c77e sys/shell/cmds: move mtd command from test to reusable shell commands 2025-08-14 13:52:46 +02:00
Fabian Hüßler
1cc8f34687 export SUIT_CLASS_ID from suit.inc.mk 2025-08-14 13:28:46 +02:00
Daniel Lockau
ffc90a0561 makefiles/info.inc.mk: improve info-build-json output
- change EXTERNAL_BOARD_DIRS field to a string list
- add EXTERNAL_MODULE_DIRS
- add EXTERNAL_MODULE_PATHS
- add EXTERNAL_PKG_DIRS
- add USEPKG
2025-08-05 13:25:50 +02:00
Daniel Lockau
0a1eb90d2d makefiles/info.inc.mk: fix json output
- make json output valid in all tested cases
- convert with a slightly better approximation than before
2025-08-05 09:11:57 +02:00
AnnsAnn
359d3a9efd boards: Raspberry Pi Pico 2 support 2025-08-04 11:31:57 +02:00
AnnsAnn
014b17250b cpu: Add RP2350 Support 2025-08-04 10:32:24 +02:00
crasbe
6db371919c
Merge pull request #21619 from gschorcht/pkg/esptool_5.0.0
makefile/tools/esptool: cleanup including version update to 5.0.0
2025-07-23 13:46:19 +00:00
Gunar Schorcht
a36704e430 makefile/tools/esptool: update to version 5.0.0 2025-07-23 13:55:55 +02:00
Gregory Guche
8dc500703b pkg/xipfs: add XIPFS as vfs module 2025-07-23 12:44:38 +02:00
Gunar Schorcht
bc01a8d896 makefiles/tools/esptool.inc.mk: cleanup
The cleanup includes the following changes:
- The `esptool.py` is no longer installed as a RIOT package, but as a pure Python package, as published by Espressif. The installation takes place in a virtual Python environment in the `dist/tools/esptools/venv` directory.
- The installation of the `esptool.py` is now version-sensitive.
- The `esptool.py` from the Python package is always used.
- The option for users to use a custom `esptool.py` has been removed because newer versions of `esptool.py` use renamed options that are not compatible with older versions of `esptool.py`. Using a custom `esptool.py` therefore makes no sense.
2025-07-23 10:52:56 +02:00
Teufelchen1
944eb05727 net/mac: Remove deprecated 802.15.4 module 2025-07-21 12:57:15 +02:00
Teufelchen
1345452bbe
Merge pull request #21603 from Teufelchen1/deprecate/lwmac
net/lwmac: Remove deprecated lwmac module
2025-07-18 08:34:57 +00:00
Gunar Schorcht
1b72d9feb3 makefiles/features: cleanup for esp_ble feature
It makes no sense to have a separate `esp_ble_$(CPU_FAM)` feature for each ESP32x variant. The ESP32x has either a BLE controller or not. Therefore, a single common `esp_ble` feature is sufficient.
2025-07-18 10:10:27 +02:00
Gunar Schorcht
3fca3da896 makefiles: add feature esp_ble_esp32h2 2025-07-18 10:10:27 +02:00
crasbe
d06b61dbba
Merge pull request #21604 from gschorcht/pkg/esptool_fix_version_for_flash
makefiles/tools/esptool: force installation of version 4.9.0
2025-07-16 11:05:34 +00:00
Gunar Schorcht
81094d32c6 makefiles: add feature esp_ieee802154 2025-07-15 14:35:31 +02:00
Gunar Schorcht
998b2d67f4 makefiles/tools/esptool: force installation of version 4.9.0 2025-07-15 14:22:34 +02:00
Teufelchen1
8970d751c4 net/lwmac: Remove deprecated lwmac module 2025-07-15 11:38:37 +02:00
Teufelchen1
f027626f3c net/gomach: Remove deprecated GoMach module 2025-07-14 13:18:20 +02:00
Carl Seifert
501822f560 net/unicoap: driver modules for CoAP transports 2025-07-07 17:27:39 +02:00
Teufelchen
b2406da63f
Merge pull request #21418 from Teufelchen1/feat/slipmux_c
drivers/slipmux: Add to RIOT
2025-07-07 09:50:29 +00:00
Teufelchen1
166ffcb027 driver/slip: Add slipmux frames 2025-07-02 12:12:53 +02:00
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