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

48941 Commits

Author SHA1 Message Date
Elena Frank
19a4ba04d1 gnrc/netapi: add notify message API
The netapi notify API enables protocol-independent, cross-layer
notification events.
Lower layers in the network stack can use this to inform upper
layers of network events.
2025-12-09 16:03:59 +01:00
Marian Buschsieweke
1d0a275d17
Merge pull request #21938 from maribu/riotboot/allow-skip-implicit-build
build-system: fix RIOTBOOT_SKIP_COMPILE
2025-12-08 13:22:50 +00:00
benpicco
ff6b703628
Merge pull request #20900 from maribu/sys/net/nanocoap/transport-agnostic-api
sys/net/*coap: Make APIs (more) transport agnostic
2025-12-08 13:21:42 +00:00
Marian Buschsieweke
0bbd23b38c
build-system: create riotboot.extended.bin in BINDIR_RIOTBOOT
This allows two apps using RIOTBOOT being build for the same board in
parallel to not step on each others toes.
2025-12-08 14:07:20 +01:00
Marian Buschsieweke
a48f3a7540
build-system: fix RIOTBOOT_SKIP_COMPILE
The RIOTBOOT_SKIP_COMPILE flag is already present in our code base, but
it did not really result in compilation of `riotboot` as a dependency of
another app to be skipped.

This fixes the issue and allows users to explicitly build riotboot for
a given set of boards upfront, and then build any number of apps
depending on `riotboot` to be build with `RIOTBOOT_SKIP_COMPILE=1` and
cutting the compilation time in half.

This is particularly valuable as various parameters such as
`RIOT_CI_BULLD` or `CCACHE` do not get passed down to the implicit
`riotboot` build. In a CI that makes use of `CCACHE`, this results in
the CI time quickly being dominated by implicit builds of `riotboot`
when many apps use SUIT.
2025-12-08 14:07:20 +01:00
Marian Buschsieweke
f19f1c6063
Merge pull request #21937 from miri64/gnrc_ipv6_ext_frag/fix/corner-cases
gnrc_ipv6_ext_frag: fix some corner cases
2025-12-05 21:52:20 +00:00
Martine Lenders
f1580b73a0
Merge pull request #21935 from miri64/tests/fix/gnrc_ipv6_ext_frag+native64
tests: gnrc_ipv6_ext_frag: various fixes
2025-12-05 19:05:56 +00:00
Martine Lenders
af2bf2527c
tests: amend IPv6 reassembly test for empty fragments
Co-authored-by: Nils Bernsdorf <nibe00018@stud.uni-saarland.de>
2025-12-05 18:44:58 +01:00
Nils Bernsdorf
8af2f50a7d
gnrc_ipv6_ext_frag: disregard empty fragments 2025-12-05 18:44:58 +01:00
Martine Lenders
0e4c7dcaf5
tests: amend IPv6 reassembly test for 1st fragment repeats
Co-authored-by: Nils Bernsdorf <nibe00018@stud.uni-saarland.de>
2025-12-05 18:44:51 +01:00
Nils Bernsdorf
d64dcbb71f
gnrc_ipv6_ext_frag: fail on first fragment buffer is too small
This case can happen if a second, but larger first fragment is send
after a smaller.
2025-12-05 18:32:30 +01:00
Martine Lenders
350553345e
tests: gnrc_ipv6_ext_frag: make slack for pktbuf test dependent on BOARD
native64 has sizeof(size_t) == 8 and sizeof(void *) == 8 instead of 4, so we need more slack for
that board.
2025-12-05 18:05:02 +01:00
Marian Buschsieweke
948b8c8aea
Merge pull request #21933 from derMihai/mir/build/allow_multiple_modules_dirs_rebase
build: allow external module dirs with the same name when not building in Docker
2025-12-05 16:28:30 +00:00
Martine Lenders
55564abb5d
Merge pull request #21934 from AnnsAnns/remove_deprecated_pages
doc/doxygen: remove deprecated pages
2025-12-05 16:16:51 +00:00
benpicco
5cc46b5e2a
Merge pull request #21929 from benpicco/release-notes.txt-2025.10
release-notes.txt: add 2025.10 release notes
2025-12-05 16:15:32 +00:00
Martine Lenders
cdfefed38a
tests: gnrc_ipv6_ext_frag: check for failed netif header allocation
Otherwise the test just crashes when packet buffer runs full.
2025-12-05 17:12:28 +01:00
Martine Lenders
1163728e39
tests: gnrc_ipv6_ext_frag: harden expected Iface pattern for early TX ends
Otherwise the match below might fail spuriously
2025-12-05 17:11:33 +01:00
AnnsAnn
e2927ed326 doc/doxygen: remove deprecated pages 2025-12-05 16:23:05 +01:00
Mihai Renea
6fdf1cca2e build: allow multiple modules dirs when not bulding in Docker 2025-12-05 15:13:44 +01:00
Benjamin Valentin
6275dd5fd6 release-notes.txt: add 2025.10 release notes 2025-12-05 15:05:38 +01:00
crasbe
839a6b6f2d
Merge pull request #21930 from fabian18/pr/sdmmc_sdhc_fix_stall_in_disable_sd_clk
drivers/sdmmc: fix stall in _disable_sd_clk
2025-12-05 01:03:50 +00:00
Fabian Hüßler
63c0dc975d tests/drivers/sdmmc: choose board which has periph_sdmmc feature 2025-12-04 16:58:08 +01:00
Fabian Hüßler
3b8d810fae drivers/sdmmc: fix stall in _disable_sd_clk 2025-12-04 16:51:24 +01:00
Teufelchen
c5cb0c216b
Merge pull request #21731 from baptleduc/rename-ads101x-driver
drivers: rename ads101x driver to ads1x1x
2025-12-03 10:25:32 +00:00
mguetschow
6a9d54aea5
Merge pull request #21925 from mguetschow/guides-make-targets
guides/build-system: document more targets
2025-12-03 08:56:41 +00:00
Mikolai Gütschow
31e2d2ff32
guides/build-system: document more targets
Co-authored-by: crasbe <crasbe@gmail.com>
2025-12-03 09:52:44 +01:00
benpicco
4d2cecd474
Merge pull request #21926 from gschorcht/cpu/esp_common/fix_freertos_mutex
cpu/esp_common: fix FreeRTOS rmutex handling
2025-12-02 16:37:23 +00:00
Baptiste Le Duc
9dfd1d1caf drivers/ads101x: rename driver to ads1x1x 2025-12-02 15:11:17 +01:00
Gunar Schorcht
323d263629 cpu/esp_common: fix FreeRTOS rmutex handling
The ESP-IDF WiFi interface wrapper always calls `xSemaphoreTakeRecursive` and `xSemaphoreGiveRecursive` for mutexes, regardless of whether they are recursive or not. Instead of an `assert`, the fix now also checks the type of the mutex in the functions for recursive mutexes and then calls the functions for normal mutexes if the mutex is not recursive.
2025-12-02 14:54:52 +01:00
Marian Buschsieweke
668dfd9db9
Merge pull request #21924 from maribu/dlcache/portable
dist/tools/dlcache: make script more portable
2025-12-02 12:27:23 +00:00
Marian Buschsieweke
21824cc09f
dist/tools/dlcache: make script more portable
- do not use `bash` in shebang, e.g. containers may not ship bash
- do not use `flock -w <timeout_secs> ...`, but
  `timeout <timeout_secs> flock ...` to be portable to even busybox's
  flock implementation
- sha512sum is more common on Linux than shasum
2025-12-02 11:43:19 +01:00
crasbe
5196bac642
Merge pull request #21899 from LeonardHerbst/origin/event_queue_guide
doc/guides/advanced_tutorials: added event queue guide
2025-11-28 12:43:35 +00:00
LeonardHerbst
60b9f49a24 doc/guides/advanced_tutorials: added event queue guide 2025-11-28 13:38:16 +01:00
Marian Buschsieweke
6b536c6215
Merge pull request #21891 from maribu/cpu/sam0_common/periph_i2c/unstuck-for-real
cpu/sam0_common/periph_i2c: reliably unstuck bus
2025-11-27 13:37:59 +00:00
Marian Buschsieweke
0967c6b56f
cpu/sam0_common/periph_i2c: reliably unstuck bus
On a setup I have on my desk I can reliably get the I2C bus stuck. But
the current unstuck logic will not get it unstuck. Adding a full reset
of the SERCOM does fix the issue, though.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-11-27 14:01:16 +01:00
Ann🐸
4f7b172c0f
Merge pull request #21898 from maribu/tests/-sys/spdx
tests/{unittests,riotboot*,rust*,turo*}: use SPDX copyright tags
2025-11-27 11:46:17 +00:00
Marian Buschsieweke
6b6050a411
Merge pull request #21905 from maribu/drivers/sx126x/fix-hardware-detection
drivers/sx126x: improve hardware detection
2025-11-26 19:20:49 +00:00
Ann🐸
ccb5b8c65e
Merge pull request #21917 from mguetschow/make-remove-bash-dep
makefiles/utils/test: remove explicit dependency on bash
2025-11-26 14:56:40 +00:00
crasbe
1e80bd4048
Merge pull request #21916 from mguetschow/guide-docker-image
doc/guides: document DOCKER_IMAGE environment variable
2025-11-26 14:41:57 +00:00
Mikolai Gütschow
2fd86cbe07
makefiles/utils/test: rename python to more common python3 2025-11-26 13:59:14 +01:00
Mikolai Gütschow
738a02ed15
makefiles/utils/test: remove explicit dependency on bash 2025-11-26 13:58:32 +01:00
Mikolai Gütschow
ae51b869df
doc/guides: document DOCKER_IMAGE environment variable 2025-11-26 13:41:17 +01:00
Marian Buschsieweke
ed50187b34
Merge pull request #21915 from maribu/cpu/native/libucontext/fix-lockup
cpu/native: fix lockup on libucontext
2025-11-26 11:56:44 +00:00
Marian Buschsieweke
87af1a4b58
cpu/native: fix lockup on libucontext
The `setcontext()` implementation of glibc does restore the signal
mask to the target thread during the switch, libucontext [does not][1]

[1]: https://man.archlinux.org/man/libucontext.3.en#CAVEATS

Instead, we just manually enable signals again just before the call
to `setcontext()`.

With this, tests like `tests/core/mutex_canel` or `tests/core/irq` now
pass on `native64` when using libucontext.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-11-26 12:43:09 +01:00
Marian Buschsieweke
fba614b5ae
drivers/sx126x: improve hardware detection
- split out the detection logic into a static helper function
- replace a forgotten debug `printf()` with `DEBUG()`
- add a `LOG_ERROR()` to when no device is detect to ease diagnosis of
  a failing SPI bus / incorrect wiring / broken chip
- use a bullet-proof test:
    - First set the modulation type to LoRa
    - Then get the modulation type and expect it to be LoRa

Even if the reset of the devices fails (e.g. because the reset signal
is not connected) and the modulation would be different from LoRa, this
now should reliably detect the chip.
2025-11-25 23:43:47 +01:00
Teufelchen
2aafabd481
Merge pull request #21914 from benpicco/usbus_cdc_acm_flush-disco
sys/usb/cdc_acm: don't generate flush event when disconnected
2025-11-25 07:33:35 +00:00
Marian Buschsieweke
663f52c40c
Merge pull request #21913 from benpicco/suit_worker_try_prepare-set_size
sys/suit: write  size in suit_worker_try_prepare()
2025-11-25 06:16:44 +00:00
Benjamin Valentin
8aa816a9e3 sys/suit: always write size in suit_worker_try_prepare() 2025-11-24 19:47:19 +01:00
Marian Buschsieweke
ac7dccf117
Merge pull request #21912 from mguetschow/native-fputs-fwrite
cpu/native: implement fputs and fwrite
2025-11-24 18:37:38 +00:00
Benjamin Valentin
827dc31ef2 sys/usb/cdc_acm: don't generate flush event when disconnected 2025-11-24 19:21:23 +01:00