1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 07:21:18 +01:00

47672 Commits

Author SHA1 Message Date
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
mguetschow
af6bc9f9b9
Merge pull request #21450 from mguetschow/nrf52-uf2-several
tools/uf2/nrf52_softdevice_check: abort when several bootloaders present
2025-04-29 10:09:45 +00:00
mguetschow
5d1edc5673
Merge pull request #21447 from mguetschow/2025.04-release-notes
release-notes.txt: add 2025.04 release notes
2025-04-29 10:08:32 +00:00
Mikolai Gütschow
7befca8a91
tools/uf2/nrf52_softdevice_check: abort when several bootloaders present
The current tooling cannot distinguish which one is the correct one to flash.
2025-04-29 11:21:04 +02:00
Mikolai Gütschow
5e9fc72e96
release-notes.txt: add 2025.04 release notes
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2025-04-29 11:19:00 +02:00
mguetschow
ef2a45a897
Merge pull request #21449 from crasbe/pr/make_doc
buildsystem: add 'docclean', 'doc-starlight' to RIOT Welcome Message
2025-04-29 07:40:18 +00:00
crasbe
97c31c9337 buildsystem: add 'docclean', 'doc-starlight' to welcome msg 2025-04-28 22:34:16 +02:00
crasbe
f1638882cc makefiles/riotgen: fix colors and behav. for undef. targets
When executing `make generate-Makefile.ci` in the base directory,
the make system would try to call `riotgen` with `Makefile.ci`,
which does not work. Likewise with any other target like
`make generate-bogus`. The pattern rule for the prerequisites was
not evaluated by make, therefore the check did not work as
intended.
2025-04-28 22:24:57 +02:00
krzysztof-cabaj
3e6e4d3229 boards/nucleo-l432kc: add pinout to board doc page 2025-04-28 21:14:14 +02:00
krzysztof-cabaj
93b612536e boards/nucleo-l432kc: add pinout file 2025-04-28 18:44:49 +02:00
benpicco
d973ca18a9
Merge pull request #21437 from benpicco/CONFIG_GNRC_IPV6_NIB_SOL_ROUTER
gnrc/ipv6/nib: add option to disable router solicitations
2025-04-28 16:08:10 +00:00
Mihai Renea
7541ef3180 sys/atomic_utils: add bit set/clear helpers for unsigned int 2025-04-28 15:26:04 +02:00
Benjamin Valentin
989d8485de gnrc/ipv6/nib: convert conf.h to new indentation style 2025-04-28 14:12:49 +02:00
Marian Buschsieweke
f3191eaff9
Merge pull request #19926 from maribu/cpu/nrf5x_common/periph_uart
cpu/nrf5x_common: fix uart_poweroff()
2025-04-28 10:27:38 +00:00
Marian Buschsieweke
6c0d7fcdbb
cpu/nrf5x_common: fix uart_poweroff()
Previously, uart_poweroff() and uart_poweron() were no-ops. This
replaces them with the logic to indeed power on and power off the UART
device.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-28 11:53:21 +02:00
Marian Buschsieweke
385f06e784
Merge pull request #21443 from maribu/tree-wide/gcc-15-1-fixes
tree-wide: fix compilation with GCC 15.1 and picolibc 1.8.10
2025-04-28 06:45:13 +00:00
Joshua DeWeese
b71874bf5a
Merge pull request #21445 from maribu/pkg/mpaland-printf/configure-long-long
sys/stdio: add printf_long_long
2025-04-27 23:02:58 +00:00
Marian Buschsieweke
b9b488d6fb
sys/stdio: add printf_long_long
This adds the new `printf_long_long` module that can be used to enable
printing of `long long` and `unsigned long long`.

This has been implemented for `mpaland-printf`. In addition, this module
is a default module for 32-bit and 64-bit systems if `mpaland-printf` is
used, 64 bit support is not too expensive for them. (And on 64-bit
systems support for long long is needed for support of `%p`, which is
pretty basic.)

This is mainly useful for MSP430, where otherwise `mpaland-printf` would
require more memory than newlib's implementation.
2025-04-27 23:37:33 +02:00
Marian Buschsieweke
0be58f6e3a
sys/picolibc_syscalls_default: fix linking with 1.8.10+
This adapts to an API change for providing stdin/stdout/stderr: The
macro to test whether globals are to be used is now prefixed with two
underscores.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-27 22:59:33 +02:00
Marian Buschsieweke
59b1774daa
pkg: Disable more warnings
This adds `-Wno-unterminated-string-initialization` to the `CFLAGS` if
(and only if) the compiler supports this.

This also adds `-Wno-maybe-uninitialized`. This warning has been
supported for quite some time, but the diagnostics triggers more often
with newer GCC releases.
2025-04-27 22:59:33 +02:00