1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 01:09:47 +01:00
Commit Graph

1897 Commits

Author SHA1 Message Date
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
Marian Buschsieweke
29e963bd95
build system: deprecate RIOT_MCU predefined macro
This re-adds `RIOT_MCU` as alias for `RIOT_CPU` and marks it as
deprecated. That should make life easier for downstream apps that may
still use `RIOT_CPU`.
2024-09-28 18:32:49 +02:00
Marian Buschsieweke
cadbbb6e95
build system: Add MACRO_DEPRECATED macro
Adding this macro in the definition of a macro causes a warning about
the deprecation to be emitted when used (and a build failure with
`WERROR=1`). This is useful as no other means to deprecate preprocessor
macros are provided.

The macro will be defined empty for compilers that are not GCC or
clang.
2024-09-28 18:32:49 +02:00
Marian Buschsieweke
906e2c3234
build system: document riotbuid.h
This adds a `riotbuild-prefix.h` that is added to the `riotbuild.h`
and processed by Doxygen. It solves two problems:

1. The pre-defined macros where previously fully undocumented, but
   may be useful to real world applications
2. It provides a place where backward compatibility aliases can be
   added with a deprecation notice
2024-09-28 18:32:49 +02:00
Benjamin Valentin
42d95ad174 dist/tools/bootterm: bump to 0.5 2024-09-26 11:22:45 +02:00
Mikolai Gütschow
6f70ed01bf
dist/tools/cosy: take BUILD_DIR into account 2024-07-16 16:52:33 +02:00
benpicco
db21bd134f
Merge pull request #20121 from benpicco/pyterm-session
makefiles/tools/serial.inc.mk: make use of pyterm session names
2024-07-11 15:48:42 +00:00
xnumad
96a91bae8e
tools/dhcpv6-pd_ia: fix: Add explicit subnet id
Required for Kea 2.6.0
2024-07-05 10:29:09 +02:00
Marian Buschsieweke
17dcb97571
dist/tools/buildsystem_sanity_check: check pinned docker version
This tests if the latest manifest on dockerhub matches the pinned
version. The idea is that PRs are not merged until the pinning is
fixed, so that we can ensure that `make BUILD_IN_DOCKER=1` will
always succeed with the pinned version.
2024-06-08 02:12:15 +02:00
Marian Buschsieweke
ce8f89b798
Merge pull request #20721 from maribu/dist/tools/buildsystem_sanity_check/make-shellcheck-happy
dist/tools/buildsystem_sanity_check: make shellcheck happy
2024-06-07 22:28:56 +00:00
Marian Buschsieweke
098167ad23
dist/tools/buildsystem_sanity_check: fix and cleanup
The build system sanity check test script currently does not pass
shellcheck, preventing PRs improving it from getting merged.

In addition, the github annotation was broken.

This commit fixes the issues pointed out by shellcheck as well as
the Github annotation.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-06-07 20:12:15 +02:00
mguetschow
2576649b52
Merge pull request #20700 from maribu/features/netif-cleanup
build system: clean up netif features
2024-06-03 12:40:35 +00:00
Marian Buschsieweke
47f52bd750
build system: provide netif_ethernet implicitly
If there is an Ethernet peripheral (periph_eth feature provided), we
can conclude that an Ethernet network interface can be provided.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-06-03 12:25:21 +02:00
Marian Buschsieweke
d05d33f636
dist/tools/tapsetup: make compatible with doas
`doas` doesn't set `SUDO_USER`, but `DOAS_USER`. This populates
`SUDO_USER` with `DOAS_USER` if it is empty, so the script works with
both doas and sudo.
2024-05-30 09:38:44 +02:00
Marian Buschsieweke
195d6617b2
dist/tools/buildsystem_sanity_check: Relax on Makefile.features
In order to extend features based on provided features, we need to
check contents of `FEATURES_PROVIDED`.
2024-05-28 20:53:52 +02:00
2f3c262fdd
Merge pull request #20683 from FlapKap/update-tfmicro
pkg/tflite-micro: Update tflite-micro to latest version. requires update of pkg/flatbuffers as well.
2024-05-27 06:27:55 +00:00
Marian Buschsieweke
bf3392bf37
Merge pull request #20662 from namberino/pkg-makefile_version_check
pkg: Add script to check third party package version
2024-05-27 05:07:33 +00:00
namber0
0c49709dbd dist/tools: Add pkg version check script 2024-05-25 09:37:09 +07:00
Kasper Hjort Berthelsen
410fd5afc8 pkg/flatbuffers: downgrade to v23.5.26
Because that's what tflite-micro depends on
2024-05-24 11:57:34 +02:00
Kasper Hjort Berthelsen
8ff87e7063 pkg/flatbuffers: remove unneeded patch 2024-05-22 17:09:03 +02:00
Kasper Hjort Berthelsen
ae35ff2146 pkg/flatbuffers: update flatbuffers to version 2.34.1 2024-05-21 15:21:32 +02:00
Marian Buschsieweke
c56f50a2eb
dist/tools/bmp: fix target parsing
Either GDB or pygdbmi changed behavior to trim off whitespace following
the message, resulting in the `\\n` at the end of the regex no longer
matching. This replaces the `\\n` with `\s*` to match both old and new
output.

Fixes: https://github.com/RIOT-OS/RIOT/issues/20604
2024-05-09 12:56:01 +02:00
Karl Fessel
8eb4e6a36e dist/tools/doccheck: do not ignore unbalanced groups 2024-04-11 22:05:13 +02:00
Dylan Laduranty
48a8e65d10
Merge pull request #20522 from keestux/fix/eclipsesym-script
Avoid using egrep
2024-03-29 08:37:10 +00:00
Kees Bakker
39cc42014f eclipsesym/cmdline2xml.sh: avoid egrep
The egrep and fgrep commands have been deprecated since 2007. Beginning
with GNU Grep 3.8, calling these commands will now issue a warning to the
user that instead they should use grep -E and grep -F, respectively.
2024-03-28 22:08:26 +01:00
Karl Fessel
9d2dda27ce
Merge branch 'master' into cpu/samd5x-write-CAN-driver 2024-03-28 09:52:26 +01:00
Marian Buschsieweke
04620d471c
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
Remove Kconfig dependency modelling
2024-03-27 16:39:56 +00:00
MrKevinWeiss
be8a2c84a1
kconfiglib: remove TEST_KCONFIG symbol 2024-03-27 10:28:13 +01:00
MrKevinWeiss
b98e5bd55d
dist/tools/doccheck/exclude_simple: Add LSM6 excludes 2024-03-26 18:13:20 +01:00
Firas Hamdi
01782e8673 dist/tools/doccheck: exclude macro def error 2024-03-26 15:17:48 +01:00
Mikolai Gütschow
666d42971d
dist/tools/dhcpv6-pd_ia: recognize Debian correctly 2024-03-19 16:06:27 +01:00
Oleg Hahm
cc14954c57 doc: doxygen: add "Topics" to menus
Beginning with doxygen 1.9.8 "Modules" are renamed to "Topics". This
patch adds the new entry to the layout file. Having both, "Modules" and
"Topics" in the layout file should generate similar output for older and
newer doxygen versions.
2024-03-01 12:15:24 +01:00
Benjamin Valentin
fe48fae2ad dist/tools/insufficient_memory: add 'does not fit in ROM' message 2024-02-28 13:17:59 +01:00
Marian Buschsieweke
aa356d8b7b
ci: add test that features_existing.inc.mk is up to date 2024-02-23 15:12:11 +01:00
Marian Buschsieweke
3ee25d02be
features.yaml: List and document all RIOT features
This lists and documents features in a machine readable form. It is
intended to be used for documentation and the build system.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: chrysn <chrysn@fsfe.org>
2024-02-23 15:12:11 +01:00
Marian Buschsieweke
ce5bae3edb
dist/tools/features_yaml2mx: feature management utility
Add a python script that allows having a single YAML file as source of
truth for what features are available, and also add documentation such
as help texts and grouping to them.

This utility converts such a YAML file to a Makefile with the contents

```
FEATURES_EXISTING := \
    feature_a \
    feature_b \
    ... \
    features_z \
    #
```

This allows the Makefile based build system to easily check if all
provided features and all requested features do actually exist.

In addition, this also converts the YAML file to a markdown file that
documents the features. This file is then intended to be used by
Doxygen to document the provided features.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: chrysn <chrysn@fsfe.org>
2024-02-23 15:12:07 +01:00
Marian Buschsieweke
147945402c
dist/tools/ci/print_toolchain_versions.sh: Update
This drops support for the legacy riscv-none-embed target triple. That
value has been incorrect since the beginning and the toolchain that
used that has been long declared obsolete and is fairly outdated.

With our CI updating the toolchain, we no longer need to check for
that.
2024-02-12 20:40:30 +01:00