1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 23:11:19 +01:00

48383 Commits

Author SHA1 Message Date
crasbe
8c12a06824
Merge pull request #21702 from N11cc00/fix-tests-headers
tests: replace header guards with #pragma once
2025-09-08 15:42:28 +00:00
crasbe
39889fa321
Merge pull request #21703 from crasbe/pr/coding_conv
CODING_CONVENTION: Enable Syntax Highlighting and add more examples
2025-09-08 13:54:48 +00:00
KSKNico
9d013230eb tests: change header guards to pragma once 2025-09-08 15:19:11 +02:00
crasbe
703feab3da
Merge pull request #21700 from LasseRosenow/starlight-theming
doc/starlight: Adjust theming to RIOT branding
2025-09-05 18:06:57 +00:00
Lasse Rosenow
571fbf9720
doc/starlight: Adjust theming to RIOT branding 2025-09-05 19:58:06 +02:00
crasbe
54027c08eb CODING_CONVENTIONS: add doc and switch-case example 2025-09-05 18:17:03 +02:00
crasbe
9c3bbe3051 CODING_CONVENTIONS: enable C syntax highlighting 2025-09-05 18:06:43 +02:00
crasbe
7781b8be38
Merge pull request #21059 from kfessel/p-improve-feature-list
README.md: improve feature list
2025-09-05 15:21:40 +00:00
crasbe
8cd67cd9f0
Merge pull request #21646 from AnnsAnns/move_coc
doc: Integrate Governance, Code of Conduct and C++ Tutorial into Starlight
2025-09-05 12:31:29 +00:00
Karl Fessel
3e6145b1da README.md: improve feature list 2025-09-05 14:30:52 +02:00
AnnsAnn
00c0c8f182 doc/starlight: generate governance & code_of_conduct, move c++ guide 2025-09-05 14:27:26 +02:00
crasbe
2809870e7d
Merge pull request #21680 from krzysztof-cabaj/cpu_rename_doc_txt
cpu: rename doc txt -> doc.md
2025-09-05 12:22:07 +00:00
krzysztof-cabaj
d0decbd065 cpu: rename doc.txt -> doc.md for remaining CPUs 2025-09-05 13:14:22 +02:00
crasbe
5c1aa5abb6
Merge pull request #21657 from maribu/pkg/qdsa/drop
pkg/qdsa: drop package
2025-09-05 11:11:22 +00:00
crasbe
44744e5da6
Merge pull request #21696 from crasbe/pr/double_pragma
dist/tools: add double `#pragma once` error message to headerguards check
2025-09-05 11:10:47 +00:00
crasbe
1be70cf83d
Merge pull request #21022 from miri64/saul_bat_voltage/enh/feather-m0-config
feather-m0: add support for saul_bat_voltage
2025-09-05 09:59:26 +00:00
benpicco
39c68a775f
Merge pull request #21688 from fabian18/pr/sx126x_fail_init_without_device
drivers/sx126x: fail on init if no device is connected
2025-09-05 09:38:20 +00:00
crasbe
22ade24ea4 dist/tools: add double pragma error message to headerguard check 2025-09-05 10:34:40 +02:00
Martine S. Lenders
08b6936255
feather-m0: add support for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:27:30 +02:00
Martine S. Lenders
406fef2dc5
common/particle-mesh: add output unit for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:26:13 +02:00
Martine S. Lenders
db5666acde
adafruit-feather-nrf52840-express: add output unit for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:26:13 +02:00
Martine S. Lenders
e02a8be2b7
adafruit-feather-nrf52840-sense: add output unit for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:26:13 +02:00
Martine S. Lenders
ef5f42235c
saul_bat_voltage: add output unit to documentation
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 09:56:50 +02:00
crasbe
8774ed26d1
Merge pull request #21695 from benpicco/suit_fetch-info
sys/suit: print firmware URL if download fails
2025-09-05 06:47:12 +00:00
Benjamin Valentin
d83e2c0394 sys/suit: print firmware URL if download fails 2025-09-04 16:44:53 +02:00
crasbe
7e7af30de9
Merge pull request #21256 from benpicco/sys/net/gnrc-fixes
gnrc/ipv6/nib: improve debug output, declutter code
2025-09-04 14:44:07 +00:00
crasbe
7c44b06e5c
Merge pull request #21652 from benpicco/nanocoap_server/buf
nanocoap_server: use zero-copy network buffer for parsing request
2025-09-04 14:43:05 +00:00
Fabian Hüßler
819456c97f drivers/sx126x: fail on init if no device is connected 2025-09-02 10:02:36 +02:00
fabian18
3eee3687d8
Merge pull request #21684 from fabian18/pr/sx126x_dio2_dio3
drivers/sx126x: add support for Dio2 and Dio3
2025-08-27 16:04:09 +00:00
Fabian Hüßler
e15a65e3a7 drivers/sx126x: add support for Dio2 and Dio3 2025-08-27 13:44:43 +02:00
Marian Buschsieweke
34c90840f3
Merge pull request #21677 from mguetschow/tests-printf-p
tests: accept %p printing in uppercase and without leading 0x
2025-08-25 09:47:10 +00:00
Mikolai Gütschow
4767b98c8b
tests/core/msg_queue_print: accept (nil) instead of 0x0+ for all boards 2025-08-25 10:56:41 +02:00
crasbe
480ed832cb
Merge pull request #21683 from aabadie/emlearn_cleanup
tests/pkg/emlearn: fix wrong model header file name in README
2025-08-25 08:41:22 +00:00
Mikolai Gütschow
ede39c6c45
tests: accept %p printing in uppercase and without leading 0x
the output of the specifier %p is implementation defined, and mpaland-printf gives something different than newlib
2025-08-25 10:40:20 +02:00
Alexandre Abadie
fb61483be7
tests/pkg/emlearn: generate_model.py is no longer called automatically 2025-08-25 10:34:18 +02:00
Alexandre Abadie
965c8387e3
tests/pkg/emlearn: fix wrong model header file name in README 2025-08-25 10:28:20 +02:00
Marian Buschsieweke
e49b7fd3a4
Merge pull request #21678 from maribu/pkg/mpaland-printf/format-pointer-like-glibc
pkg/mpaland-printf: format points like glibc
2025-08-22 13:07:01 +00:00
Marian Buschsieweke
9cb6c2e3e3
Merge pull request #21676 from mguetschow/riotboot-builddir
makefiles/boot/riotboot: pass BUILD_DIR to recursive Make call
2025-08-22 12:40:24 +00:00
Mikolai Gütschow
625a8a8c89
makefiles/boot/riotboot: pass BUILD_DIR to recursive Make call 2025-08-22 11:13:04 +02:00
Marian Buschsieweke
9673e36a76
pkg/mpaland-printf: format points like glibc
newlib and picolibc already implicitly add the `0x` prefix for `%p` just
as glibc does, and some of our tests scripts depend on this.

(And subjectively, this looks better.)

This adds https://github.com/mpaland/printf/pull/90 on top of our
patches.
2025-08-22 10:53:14 +02:00
mguetschow
95952acb01
Merge pull request #21645 from ML-PA-Consulting-GmbH/dl/riot/20250805__info-build-json
makefiles/info.inc.mk: improvements to json build output
2025-08-22 08:00:47 +00:00
Marian Buschsieweke
c0cc617c7f
Merge pull request #21633 from crasbe/pr/sntp
sys/net/sntp: migrate from xtimer to ztimer
2025-08-21 16:23:56 +00:00
krzysztof-cabaj
8c623fa82f cpu: rename doc.txt -> doc.md for SAM cpu 2025-08-21 14:44:31 +02:00
crasbe
acf10d91b9 sys/net/ntp_packet: add ref to SNTP, fix time 2025-08-21 14:27:28 +02:00
crasbe
8ab9956ae5 sys/net/sntp: migrate from xtimer to ztimer 2025-08-21 14:27:28 +02:00
krzysztof-cabaj
978736ab13 cpu: rename doc.txt -> doc.md for ESP 2025-08-21 14:21:19 +02:00
Marian Buschsieweke
e26321e913
Merge pull request #21438 from maribu/sys/newlib/fix-stdio
build system: use thread-safe stdio
2025-08-21 11:07:34 +00:00
Marian Buschsieweke
4a84f6f58e
tests/sys/snprintf: use printf_long_long
This is required to support printing 64 bit numbers, as is done in the
test.

In addition that 64 bit formatting test is feature gated, so that users
can simply comment out the `USEMODULE += printf_long_long` to fit tiny
boards.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-08-21 12:08:10 +02:00
Marian Buschsieweke
3415656a4a
sys/newlib_syscalls_default: wrap newlib's assert implementation
This avoids inconsistent output when external code gets linked in that
directly links against newlib's assert implementation (e.g. binary blobs
or packages that do not add `core/lib/include` to the include paths).

This also greatly benefits wrapping printf, as newlib's `__assert_func()`
directly links to internal printf functions of newlib.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-08-21 12:08:10 +02:00
Marian Buschsieweke
64c76246c5
core/assert: always declare _assert_panic() / _assert_failure()
That way users can rely on elimation of dead code from the optimizer
instead of having to use preprocessor conditionals when feature-gating
assert implementations behind `!NDEBUG`.

Co-authored-by: benpicco <benpicco@googlemail.com>
Co-authored-by: crasbe <crasbe@gmail.com>
Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-08-21 12:08:09 +02:00