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

1874 Commits

Author SHA1 Message Date
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
Marian Buschsieweke
3718f48bc2
dist/tools/insufficient_memory: add RISC-V failure mode
On RISC-V a RAM overlow is reported as:

    /opt/xpack-riscv-none-elf-gcc-13.2.0-2/bin/../lib/gcc/riscv-none-elf/13.2.0/../../../../riscv-none-elf/bin/ld: section .stack VMA [80003f00,80003fff] overlaps section .bss VMA [800000a8,80003fb7]

This extends the list of patters detecting RAM overflow.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-02-12 16:13:41 +01:00
Marian Buschsieweke
80cdde4bee
Merge pull request #20345 from maribu/dist/tools/mspdebug
dist/tools/mspdebug: build from source
2024-02-06 15:47:47 +00:00
Marian Buschsieweke
aafc099a1c
dist/tools/mspdebug: build from source
This adds mspdebug as package, similar to EDBG, so that the
programmer/debugger is build from source.

This has the advantage that we can indeed provide patches of our own.
The first patch fixes a bug with the CPU detection of `mspdebug` in
combination with the Olimex MSP430-JTAG-TINY-V2. The second adds the
`--expect-id <CPU_NAME>` argument.

The RIOT integration is updated to directly make use of the
`--expect-id` parameter. No more spending time debugging why firmware
the firmware for the `olimex-msp430-h2618` doesn't run when flashed on
the `olimex-msp430h1611` hardware :D
2024-02-06 15:23:02 +01:00
Frederik Haxel
0d89040ae3 CI: Add native64 to CI
- Test native64 like native in murdock
- Add native64 to "Platform: native" in github labeler
- Add "BUILDTEST_MCU_GROUP == x86_64" to `dist/tools/ci/build_and_test.sh`
2024-02-05 22:02:21 +01:00
MrKevinWeiss
ceec795ae5
compile_and_test_for_board: Add only-if-changed feature
This will use the make test-input-hash-changed feature to save
the test hashes with the results and optionally skip running
the test if nothing has changed.

Murdock already has this feature but it is not easily accessible.

This should prevent unneeded flash cycles as well as speeding up
constant rerunning of tests for boards.
2024-02-01 13:50:00 +01:00
benpicco
4ea27d4c13
Merge pull request #20300 from jparker324/stm32c0_and_nucleo_c031c6
cpu/stm32: add support for STM32C0 and NUCLEO-C031C6
2024-01-31 15:09:25 +00:00
Martine Lenders
34fcffe37b
Merge pull request #20170 from miquel-b/lsm6dsxx
drivers/lsm6dsxx: refactoring Lsm6dsl into common driver Lsm6dsxx
2024-01-30 19:07:04 +00:00
Jason Parker
b5d72d8242 cpu/stm32: add CPU_FAM_STM32C0 support 2024-01-29 14:44:10 -05:00
MrKevinWeiss
2f7e1e3b53
docs: exclude lsm6dsxx macros 2024-01-24 13:44:50 +01:00
Miquel-HAW
6fc6132359 dist/tools: exclude_simple added warnings 2024-01-24 09:57:04 +01:00
Benjamin Valentin
d0093cf9cc Revert "riotctrl_ctrl: one more indirection to get native"
This reverts commit 5e0c9b4bff.
2024-01-19 12:59:14 +01:00
Marian Buschsieweke
c823412f31
dist/tools/zsh-completion: fix typo
This fixes a typo in a description.
2024-01-16 08:01:11 +01:00
benpicco
8ba210e6f6
Merge pull request #20250 from maribu/dist/tools/zsh-completion
dist/tools/zsh-completion: add completion for flash
2024-01-15 12:10:29 +00:00
Marian Buschsieweke
8008bb435d
dist/tools/zsh-completion: add completion for flash
Also complete and explain `PROGRAMMER=`, `OPENOCD_DEBUG_ADAPTER=`, and
`OPENOCD_RESET_USE_CONNECT_ASSERT_SRST=` when using zsh.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-01-14 17:49:33 +01:00
Marian Buschsieweke
4fc7700a0f
tools/openocd-rtt: also open GDB port
When using OpenOCD RTT (real-time transfer) for stdio with
`USEMODULE=stdio_rtt make ...`, it is no longer possible to debug
while being connected to stdio. By also opening gdb at RIOT's default
GDB port, `make debug-client` can be used to connect from GDB to the
OpenOCD instance providing stdio via RTT.
2024-01-13 12:47:37 +01:00
Benjamin Valentin
9d350f08c0 dist/tools/riotboot_gen_hdr/genhdr: add update command
Sometimes we want to roll-back to a previous firmware version.
To do so we need a higher riotbot version numbers still.

Add an update command to the riotboot_gen_hdr tool so that an existing
firmware image can be re-rolled out with a new version number.
2024-01-09 16:15:27 +01:00
Marian Buschsieweke
82b7e10988
dist/tools/zsh-completion: provide completion for zsh
This adds command completion that, when manually installed, provides
RIOT-aware command completion for `make` in zsh. The completion
supports:

- most commonly used `make` goals including a help text
- most commonly used `make` variables (such as `BOARD=`, `LTO=`,
  `BUILD_IN_DOCKER=`, `TOOLCHAIN=`)
    - possible values for these variables, including a list of boards
      detected at runtime to complete `BOARD=`

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-01-08 13:48:17 +01:00
benpicco
5dae1eb0b4
Merge pull request #20130 from maribu/dist/tools/insufficient_memory/update_insufficient_memory_board.sh
dist/tools/insufficient_memory: always update Makefile.ci
2024-01-04 17:38:33 +00:00
benpicco
b47771cd5e
Merge pull request #19996 from benpicco/topogen_enhance
tools/zep_dispatch: enhancements and fixes
2024-01-03 14:15:09 +00:00
Benjamin Valentin
ba8130e69f tools/zep_dispatch: topogen: add help text 2023-12-21 23:17:53 +01:00
Benjamin Valentin
f7e6a4ada2 tools/zep_dispatch: topogen: print list of nodes 2023-12-21 23:17:53 +01:00
Benjamin Valentin
2e19c2d712 tools/zep_dispatch: topogen: place first node at origin 2023-12-21 23:17:53 +01:00