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

46105 Commits

Author SHA1 Message Date
fabian18
d6d9d5f3da
Merge pull request #20329 from fabian18/nib_rtr_fixes
nib: some fixes when a router or a prefix is deleted
2024-06-10 08:38:49 +00:00
Dylan Laduranty
8156bb815e
Merge pull request #20737 from steverpalmer/master
Remove extraneous bitwise assignment operation on NRF5X_common gpio.c
2024-06-09 11:10:43 +00:00
Steve Palmer
21643524f9 cpu/nrf5x: fix erroneous mask with INTENSET reg
fixes #20736
2024-06-09 11:08:37 +01:00
Marian Buschsieweke
b6696e0f05
Merge pull request #20472 from maribu/docker/pin/version
makefiles/docker.inc.mk: Pin riotbuild version with BUILD_IN_DOCKER=1
2024-06-08 06:05:48 +00: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
89754bf6b0
makefiles/docker.inc.mk: Pin riotbuild version with BUILD_IN_DOCKER=1
We had a number of issues being reported that in the end were caused
by building with a version of riotbuild incompatible with the source,
because CI and source were updated in lock-step but users forgot to
run `docker pull` to update theirs.

In addition, checking out a random old release/commit will likely fail,
as older source may contain bugs that did not trigger with older
toolchains. To reliably succeed at building, a matching version of
riotbuild needs to be used for `BUILD_IN_DOCKER=1`.

This just pins the version of riotbuild manually, so it needs to be
updated by hand in lock step with updating the docker container.

In addition, the latest image is pulled automatically on mismatch.
Ideally, this would pull the tagged image. But that fails for unknown
reason when using the documented command for this with both docker and
podman with:

    manifest for riot/riotbuild@sha256:f5951bc41dfface6cac869181d703e62cbdd3b7976b0946130a38f2e658000b3 not found: manifest unknown: manifest unknown

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-06-08 02:11:08 +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
benpicco
78da4bc1c7
Merge pull request #20725 from fabian18/pr/nanocoap_sock_fix_ctx_release
nanocoap/sock: fix state handling for mismatching message ID in `nanocoap_sock_request_cb()`
2024-06-07 16:19:13 +00:00
benpicco
f89aa8ea24
Merge pull request #20735 from maribu/sys/xtimer/iwyu-pragmas
sys/xtimer: add IWYU pragmas
2024-06-07 11:29:38 +00:00
benpicco
3cb8365b67
Merge pull request #20734 from krzysztof-cabaj/stm32l476g-disco-cpy2remed
boards/stm32l476g-disco: enable cpy2remed
2024-06-07 11:00:36 +00:00
krzysztof-cabaj
0082755eaa boards/stm32l476g-disco: add board doc page 2024-06-07 12:17:51 +02:00
Marian Buschsieweke
6a3d689238
sys/xtimer: add IWYU pragmas
This include what you use (IWYU) pragmas so that clang based linters
(such as clangd) treat the use of `xtimer_...()` functions as a use
of the `xtimer.h` header, even if the implementation of those functions
come from a compatibility wrapper.
2024-06-07 12:05:43 +02:00
krzysztof-cabaj
4ae90aaae6 boards/stm32l476g-disco: enable cpy2remed 2024-06-07 11:28:07 +02:00
Leandro Lanzieri
7a2b08fa8f
Merge pull request #20652 from leandrolanzieri/dev/lwm2m/ipso_objects
pkg/wakaama: implement IPSO sensor objects in LwM2M
2024-06-07 05:00:41 +00:00
mguetschow
dd6051cf67
Merge pull request #20729 from LP-HAW/fix-sha2-pad
sys/hashes: change SHA2 PAD type to const
2024-06-06 10:46:06 +00:00
Fabian Hüßler
5145b29b55 nanocoap/sock: fix context release 2024-06-06 11:24:41 +02:00
947c5a14e5
Merge pull request #20733 from gzordrai/b-l072z-lrwan1-adc-feature
boards/b-l072z-lrwan1: add missing adc feature
2024-06-06 08:41:06 +00:00
gzordrai
c6d7b13a0a boards/b-l072z-lrwan1: add missing adc feature 2024-06-06 01:17:51 +02:00
Marian Buschsieweke
a62f10f7e3
Merge pull request #20731 from chrysn-pull-requests/ws281x-saul-write
drivers/ws281x: Fix SAUL writes
2024-06-05 21:04:51 +00:00
chrysn
ad2a031e6c drivers/ws281x: Return correct number of written elements 2024-06-05 22:41:40 +02:00
chrysn
329f6e4573 drivers/ws281x: Remove unconditional debug output 2024-06-05 22:41:22 +02:00
benpicco
c20a9d1276
Merge pull request #20728 from LP-HAW/fix-w5500-link-state
drivers/w5500: fix W5500 link up/down events in interrupt mode
2024-06-05 17:01:31 +00:00
LP-HAW
7efb4d9fb6 sys/hashes: change SHA2 PAD type to const 2024-06-05 18:21:21 +02:00
LP-HAW
8ab2c795e5 drivers/w5500: enable polling in interrupt mode 2024-06-05 16:30:59 +02:00
LP-HAW
134d84401d drivers/w5500: remove Kconfig 2024-06-05 16:30:59 +02:00
Leandro Lanzieri
3d9649183c
pkg/wakaama/objects: add Voltmeter 2024-06-05 16:03:59 +02:00
Leandro Lanzieri
703adb948f
pkg/wakaama/objects: add Temperature Sensor 2024-06-05 16:03:59 +02:00
Leandro Lanzieri
8cc4b481a0
pkg/wakaama/objects: add Illuminance Sensor 2024-06-05 16:03:58 +02:00
Leandro Lanzieri
206b5264c0
pkg/wakaama/objects: add Humidity Sensor 2024-06-05 16:03:58 +02:00
Leandro Lanzieri
1e18b31e9c
pkg/wakaama/objects: add Current Sensor 2024-06-05 16:03:58 +02:00
Leandro Lanzieri
88e1b83b3b
pkg/wakaama/objects: add Barometer 2024-06-05 16:03:57 +02:00
Leandro Lanzieri
572dddcef3
pkg/wakaama/objects: add IPSO sensor base 2024-06-05 16:03:47 +02:00
benpicco
54cd5248c9
Merge pull request #20726 from maribu/core/thread/valgrind-disable
core/thread: "fix" valgrind erros in thread_measure_stack_free()
2024-06-05 13:08:02 +00:00
Marian Buschsieweke
11e273c4db
core/thread: "fix" valgrind erros in thread_measure_stack_free()
The dark magic used used in thread_measure_stack_free() is frowned upon
by valgrind. E.g. valgrind may deduce (by monitoring the stack pointer)
that a specific value was at some point allocated on the stack, but has
gone out of scope. When that value is now read again to estimate stack
usage, it does look a lot like someone passed a pointer to a stack
allocated value, and that pointer is referenced after that value has
gone out of scope.

This is "fixed" by temporarily disabling valgrind error reporting while
iterating over the stack.
2024-06-05 14:31:58 +02:00
chrysn
571754fcd9
Merge pull request #20727 from miri64/gh-actions/enh/bump-check-labels
check-labels.yml: bump to v1.1.2
2024-06-05 08:23:37 +00:00
Martine Lenders
98b5c18ce4
check-labels.yml: bump to v1.1.2 2024-06-05 10:15:11 +02:00
Marian Buschsieweke
ec71eba868
Merge pull request #20723 from benpicco/tests/thread_stack_alignment-usage
measure_stack_free_internal(): don't try to align end of stack
2024-06-04 18:27:54 +00:00
Benjamin Valentin
5b73294dad tests/core/thread_stack_alignment: also test for stack usage 2024-06-04 16:57:05 +02:00
Benjamin Valentin
02fe256a06 core/thread: don't try to align end of stack 2024-06-04 16:57:05 +02:00
Dylan Laduranty
5668de68e0
Merge pull request #20722 from maribu/cpu/native/fix-gcc-14-1
cpu/native: fix compilation with GCC 14.1
2024-06-04 14:30:53 +00:00
Marian Buschsieweke
ff3f055dc7
cpu/native: fix compilation with GCC 14.1
The first argument to `calloc()` is the number of members, the
second the member size. This fixes an instance where the arguments
where switched.
2024-06-04 15:43:53 +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
benpicco
266a8405e9
Merge pull request #20717 from krzysztof-cabaj/nucleo-f303ze-pinout
boards/nucleo-f303ze: add pinout
2024-06-03 11:59:19 +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
mguetschow
f2c18b0b58
Merge pull request #20718 from LP-HAW/fix-sha2prng-init
sys/random: fix SHAxPRNG init_by_array
2024-06-03 09:27:00 +00:00
Marian Buschsieweke
86e0ca351a
Merge pull request #20719 from maribu/esp32/fix-build-gcc13
cpu/esp*: fix compilation with GCC 14.1.0
2024-06-03 09:08:38 +00:00
Marian Buschsieweke
784fb5da14
pkg/esp32_sdk: fix compilation with modern GCC 2024-06-02 18:51:08 +02:00
Marian Buschsieweke
59f37cd8f8
cpu/esp_common: fix compilation with modern newlib/gcc 2024-06-02 18:51:07 +02:00
Dylan Laduranty
a67793d601
Merge pull request #20279 from keestux/add-sara-sff-status
boards/sodaq-sara-sff: add status pin for SARA
2024-06-01 20:47:45 +00:00