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

2655 Commits

Author SHA1 Message Date
Leandro Lanzieri
04d25590c8 pkg/wakaama/objects: add IPSO on/off switch 2025-04-29 13:40:58 +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
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
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
Marian Buschsieweke
fba75da03f
Merge pull request #21439 from maribu/pkg/mpaland-printf/fix-float
pkg/mpaland-printf: fix overriding printf with printf_float
2025-04-26 19:00:43 +00:00
Marian Buschsieweke
7caf2066d8
pkg/mpaland-printf: fix overriding printf with printf_float
This makes sure that newlib's printf is correctly overridden by:

1. Adding wrappers for some more obscure printf() variants
2. Forcing a compilation failure when newlib's stdio is still linked in
   while mpaland-printf is used
3. Not adding `-u _printf_float` to the linker flags when mpaland-printf
   is used.
2025-04-26 15:28:17 +02:00
crasbe
911654433b
Merge pull request #21421 from TinyPART/pkg/micropython/fix-unused-parameter
pkg/micropython: bump version
2025-04-25 13:25:48 +00:00
Pierre Le Meur
648570579c
pkg/micropython: bump version
Signed-off-by: Pierre Le Meur <pierre1.lemeur@orange.com>
2025-04-25 15:15:07 +02:00
Marian Buschsieweke
6d8233fa24
pkg/mpaland-printf: Add alternative stdio as package
This packs the stdio implementation from [1] as alternative to
what the used standard C lib provides with the intent to provide a
thread-safe, smaller, and more feature-complete alternative on
newlib targets.

Compared to `newlib_nano` this reduces `.text` by a bit more than 200 B
while adding support for standard format specifiers such as `RPIu8`,
`PRIu16`, `PRIu64`, `%z`, and `%t`.

Note that `newlib_nano`'s stdio can be thread-safe in reentrant mode
at the cost of RAM (per thread) and latency. Especially the increase
in latency can be prohibitive when real time requirements need to be
met.

[1]: https://github.com/mpaland/printf
2025-04-24 11:46:09 +02:00
Marian Buschsieweke
4347120a71
pkg/umore: upgrade pkg
This pulls in a minor doc fix from upstream.
2025-04-22 20:35:44 +02:00
Marian Buschsieweke
488ded8e98
pkg/lwip: Add DEBUG output to lwip_sock_tcp() 2025-04-17 17:46:33 +02:00
Jongmin Kim
a1cd48a45f
pkg/esp32: avoid sys/uio.h inclusion outside of RIOT
The RIOT header `<sys/uio.h>` is not available when using the bundled ESP-IDF
outside of RIOT.

This patch ensures that `<sys/uio.h>` is only included when `RIOT_VERSION` is
defined.

Signed-off-by: Jongmin Kim <jmkim@debian.org>
2025-04-14 15:20:08 +09:00
Jongmin Kim
876bfa2e1a
pkg/esp32: correct declaration of renamed function rtc_gpio_force_hold_en_all
The implementation of `rtc_gpio_force_hold_all()` was renamed to`rtc_gpio_force_hold_en_all()`
in the patch `0022-driver-gpio-fix-undefined-reference-to-rtc_gpio_forc.patch`.

This patch corrects the function declaration to match the renamed implementation.

Signed-off-by: Jongmin Kim <jmkim@debian.org>
2025-04-14 15:18:35 +09:00
Marian Buschsieweke
8e31630fd5
build-system: Drop -Wno-error=documentation
Treat documentation issues flagged by LLVM as hard errors.

LLVM tends to be a lot less picky about documentation issues compared
to Doxygen (e.g. no warning about missing doc), but warns about things
that really are not intentional (e.g. `@param foo` when the argument has
been renamed to `bar`, `@return` when the return type is `void`, ...).

Having this as a base line requirement seems pretty sane.
2025-04-10 13:37:14 +02:00
Marian Buschsieweke
f46ab1cb67
pkg: Use -isystem instead of -I for pkg headers
We cannot fix package headers downstream, so we can just as well tell
the compiler to not warn about them.
2025-04-10 13:37:14 +02:00
Marian Buschsieweke
39e7be0496
pkg/wamr: support -isystem for includes
pkg/wamr has special handling for passing along includes, but assumed
that all includes would be passed via `-I` and not `-isystem`. This
now extends the special handling to support both.
2025-04-10 13:37:13 +02:00
Marian Buschsieweke
4ce7ab2133
tree-wide: fix documentation issues
This should fix compilation with -Wdocumentation on LLVM.
2025-04-10 13:37:13 +02:00
Marian Buschsieweke
33988b12ac
Merge pull request #21388 from maribu/cpu/native/can
sys/can: fix compilation issues under native
2025-04-09 11:21:06 +00:00
Marian Buschsieweke
66ea4f7828
pkg/libsocketcan: fix compilation with posix_headers used
This simply strips the include path to the posix compat headers from
the includes, but at the level of the local `Makefile` (so without
side effects on other modules/packages). Since libsocketcan is only
ever used on native, this should be fine.
2025-04-09 13:10:05 +02:00
mguetschow
3b470956aa
Merge pull request #21386 from mguetschow/deprecated-mtd-dev
drivers/mtd_default: remove deprecated `mtd_default_get_dev()`
2025-04-08 14:53:35 +00:00
crasbe
87352ee72d
Merge pull request #19955 from dprigoshij/sen5x
drivers/sen5x: Add device driver for SEN5x
2025-04-08 13:21:57 +00:00
Mikolai Gütschow
76e028e51d
treewide: use mtd_dev_get instead of deprecated mtd_default_get_dev 2025-04-08 15:03:58 +02:00
Daniel Prigoshij
0eb1d9bca4 pkg/driver_sen5x: Implemented dedicated package for the sen5x driver 2025-04-08 11:22:06 +02:00
Marian Buschsieweke
db0be36345
tree-wide: mixed back of documentation fixes
This fixes a number of documentation issues that LLVM/clang would flag
with `-Wdocumentation`.
2025-04-07 15:59:13 +02:00
Daniel Prigoshij
3aa960ea01 drivers/sen5x: SAUL functionality imlemented 2025-04-07 13:21:30 +02:00
Marian Buschsieweke
c1aee234ee
Merge pull request #21357 from maribu/tree-wide/dox-fixes
tree wide: various doc fixes
2025-04-05 17:57:43 +00:00
Benjamin Valentin
c231cfebc1 lwip_sock/udp: zero-init sock struct on create 2025-04-04 16:10:44 +02:00
Marian Buschsieweke
1ff982a664
tree wide: various doc fixes
This fixes a batch of incorrect Doxygen comments that building with
LLVM/clang and `-Wdocumentation` uncovered.
2025-04-04 11:44:53 +02:00
Marian Buschsieweke
ca781c2f12
Merge pull request #21242 from mguetschow/native-alias
boards: introduce board alias and make native default to host target
2025-04-02 09:14:12 +00:00
benpicco
85dc9be1c9
Merge pull request #20872 from benpicco/stdio_null-frontend
core: add stdio.h to replace stdout functions with stdio_null
2025-04-01 15:30:08 +00:00
Benjamin Valentin
6a08bff2f0 pkg/jerryscript: don't be pedantic 2025-04-01 14:29:28 +02:00
Mikolai Gütschow
69c15e1754
boards: make BOARD=native an alias for BOARD=native32 2025-04-01 12:39:06 +02:00
mguetschow
2b8b110986
Merge pull request #21321 from mguetschow/cc310-file-macros
pkg/driver_cryptocell_310: replace deprecated RIOT_FILE_RELATIVE
2025-03-27 13:56:00 +00:00
mguetschow
04a169867e
Merge pull request #20876 from Ollrogge/fido2_update_tests
Fido2 update tests
2025-03-25 19:32:39 +00:00
Mikolai Gütschow
ed278a443f
pkg/driver_cryptocell_310: replace deprecated RIOT_FILE_RELATIVE 2025-03-25 18:34:40 +01:00
Marian Buschsieweke
44c6c323c6
Merge pull request #21200 from zvecr/nimble_svc_bas
pkg/nimble: Fix compilation with `USEMODULE += nimble_svc_bas`
2025-03-24 15:01:55 +00:00
Marian Buschsieweke
5869c2c271
Merge pull request #21180 from derMihai/mir/sock_udp/cancel_async_mainline
net_sock_async_event: cancel async event on sock_*_close()
2025-03-20 06:10:26 +00:00
MrKevinWeiss
f770f72202
treewide: Fix spelling mistakes 2025-03-13 13:59:07 +01:00
crasbe
b14140aab9 pkg/uwb-dw1000: move doc.txt to doc.md, fix Markdown include 2025-03-12 23:14:01 +01:00
jon
fa30a74ba9 pkg/ccn-lite: use top of tree of ccnl and remove unneeded patch 2025-03-07 20:51:56 +01:00
Marian Buschsieweke
f0d53789e4
Merge pull request #21245 from gschorcht/cpu/esp32/fix_compile_problem_gcc_14.2
cpu/esp32: Fixes of compile problems with GCC 14.2
2025-03-02 13:18:36 +00:00
mguetschow
41f6f233d8
Merge pull request #21229 from AnnsAnns/docDeadLink
docs: Switch out pkg reference link
2025-02-25 17:59:25 +00:00
Gunar Schorcht
ed2a82ddd6 pkg/utensor: suppress compiler warnings for ESP32x 2025-02-25 17:27:27 +01:00
Gunar Schorcht
3600222d6e pkg/jerryscript: suppress compiler warnings for ESP32x 2025-02-25 17:27:12 +01:00
lulu254b
daf814e9f9 pkg/driver_cryptocell_310: allow data to be in ROM on hash update 2025-02-24 13:31:41 +01:00
Ann🐸
af986e2a98 docs: Switch out pkg reference link
doc: fix link
2025-02-23 13:36:08 +01:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +01:00
krzysztof-cabaj
a2dfd78b27 treewide: fix double the in doc and comments 2025-02-18 13:25:02 +01:00
Mikolai Gütschow
ca5fe72bf8
treewide: fix example references in docs
adapt to folder structure from #21135
2025-02-14 19:14:22 +01:00
Mihai Renea
0f25aecceb sock/async: cancel sock async events when closing the socket 2025-02-12 16:41:59 +01:00