1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

47691 Commits

Author SHA1 Message Date
Marian Buschsieweke
f36a384cb9
examples/basic/subfolders: fix test
At least on the samr21-xpro used for hardware in the loop testing, the
terminal did not attach in time after the reset to capture all of the
output.

This adds the `test_utils_interactive_sync` module to wait for an `s`
to be received via `stdio` before starting to print to sync with the
test scripting.
2025-05-10 15:50:16 +02:00
mguetschow
1bacf70307
Merge pull request #21476 from mguetschow/examples-subfolders-external-module
examples/basic/subfolders: switch from DIRS to EXTERNAL_MODULE_DIRS
2025-05-09 09:24:03 +00:00
Mikolai Gütschow
1f674a416f
examples/basic/subfolders: add test 2025-05-09 11:20:09 +02:00
Mikolai Gütschow
8ff4d19986
examples/basic/subfolders: switch from DIRS to EXTERNAL_MODULE_DIRS 2025-05-09 11:20:09 +02:00
Teufelchen
5b5c1ba2ec
Merge pull request #21472 from crasbe/pr/gettingstarted
doc/getting-started: Fix links, minor cleanup
2025-05-08 15:59:56 +00:00
crasbe
2e052cfc45 doc/getting-started: fix links, minor cleanup 2025-05-08 17:38:48 +02:00
mguetschow
57c0ce6dc7
Merge pull request #21474 from IsikcanYilmaz/sys/ifconfig_helptext_typo
sys/shell/cmd: typo in ifconfig helptext, \'transition\' fixed as \'transmission\'
2025-05-08 12:22:57 +00:00
jon
0c6b3f63ba typo \'transition\' fixed as \'transmission\' 2025-05-08 12:21:33 +02:00
Marian Buschsieweke
098bc8de64
Merge pull request #21395 from crasbe/pr/ada-nrfutil
boards/adafruit-{clue,itsybitsy-nrf52}: Convert to Common `adafruit-nrf52-bootloader` module
2025-05-08 09:33:31 +00:00
crasbe
a7536df2ca boards/ada-nrf52-bl: add note about Automounting for uf2conv 2025-05-08 10:46:46 +02:00
crasbe
cebe693556 boards/ada-{clue,itsybitsy-nrf52}: update flashing doc 2025-05-07 15:31:17 +02:00
crasbe
4ee42929f0 boards/ada-nrf52-bl: add documentation about ada-nrfutil 2025-05-07 15:31:17 +02:00
crasbe
296d9b1949 boards/adafriot-{clue,itsybitsy-nrf52}: change doc.txt to Markdown 2025-05-07 15:31:17 +02:00
crasbe
f9b0cc7711 boards/adafruit-{clue,itsybitsy-nrf52}: convert to common Ada nRF52 BL
The Adafruit Clue and Itsybitsy nRF52 also use the Adafruit nRF52
Bootloader which has a common module that can be used.
Especially the Itsybitsy nRF52 (mis)uses the nrfutil programmer
target and has a lot of redundant code.

Furthermore, the Double Tap Magic Value used by both boards
is incorrect for using the USB Bootloader.
2025-05-07 15:31:17 +02:00
Teufelchen
96e202f2f0
Merge pull request #21469 from crasbe/pr/uf2conv_bump
dist/tools: bump uf2conv version
2025-05-07 10:18:04 +00:00
Marian Buschsieweke
a71c3a1464
Merge pull request #21468 from maribu/sys/embunit/fix-return-value
sys/embunit: fix return value on failure
2025-05-07 05:29:01 +00:00
crasbe
820d4ce181 dist/tools: bump uf2conv version 2025-05-06 21:14:19 +02:00
Marian Buschsieweke
b0ec60c2d5
sys/embunit: fix return value on failure
When using `OUTPUT=COLORTEST` the return value of the unit test's
`main()` on failure was `0`, while it should be `1`. As a result,
running the unit tests from a script using

    $ OUTPUT=COLORTEXT make BOARD=native64 RIOT_TERMINAL=native -j32 flash term -C tests/unittests

would not catch a test failure.

This commit changes the behavior so that `0` is returned on success
and `1` on failure for both regular and colored text output.
2025-05-06 18:54:27 +02:00
Marian Buschsieweke
8f961476b7
Merge pull request #21467 from benpicco/sock_util-fix
sys/net/sockutil: Do not use undefined structs
2025-05-06 13:27:46 +00:00
Benjamin Valentin
a08a0814f9 sys/net/sockutil: Do not use undefined structs
sock_tcp_ep_t may not be defined if sock_tcp is not used.
2025-05-06 15:05:02 +02:00
benpicco
bb0c38a0d1
Merge pull request #21465 from maribu/makefiles/docker-cargo
build system: improve cargo/docker interaction
2025-05-06 07:54:52 +00:00
benpicco
c937969224
Merge pull request #21419 from maribu/sys/net/sock_util
sys/net/sock_util: Do not depend on network stack
2025-05-05 17:18:46 +00:00
Marian Buschsieweke
41c8f5112b
sys/net/sockutil: use #pragma once
Co-authored-by: benpicco <benpicco@googlemail.com>
2025-05-05 18:09:29 +02:00
Marian Buschsieweke
62e553ad6c
sys/net/sock_util: Do not depend on network stack
This allows using and compiling the URL handling functions of sock_util
without a network stack used.

Co-authored-by: benpicco <benpicco@googlemail.com>
2025-05-05 18:09:22 +02:00
benpicco
fd88c132d5
Merge pull request #21460 from krzysztof-cabaj/nucleo-l432-DOC
boards/nucleo-l432kc: improve board doc page
2025-05-05 15:23:10 +00:00
Marian Buschsieweke
e655d83e6a
build system: improve cargo/docker interaction
Do not create the cargo folder unconditionally, but only before running
docker and only when they do not exist.
2025-05-05 16:53:02 +02:00
Teufelchen
36ca9b372e
Merge pull request #21458 from AnnsAnns/guides/ci_test
.github/workflows: Guide Site Build Test
2025-05-05 11:03:41 +00:00
AnnsAnn
67f88e5b69 .github/workflows: Guide Site Build Test 2025-05-05 10:22:29 +02:00
Teufelchen
820371858d
Merge pull request #21464 from maribu/cpu/sam0/update-coding-style
cpu/sam*: update style to coding convention
2025-05-05 08:17:47 +00:00
Marian Buschsieweke
e29bfedf44
cpu/sam*: update style to coding convention
- Use `#pragma once`
- Indent preprocessor directives inside conditional compilation
- Drop unused `#include`s
2025-05-05 08:59:00 +02:00
Marian Buschsieweke
0f171d624f
Merge pull request #20398 from dpproto/20233-add-abp2-driver
drivers/abp2: add abp2 driver
2025-05-04 10:33:52 +00:00
David Picard
2c97a5330f tests/drivers/abp2: test implementation 2025-05-04 10:28:59 +02:00
David Picard
67f46778e4 drivers/abp2: implement the makefiles
Use pseudomodules to add a dependency on the relevant feature:
periph_spi if the abp2_spi pseudomodule is selected,
or periph_i2c if the abp2_i2c pseudomodule is selected.
2025-05-04 10:28:59 +02:00
David Picard
d2f8d4df22 drivers/abp2: driver for SPI sensors, prepare for I2C
Honeywell ABP2 pressure sensors series.
Implement all sensors features, only supporting the SPI version
of the sensor.
Prepare future support for the I2C interface by emphasizing where
to implement the code that will support the I2C bus version.
2025-05-04 10:28:58 +02:00
David Picard
2812361844 drivers/abp2: define default sensor parameters 2025-05-04 10:28:58 +02:00
krzysztof-cabaj
bd58f93863 boards/nucleo-f432kc: rename doc.txt -> doc.md 2025-05-03 16:38:20 +02:00
krzysztof-cabaj
eb2376654f boards/nucleo-l432kc: add MCU table to doc page 2025-05-03 16:31:34 +02:00
Marian Buschsieweke
bf8c734f98
Merge pull request #21459 from maribu/sys/stdio/doc
sys/stdio: better document configuration
2025-05-01 10:06:50 +00:00
Marian Buschsieweke
3d5fad5aa1
sys/stdio: better document configuration
This changes the documentation of how to configure stdio, especially
with regard on how to configure the stdio frontends with
`printf_float`, `printf_long_long`, and `stdin`.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-05-01 11:54:15 +02:00
mguetschow
e3594ef136
Merge pull request #21457 from AnnsAnns/guides/fix_refs
doc/guides/general: switch out @ref usage
2025-04-30 15:58:00 +00:00
benpicco
217ab247f6
Merge pull request #21440 from derMihai/mir/unsigned_set_clear
sys/atomic_utils: add bit set/clear helpers for unsigned int
2025-04-30 15:41:43 +00:00
AnnsAnn
cb297758dc doc/guides/general: switch out @ref usage 2025-04-30 16:49:53 +02:00
benpicco
c3ac00c50a
Merge pull request #21456 from benpicco/event_callback_debug
sys/event: make debug output of `event_loop_debug` more useful
2025-04-30 13:02:17 +00:00
Benjamin Valentin
26ddb2e6e3 sys/event: make debug output of event_loop_debug more useful 2025-04-30 14:44:41 +02:00
Teufelchen
a1816a7a7c
Merge pull request #21436 from AnnsAnns/tutorials/getting_started
doc/guides: Add Getting Started guide
2025-04-29 17:07:20 +00:00
AnnsAnn
d511d60dae doc/guides: Getting Started
doc/guides: remove original windows guide
2025-04-29 18:39:57 +02:00
Teufelchen
a699b7bb2a
Merge pull request #21109 from leandrolanzieri/pkg/wakaama/add_on_off_switch
pkg/wakaama: add on off switch
2025-04-29 12:08:02 +00:00
crasbe
9df0a3907a
Merge pull request #21448 from crasbe/pr/gen_makeci
makefiles/riotgen: fix colors and behavior for undefined `generate-*` targets
2025-04-29 11:55:39 +00:00
Leandro Lanzieri
a57d5cc024 examples/lwm2m: add on/off switch object 2025-04-29 13:40:58 +02:00
Leandro Lanzieri
04d25590c8 pkg/wakaama/objects: add IPSO on/off switch 2025-04-29 13:40:58 +02:00