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

48837 Commits

Author SHA1 Message Date
Marian Buschsieweke
2d475b3dcd
tests/core/msg_queue_print: fully initialize msg for sending
On 8-bit and 16-bit platforms `uint32_t` is wider than `void *`, as
pointers are (typically) only 16 bit in size. This causes output like:

    Message queue of thread 2
        size: 8 (avail: 8)
        * 0: sender: 2, type: 0x0000, content: 2701197312 (0)
        * 1: sender: 2, type: 0x0001, content: 2701197313 (0x1)

As seen here, the leading two bytes of `msg.content.value` contain
"random" bits, as those bytes are not explicitly initialized.

This fixes the issue by explicitly initializing the whole `msg_t` via
an initializer list.
2025-11-16 23:10:31 +01:00
crasbe
dcf4aa5627
Merge pull request #21880 from maribu/pkg/cn-cbor/fix-failing-test
pkg/cn-cbor: fix unaligned access
2025-11-16 15:59:15 +00:00
crasbe
f8a0c986ae
Merge pull request #21862 from morigawa/pr/integrate-openthread-into-shell
sys/shell: add shell wrapper for openthread cli
2025-11-16 12:58:20 +00:00
morigawa
36a251b461 examples/openthread: Adept example to new shell usage
Add shell to example, update readme and add adafruit-feather-sense to
whitelisted boards, after testing.
2025-11-16 11:31:17 +01:00
morigawa
83b866f69a pkg/openthread: use RIOT shell as wrapper for ot cli
Automatically use RIOT shell when compiling OpenThread with CLI module.
Ordered Makefile.dep alpha numerically.
2025-11-16 11:31:17 +01:00
morigawa
5b3f57522a sys/shell: integrate OpenThread CLI into RIOT shell
Until now OpenThread CLI and RIOT shell could not be used at the same
time. Now it is possible to use all CLI command with the prefix "ot". To
get an overview use "ot help".
2025-11-16 11:31:17 +01:00
Marian Buschsieweke
b44aea38d6
pkg/cn-cbor: fix unaligned access
With GCC 15.2.0, the self test of cn-cbor fails. Using safe unaligned
access and standard endian conversions fixes the issue.
2025-11-16 00:56:50 +01:00
mguetschow
490b595ccd
Merge pull request #21869 from krzysztof-cabaj/pkg_lwip_ipv4_dependencies_v2
pkg/lwip: fix dependencies when LWIP IPv4 and LWIP_DHCP is used
2025-11-14 12:54:24 +00:00
krzysztof-cabaj
6be2534465 pkg/lwip: fix dependencies when LWIP IPv4 and LWIP_DHCP is used 2025-11-14 11:31:53 +01:00
Ann🐸
ff7a26671e
Merge pull request #21876 from crasbe/pr/periph_i2c_latex
drivers/periph/i2c: Replace LaTeX formula with static SVG file in documentation
2025-11-13 14:19:21 +00:00
crasbe
1cd37aaff5 drivers/periph/i2c: replace LaTeX eqn. with SVG in doc 2025-11-13 15:13:30 +01:00
Ann🐸
1c87d5f9c5
Merge pull request #21292 from crasbe/pr/update_doxyfile
doc/doxygen: Change Default to Light Mode
2025-11-13 13:57:20 +00:00
crasbe
ef7bdfc38f doc: force light mode for the Doxygen documentation 2025-11-13 14:15:47 +01:00
Ann🐸
144b1496d0
Merge pull request #21372 from crasbe/pr/doccheck
dist/tools,doc/doxygen: use `doc-ci` in the doccheck if possible, update to Doxygen 1.15.0
2025-11-13 13:05:22 +00:00
crasbe
8446315bc0 dist/tools/doxygen: use dlcache for Doxygen download 2025-11-13 14:00:10 +01:00
crasbe
5051b3290a doc/doxygen: update to Doxygen 1.15.0 2025-11-13 14:00:10 +01:00
crasbe
108856ed7f dist/tools: use doc-ci in the doccheck (if possible) 2025-11-13 14:00:10 +01:00
crasbe
198446881b dist/tools/doccheck: fix Shellcheck warning 2025-11-13 14:00:10 +01:00
crasbe
fe3b792c29 doc: make Doxygen version warning more verbose 2025-11-13 14:00:06 +01:00
crasbe
001979592d
Merge pull request #21875 from AnnsAnns/fix_emu_guide_links
doc/guides/emulators: fix title headings
2025-11-12 16:08:24 +00:00
AnnsAnn
a0e973423e doc/guides/emulators: fix title headings 2025-11-12 16:51:40 +01:00
Marian Buschsieweke
8007a1ff6d
Merge pull request #21872 from maribu/dist/tools/PyCortexMDebug
cpu/{sam0_common,stm32}: Provide SVD_VENDOR and SVD_MODEL
2025-11-12 10:00:46 +00:00
crasbe
41fb5a1536
Merge pull request #21873 from crasbe/pr/stm32wl_openocd_cfg
boards/common/stm32: make stm32wl.cfg version agnostic
2025-11-11 14:34:01 +00:00
crasbe
16d06a1c7b
Merge pull request #21871 from crasbe/pr/stm32_openocd_adapter
makefiles/tools/openocd-adapters: let OpenOCD auto-select transport
2025-11-11 14:21:42 +00:00
crasbe
c5b5af99c3 boards/lora-e5-dev: make OpenOCD config version agnostic 2025-11-11 15:21:11 +01:00
Marian Buschsieweke
9a5a8e3d92
cpu/stm32: Provide SVD_VENDOR and SVD_MODEL
With this, running `make USE_PYCORTEXMDEBUG=1 debug` for almost any STM32
based board will directly load the correct SVD file.
2025-11-11 15:15:40 +01:00
crasbe
8f55a4a0a8 boards/common/stm32: make stm32wl.cfg version agnostic 2025-11-11 15:14:51 +01:00
Marian Buschsieweke
f5eb7c1b1b
cpu/sam0_common: Provide SVD_VENDOR and SVD_MODEL
With this, running `make USE_PYCORTEXMDEBUG=1 debug` for any SAM0 based
board will directly load the correct SVD file.
2025-11-11 15:09:39 +01:00
crasbe
180359a646 makefiles/tools/openocd-adapters: let OpenOCD select ST-Link transport 2025-11-11 13:46:14 +01:00
crasbe
6da51843d9
Merge pull request #21868 from leandrolanzieri/pr/nrf5x_common/fix_vendor_files
cpu/nrf5x_common: copy vendor files only when newer
2025-11-11 11:32:40 +00:00
Leandro Lanzieri
f25b8d12e3 cpu/nrf5x_common: copy vendor files only when newer 2025-11-11 11:27:00 +01:00
crasbe
cb427b0f0d
Merge pull request #21863 from maribu/dist/tools/PyCortexMDebug
dist/tools/PyCortexMDebug: Integrate GDB extension into RIOT
2025-11-11 10:26:27 +00:00
Marian Buschsieweke
720c086131
Merge pull request #21867 from chrysn-pull-requests/use-riotsys-only-pr60
rust: Update riot-sys selectively to fix C2Rust incompatibility
2025-11-11 08:55:50 +00:00
chrysn
45aba94123 rust: Update riot-sys selectively to fix C2Rust incompatibility
This updates the package just so far that the changes from [60] (fixing
compatibility with C2Rust 0.21) are in, but not [61] (which caused yet
to be understood trouble on native32 builds).

[60]: https://github.com/RIOT-OS/rust-riot-sys/pull/60
[61]: https://github.com/RIOT-OS/rust-riot-sys/pull/61
2025-11-11 09:38:34 +01:00
Marian Buschsieweke
989b85b435
Merge pull request #21865 from kfessel/p-sam0-usb-init
cpu/sam0_common: init: remove superflous reads
2025-11-10 21:21:52 +00:00
Karl Fessel
3dd84c64c7 cpu/sam0_common: init: remove superflous reads 2025-11-10 21:16:49 +01:00
crasbe
8272ca719d
Merge pull request #21864 from krzysztof-cabaj/fix-LGPL-licens-text
LICENSES: fix LGPL license text
2025-11-10 19:20:00 +00:00
Marian Buschsieweke
dde6e6e55e
cpu/stm32f7: Provide SVD_VENDOR and SVD_MODEL
With this, running `make RIOT_USE_PYCORTEXMDEBUG=1 debug` for any STM32F7
based boards will directly load the correct SVD file.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-11-10 19:58:43 +01:00
Marian Buschsieweke
1756601217
cpu/nrf52: Provide SVD_VENDOR and SVD_MODEL
With this, running `make RIOT_USE_PYCORTEXMDEBUG=1 debug` for any nRF52
based boards will directly load the correct SVD file.
2025-11-10 19:58:42 +01:00
Marian Buschsieweke
7b474698a8
dist/tools/PyCortexMDebug: Integrate GDB extension into RIOT
When running

     make RIOT_USE_PYCORTEXMDEBUG=1 debug

RIOT will now fetch PyCortexMDebug and instruct GDB to load that
extension on start. If additionally RIOT provides `SVD_VENDOR` and
`SVD_MODEL` to identify the SVD file to load, an
`svd_load $(SVD_VENDOR) $(SVD_CLIENT)` is also passed to GDB.

Co-authored-by: crasbe <crasbe@gmail.com>
Co-authored-by: Ann🐸 <git@annsann.eu>
2025-11-10 19:58:29 +01:00
Marian Buschsieweke
6ad9cf1ec7
dist/tools/jlink: refactor script
- Do not provide defaults for `${DBG}`, `${TUI}`, `${GDB_PORT}`,
  `${TELNET_PORT}` with special shell functions, but use canonical
  syntax for that
- Add `${DBG_EXTRA_FLAGS}` and pass them to GDB, as we do in OpenOCD
- Run `${DBG}` with `sh -c "..."` just like done in `openocd.sh` to
  allow passing flags to GDB in the same way independent of whether
  JLink or OpenOCD is used.
2025-11-10 19:56:59 +01:00
krzysztof-cabaj
c03a5d9e48 LICENSES: fix LGPL license text 2025-11-10 18:24:38 +01:00
crasbe
7ce8582dc3
Merge pull request #20543 from benpicco/pkg/nanopb-multi
pkg/nanopb: allow multiple proto locations
2025-11-10 16:53:55 +00:00
mguetschow
370bb0e449
Merge pull request #21822 from mguetschow/psa-ed25519-monocypher
sys/psa_crypto: add monocypher as ed25519 software backend
2025-11-10 08:28:28 +00:00
Mikolai Gütschow
7f85d3a92f
sys/psa_crypto: add monocypher as ed25519 software backend
switch from c25519 to monocypher as default
2025-11-10 09:14:37 +01:00
crasbe
0a25bdb9db
Merge pull request #21861 from crasbe/pr/cc2xxxx_dead_links
boards/{cc2538dk,cc2650stk}: Fix Dead Links in Documentation
2025-11-09 12:22:50 +00:00
crasbe
7c00e24607 boards/{cc2538dk,cc2650stk}: fix dead links 2025-11-09 13:14:10 +01:00
Marian Buschsieweke
7a0d5bde26
Merge pull request #21860 from maribu/dist/tools/zsh-completion
dist/tools/zsh-completion: Add completion for DOCKER_IMAGE and OPENOCD_FTDI_ADAPTER
2025-11-09 07:11:03 +00:00
Marian Buschsieweke
4710d567df
dist/tools/zsh-completion: rename file .sh --> .zsh
This should prevent the CI from picking up the file for shellcheck
linting. Sadly, shellcheck [does not support][1] zsh.

[1]: https://github.com/koalaman/shellcheck/issues/809
2025-11-09 08:06:19 +01:00
Marian Buschsieweke
3cd033560d
dist/tools/zsh-completion: Add completion for DOCKER_IMAGE 2025-11-09 08:06:19 +01:00