1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

48919 Commits

Author SHA1 Message Date
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
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
AnnsAnn
e2927ed326 doc/doxygen: remove deprecated pages 2025-12-05 16:23:05 +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
Mikolai Gütschow
bb192ee2c6
cpu/native: implement fputc, too 2025-11-24 16:49:16 +01:00
Mikolai Gütschow
f13f2889d7
cpu/native: implement fputs and fwrite 2025-11-24 16:28:57 +01:00
Marian Buschsieweke
19cccbb850
Merge pull request #21911 from fabian18/pr/sx126x_fix_dio3
drivers/sx126x: fix compilation for sx126x_dio3
2025-11-24 15:12:12 +00:00
Fabian Hüßler
01b2c2fbff drivers/sx126x: fix compilation for sx126x_dio3 2025-11-24 15:58:03 +01:00
Marian Buschsieweke
1a1e104d54
Merge pull request #21909 from maribu/spdx/fix/or-later
tests: fix SPDX license tags
2025-11-23 22:10:35 +00:00
crasbe
ba6c53e93b
Merge pull request #21903 from maribu/core/spdx
core: use SPDX copyright tags
2025-11-23 21:24:10 +00:00
Marian Buschsieweke
bd43254702
core: use SPDX copyright tags
Co-authored-by: crasbe <crasbe@gmail.com>
2025-11-23 21:07:35 +01:00
Marian Buschsieweke
d707a05058
tests: fix SPDX license tags
During the conversion to SPDX tags a few files that actually should have
been tagged `LGPL-2.1-or-later` got tagged `LGPL-2.1-only`.

This fixes the labels to match the actual file license.
2025-11-23 21:02:37 +01:00
Marian Buschsieweke
b8c553c77d
Merge pull request #21902 from maribu/tests/sys/spdx
tests/sys: use SPDX copyright tags
2025-11-22 07:53:01 +00:00
Marian Buschsieweke
f8029e8891
tests/sys: use SPDX copyright tags
Co-authored-by: crasbe <crasbe@gmail.com>
2025-11-22 08:48:27 +01:00
Marian Buschsieweke
2c815f837d
Merge pull request #21895 from maribu/core/thread_flags_group/fix
core/thread_flags_group: use portable implementation
2025-11-21 16:33:38 +00:00
Marian Buschsieweke
f396456423
core/thread_flags_group: use portable implementation
The previous implementation relied on `thread_flag_set()` to defer the
context switch when called with IRQs disabled until `irq_restore()` is
called. This however can only be the case when `thread_yield_higher`
triggers an IRQ and performs the context switch within the ISR. This
allowed the previous implementation to continue calling
`thread_flag_set()` for the remaining group members.

This however is an implementation detail that is not part of the API
contract. Platforms that do not have a service request IRQ may have to
use other means for context switching that do not get deferred until
an `irq_restore()` is called. In that case, the first call to
`thread_flags_set()` even with IRQs disabled may directly trigger a
context switch to the unblocked thread, even if other group members
would also be unblocked and have a higher priority.

This changes the implementation to manually set the flags and update
the thread status without yielding and keep track whether any thread
has been awoken. Only once the states of all threads have been updated,
the adapted implementation will now call `thread_yield()` (unless no
thread was awoken).
2025-11-21 15:21:25 +01:00
Marian Buschsieweke
50a1d28b47
core/thread_flags: change internal API
All uses of thread_flags_wake() also had to set the flags anyway, so
we can just combine those operations into a new
thread_flags_set_internal() and update the users to use that instead.
2025-11-21 15:21:22 +01:00
benpicco
47ecbc14a2
Merge pull request #21904 from Stopkaa/drivers/mrf24j40
drivers/mrf24j40: replace && with || in TX power validation
2025-11-21 13:23:42 +00:00
Stepan Konoplev
27ceb0eb8c drivers/mrf24j40: replace && with || in TX power validation 2025-11-21 12:15:37 +01:00