1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00

1975 Commits

Author SHA1 Message Date
Gunar Schorcht
990fa0e464 dist/tools/esptool: add esp32c6 2025-07-28 19:14:22 +02:00
Benjamin Valentin
e2055d87bc tools/suit/manifest-generator: drop misleading 'Installing' section 2025-07-25 12:19:27 +02:00
Gunar Schorcht
f188abd463 dist/tools/esptools: remove old esptool.py versions
Since only the `esptool.py` from the Python package, as published by Espressif, is used, older `esptool.py` versions are removed.
2025-07-23 10:52:56 +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
crasbe
d59298f964 dist/tools: include UF2 folder in distclean and fix setup 2025-07-11 15:45:55 +02:00
Gunar Schorcht
bdc0a0bdae dist/tools/esptool: fix shellcheck warnings 2025-06-23 16:48:24 +02:00
Gunar Schorcht
be9172ffd6 dist/tools/esptool: add esp32h2 2025-06-23 16:48:23 +02:00
benpicco
80ea84d570
Merge pull request #21511 from benpicco/riotboot_gen_hdr-json
dist/tools/riotboot_gen_hdr: add JSON mode
2025-06-11 14:27:07 +00:00
Bas Stottelaar
8c61fa97f3 dist/tools/bmp: in-line dependencies using PEP 723
PEP 723 is an accepted proposal to in-line script metadata. One such
use cases is to put script dependencies inside the script, which makes
the requirements.txt redundant [1].

With the correct shebang, it becomes even possible to run the script
directly, without creating a virtual environment and installing
dependencies in advance.

Combining both makes the execution of single-file scripts within RIOT
much easier and friendlier.

PEP 723 metadata can be used by `pipx` [2] and can be easily
installed when `pip` is available.

[1] `pip install` still requires a requirements.txt, which is
    generally accepted during development. An open issue exists to
    add support for reading dependencies from PEP 723 as well. See
    https://github.com/pypa/pip/issues/12891
[2] https://github.com/pypa/pipx
2025-06-10 14:58:38 +02:00
Mikolai Gütschow
3a3f115798
dist/tools/compile_test: error exit code on any failed build 2025-06-04 19:17:27 +02:00
Mikolai Gütschow
82e52d3090
dist/tools/compile_test: allow specifying toolchain 2025-06-04 19:17:27 +02:00
Benjamin Valentin
bf033ee32f dist/tools/riotboot_gen_hdr: add JSON mode 2025-05-27 11:27:08 +02:00
Benjamin Valentin
57cdaa3c1e dist/tools/riotboot_gen_hdr: don't be pedantic 2025-05-26 17:11:17 +02:00
crasbe
193b5e1a91 dist/tools/headerguards: revert 082a37b
With the migration to #pragma once in the core header in #21405,
the workaround for the header name check when using #include_next
is not necessary anymore and can be dropped.
2025-05-14 12:07:41 +02:00
crasbe
9e06d82a6b dist/tools: improve headerguard check
The headerguard check did not catch the case when a #pragma once
is present in the file followed by classic header guards.

This commit also improves the error messages to give a better
reason why the test failed.
2025-05-14 12:07:41 +02:00
crasbe
820d4ce181 dist/tools: bump uf2conv version 2025-05-06 21:14:19 +02:00
Mikolai Gütschow
7befca8a91
tools/uf2/nrf52_softdevice_check: abort when several bootloaders present
The current tooling cannot distinguish which one is the correct one to flash.
2025-04-29 11:21:04 +02:00
AnnsAnn
e82ada6358 doc/guide: Introduce a Guide Site
doc/guides: How to Doc

fix: add starlight to base makefile
2025-04-24 12:35:53 +02:00
crasbe
ab1356e58c dist/tools: add a leading whitespace check for #pragma once
When adding the #pragma once after a comment block, many editors
will remain at the previous indentation level, adding a leading
whitespace to the #pragma once. This is invalid, but causes the
headerguards check to fail. Since it is a common issue, it
warrants a separate check with a proposed solution, just like
for other headerguard issues that are checked.
2025-04-23 22:56:13 +02:00
Marian Buschsieweke
eb6127e4e5
dist/tools/zsh-completion: add awareness for STATIC_ANALYSIS
This adds `STATIC_ANALYSIS` awareness to the ZSH completion, so that
enabling static analysis is made easier for zsh users who use the
completion snippet.
2025-04-18 09:36:32 +02:00
Marian Buschsieweke
e8edd952a4
dist/tools/compile_commands: add awareness for -fanalyzer
Now that static analysis is supported (for some modules), we need to
add awareness for that flag to compile_commands.py: As the flag is
not supported by LLVM, we strip it off in clangd mode  (e.g. for
`make compile-commands`).
2025-04-18 09:36:31 +02:00
crasbe
32ba4b4991 dist/tools/*: add RIOTBASE and distclean to Makefiles 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
AnnsAnn
477b655ea6 dist/tools: add picosdk 2025-04-14 10:24:42 +02:00
benpicco
623f865ceb
Merge pull request #21144 from gschorcht/dist/tools/esptools/bump_gcc_version_to_14_2
dist/tools/esptools: Upgrade the ESP32 toolchain to GCC v14.2, GDB v14.2 and OpenOCD v0.12
2025-04-08 07:58:06 +00:00
Gunar Schorcht
0067f69d0b dist/tools/esptools: bump to QEMU version 9.0.0 2025-04-08 07:19:18 +02:00
Gunar Schorcht
91e92d571e dist/tools/esptools: bump if OpenOCD version v0.12.0 2025-04-08 07:19:18 +02:00
Gunar Schorcht
e9688aa24c dist/tools/esptools: bump to GDB version 14.2 2025-04-08 07:19:18 +02:00
Gunar Schorcht
c13aec4f01 dist/tools/esptools: fix error message in export.sh
When sourcing a script, $0 refers to the shell in which the script is running, not the script being sourced. The only way to refer the install script is to specify the full path based on a variable pointing to the RIOT directory.
2025-04-08 07:19:18 +02:00
Gunar Schorcht
3cc1204179 dist/tools/esptools: bump to GCC version 14.2.0 2025-04-08 07:19:18 +02:00
Benjamin Valentin
5e2266d99e tools/suit/manifest-generator: fix documentation about version
https://github.com/RIOT-OS/RIOT/pull/14436 upgraded the implementation
to draft-v9 without changing the README.md
2025-04-07 18:01:03 +02:00
crasbe
9774a0ce48
Merge pull request #21367 from crasbe/pr/pragma_headerguards
dist/tools: add `#pragma once` to headerguard check
2025-04-06 20:06:11 +00:00
crasbe
bf1491ef0d dist/tools: add #pragma once to headerguard check 2025-04-06 22:01:29 +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
7543be5441 buildsystem: Remove unused scripts and update docker docs 2025-04-05 21:59:43 +02:00
crasbe
612401b145 buildsystem: remove info-buildsizes, fix info-buildsizes-diff 2025-04-05 21:59:43 +02:00
crasbe
78aebaa070
Merge pull request #21300 from crasbe/pr/dist_doxygen
dist/tools: Add Doxygen as a Tool for CI
2025-04-05 19:52:10 +00:00
crasbe
9cd4964024 dist/tools: add doxygen as a tool for CI 2025-04-04 17:59:53 +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
benpicco
85dc9be1c9
Merge pull request #20872 from benpicco/stdio_null-frontend
core: add stdio.h to replace stdout functions with stdio_null
2025-04-01 15:30:08 +00:00
Benjamin Valentin
082a37b17f dist/tools/headerguards: ignore if #include_next is used
We can't use the same header guard if we include two files with the same name.
2025-04-01 14:29:28 +02:00
Mikolai Gütschow
69c15e1754
boards: make BOARD=native an alias for BOARD=native32 2025-04-01 12:39:06 +02:00
Karl Fessel
b78bb2322c doc/doxygen: include *.doc.md 2025-03-28 10:58:57 +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
Oleg Hahm
0de3b8a7d8 pyterm: send SIGINT to the subprocess' child 2025-03-20 23:11:56 +01:00
MrKevinWeiss
adc2549c6f
dist/tools/codespell: Ignore EMAC and joo
Here is the error for joo at the time of this commit
dist/tools/esptools/esptool_v3.2.py:4590: JoO ==> you
2025-03-13 14:00:44 +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
7c768131e0
boards/seeedstudio-xiao-nrf52840: initial board support 2025-03-12 12:39:53 +01:00