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

1684 Commits

Author SHA1 Message Date
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
Karl Fessel
9a4024f560 dist/doccheck: include doc.md for defgoup check 2025-02-28 18:37:03 +01:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +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
AnnsAnn
55fa531e02 examples: restructure to use subfolders based on README structure
examples: Fix incorrect category heading

examples: shorten coap folder name

static-tests/examples: check subfolders for entries

ci/test_native: Adjust to new examples structure

examples: adjust makefiles to new structure

ci/tests: Fix symlinks to point towards proper examples
2025-02-13 11:54:09 +01:00
Bas Stottelaar
b27eb50a19 dist/tools/bmp: detect unsupported targets
Instead of listing 'no targets found', detect unsupported targets as
well. Once we need to attach, assert that the target is supported.

Starting with firmware 2.0.0 of the BMP, not all targets are supported
by defaults (depends on the firmware flavor). Adding support for this
case therefore makes sense.
2025-02-02 23:10:23 +01:00
Bas Stottelaar
b07f32d2ab dist/tools/bmp: improve auto-detection of firmware
Parse the version number from the product description as returned by
libusb. This works for stable firmware releases, and ensures that
older firmwares work out of the box.
2025-02-02 23:10:23 +01:00
Bas Stottelaar
7a1128fb4a dist/tools/bmp: use f-strings in stead of interpolation 2025-02-02 23:10:22 +01:00
Bas Stottelaar
3d3f0f9623 dist/tools/bmp: set argument type 2025-02-02 23:10:22 +01:00
Marian Buschsieweke
c5d23ba5fb
Merge pull request #20411 from OlegHahm/pr/tapsetup_dhclient_nowait
dist: tools: avoid hanging tapsetup in the absence of a DHCP server
2025-02-02 18:32:05 +00:00
mguetschow
775f59623d
Merge pull request #21070 from chrysn-pull-requests/own-cosy
tools: Use RIOT maintained cosy
2025-01-31 13:24:02 +00:00
chrysn
4201f4f09f tools: Use RIOT maintained cosy 2025-01-31 14:13:01 +01:00
MrKevinWeiss
b5dadde19b
boards/waspmote-pro: Remove after the deprecation period 2025-01-20 20:55:21 +01:00
mguetschow
58adb81076
Merge pull request #21129 from gschorcht/dist/tools/esptools/fix_all_target
dist/tools/esptool: fix the all target
2025-01-13 08:54:26 +00:00
Gunar Schorcht
c1208ad031 dist/tools/esptool: fix the all target 2025-01-12 17:37:36 +01:00
Marian Buschsieweke
7d0f75110d
Merge pull request #21107 from basilfx/improve-tools-bmp
dist/tools/bmp: improve compatibility
2025-01-10 15:39:38 +00:00
Benjamin Valentin
a5b437cd25 dist/tools/esptools: make export.sh more helpful 2025-01-09 13:26:51 +01:00
Bas Stottelaar
a96a43908e dist/tools/bmp: add as author 2024-12-23 23:03:54 +01:00
Bas Stottelaar
9efc41dbf4 dist/tools/bmp: support newer firmware versions
Some commands have been renamed since version 1.9.0 and 1.10.0.

To still provide compatibility with older debuggers, allow one to
override the firmware version assumed. A dependency for packaging
was added for comparing version numbers.
2024-12-23 23:00:14 +01:00
Bas Stottelaar
96dbd33507 dist/tools/bmp: revisit probe detection
The tool would always exit if no probes are detected, even if `--port`
was provided. By making this assertion conditional, it becomes
possible to override the port in any case.

Use cases for this is running the BMP externally, and connecto to it
via ser2net, for example.
2024-12-23 23:00:14 +01:00
Bas Stottelaar
e55da6ad82 dist/tools/bmp: add logging
Print action to console for reset and flash action, similar to the
erase action.
2024-12-23 22:58:20 +01:00
Bas Stottelaar
c57fe9bd79 dist/tools/bmp: restructure to meet conventions
Per conventions:

- Put main code in a function.
- Move argument parsing to separate function to not pollute global
  scope. This does mean that all invocations now need `args` as an
  additional argument.
2024-12-23 22:58:20 +01:00
Bas Stottelaar
7c36145eea dist/tools/bmp: replace distutils with shutil
Python 3.12 removed the `distutils` package, which is only used for
checking if GDB is available on PATH.

The `shutil.which` method does the same, and is available since
Python 3.3.
2024-12-23 22:58:20 +01:00
Benjamin Valentin
2959725f32 dist/tools/esptools: add support for installing esp8266 toolchain 2024-12-17 14:35:10 +01:00
Martine Lenders
d6f463764c
Merge pull request #21018 from miri64/saul_bat_voltage/feat/initial
saul: initial import of saul_bat_voltage module
2024-11-29 19:21:06 +00:00
Martine Lenders
c39b69759d
features_yaml2mx: make feature list page easily linkable from doc 2024-11-29 12:32:13 +01:00
Martine Lenders
7160166bc7
check_in_readme.sh: tell dev _which_ README.md 2024-11-26 19:39:50 +01:00
Marian Buschsieweke
ab67824770
Merge pull request #20965 from crasbe/pr/nRF52_pinreset
boards/nrf52*dk: Enable Pinreset after Flashing
2024-11-21 22:14:24 +00:00
crasbe
0c89794145 dist/tools/nrf52_resetpin_cfg: add revision warning 2024-11-19 17:15:31 +01:00
crasbe
291bfeced6 buildsystem_sanity_check: add JLINK_POST_FLASH to unexported variables 2024-11-19 17:15:31 +01:00
Teufelchen
03b6122ada
Merge pull request #20957 from AnnsAnns/examples/readme
Examples: Add proper Table of Contents
2024-11-13 16:59:04 +00:00
AnnsAnn
83e93a5b73 ci: Add tests for examples folder
examples/readme: add missing entries

examples: document examples with no readme
2024-11-12 16:35:26 +01:00
crasbe
5d7194a4ee makefiles: introduce OPENOCD_POST_INIT_CMDS 2024-11-08 16:03:17 +01: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
Mikolai Gütschow
f0e6776d40
treewide: apply codespell corrections 2024-10-09 13:03:52 +02:00
Mikolai Gütschow
b5aba962a0
dist/tools/codespell: add false positives 2024-10-09 13:03:28 +02:00
chrysn
d0299deb33 static_tests/rust: Address shellcheck lints
The pure POSIX way to do `for x in $(find ...)` right involves a
tempfile, thus limiting to bash.
2024-10-03 20:42:40 +02:00
chrysn
44cd632af0 static_tests: Add test for Rust code formatting rules 2024-10-02 22:11:09 +02:00
Teufelchen
541ef69ce4
Merge pull request #20871 from benpicco/dist/tools/bootterm-0.5
dist/tools/bootterm: bump to 0.5
2024-10-01 13:31:12 +00:00
mguetschow
723d8cd47e
Merge pull request #20566 from maribu/buildsystem/document-riotbuild.h
build system: document `riotbuild.h` and deprecated `RIOT_MCU`
2024-10-01 12:57:24 +00:00