1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

46700 Commits

Author SHA1 Message Date
benpicco
cb403f9615
Merge pull request #20898 from maribu/cpu/samd5x/drop-non-utf8-chars
cpu/samd5x/periph_cph.h: drop non-UTF-8 chars
2024-10-08 13:58:50 +00:00
Marian Buschsieweke
2ea8601b69
cpu/samd5x/periph_cph.h: drop non-UTF-8 chars
There were some bogus chars in a comment. Let's drop them.
2024-10-08 14:16:24 +02:00
Martine Lenders
1a067e177e
riot.doxyfile: Update and remove deprecated options 2024-10-08 13:37:00 +02:00
Martine Lenders
1c9a485496
Merge pull request #20896 from mguetschow/doc-print-link
doc/doxygen: print link to generated documentation
2024-10-08 10:51:29 +00:00
Marian Buschsieweke
4e797a1c7d
Merge pull request #20895 from mguetschow/make-unrecognized
Makefile: add .DEFAULT target to further guide new users
2024-10-08 10:40:39 +00:00
mguetschow
a54ba26285
Merge pull request #20893 from benpicco/THREAD_CREATE_STACKTEST-cleanup
treewide: clean up remnants of THREAD_CREATE_STACKTEST
2024-10-08 09:55:52 +00:00
Mikolai Gütschow
306b8a872b
doc/doxygen: print link to generated documentation 2024-10-08 11:34:38 +02:00
Mikolai Gütschow
ec9cd2598f
Makefile: add .DEFAULT target to further guide new users 2024-10-08 11:10:20 +02:00
benpicco
0e20bfd2b9
Merge pull request #20845 from thingsat/pr/add_can_to_board_nucleo-l432kc
boards/nucleo-l432kc: enable CAN support
2024-10-07 16:08:21 +00:00
Didier DONSEZ
84ec09f3cf boards/nucleo-l432kc: add configuration CAN peripheral
Signed-off-by: Didier DONSEZ <didier.donsez@gmail.com>
2024-10-07 17:35:10 +02:00
Benjamin Valentin
97128eef48 treewide: clean up remnants of THREAD_CREATE_STACKTEST 2024-10-07 17:31:31 +02:00
benpicco
89d337073d
Merge pull request #20890 from maribu/core/mutex/thread_yield
core/mutex: use thread_yield_higher() in mutex_unlock()
2024-10-07 11:22:32 +00:00
mguetschow
e56b052dfe
Merge pull request #20892 from miri64/gh-actions/fix/bump-deprecated
gh-actions: bump deprecated packages
2024-10-07 11:15:54 +00:00
Martine Lenders
873e7e3e81
gh-actions: bump webfactory/ssh-agent to v0.9.0 2024-10-07 11:40:58 +02:00
Martine Lenders
3f35307a48
gh-actions: bump actions/setup-python to v5
See https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
2024-10-07 11:39:58 +02:00
benpicco
9a639e41da
Merge pull request #20891 from maribu/boards/adafruit-grand-central-m4-express
boards/adafruit-grand-central-m4-express: minor improvements
2024-10-06 16:08:34 +00:00
Marian Buschsieweke
31a2477d48
boards/adafruit-grand-central-m4-express: pimp doc
- use `@image` instead of inline images for better aesthetics,
  especially on mobile form factors (where the image before overflowed
  the screen width)
- add pinout diagram
- use correct units
2024-10-05 23:33:44 +02:00
Marian Buschsieweke
48976a85f6
boards/adafruit-grand-central-m4-express: add OpenOCD config
This allows debugging and flashing the board using the standard CMSIS
SWD header (the 10 pin 1.27 mm pitch one) available on the board.
2024-10-05 23:12:13 +02:00
Marian Buschsieweke
1d99f4f758
core/mutex: use thread_yield_higher() in mutex_unlock()
Using `sched_switch()` in `mutex_unlock()` can result in crashes when
`mutex_unlock()` is called from IRQ context. This however is a common
pattern in RIOT to wake up a thread from IRQ. The reason for the crash
is that `sched_switch()` assumes `thread_get_active()` to always return
a non-`NULL` value. But when thread-less idle is used, no thread may be
active after the last runnable thread exited. Using
`thread_yield_higher()` instead solves the issue, as
`thread_yield_higher()` is safe to call from IRQ context without an
active thread.

This fixes https://github.com/RIOT-OS/RIOT/issues/20812
2024-10-05 22:02:28 +02:00
chrysn
13188e13f2
Merge pull request #20887 from chrysn-pull-requests/fmt
static_tests: Add test for Rust code formatting rules
2024-10-04 08:24:07 +00:00
chrysn
d0299deb33 static_tests/rust: Address shellcheck lints
The pure POSIX way to do `for x in $(find ...)` right involves a
tempfile, thus limiting to bash.
2024-10-03 20:42:40 +02:00
Joshua DeWeese
dda83bc67e make: export DEVELHELP
This patch exports the make macro `DEVELHELP`. Without this patch, use
of the macro in the following files does not work when the macro is set
in a makefile (such as in Makefile.local or an application's makefile as
demonstrated in dist/Makefile). Inside these files `DEVELHELP` is not
defined under these conditions.

 - pkg/littlefs/Makefile
 - pkg/littlefs2/Makefile
 - sys/stdio_null/Makefile

Note that use of the macro does work in these files when the macro is
set from the command line, without the patch. For example:

``` sh
$make DEVELHELP=1 all
```
2024-10-03 14:23:33 -04:00
benpicco
248371e11a
Merge pull request #20881 from Teufelchen1/fix/rpble
bluetil: Ensure advertisement length does not exceed pkt len
2024-10-03 12:50:32 +00:00
benpicco
8a933a56ae
Merge pull request #20882 from Teufelchen1/fix/dhcpv6
net/dhcpv6: Improve option parsing in dhcpv6 advertise
2024-10-03 12:50:12 +00:00
Marian Buschsieweke
d41a39e29b
Merge pull request #20888 from chrysn-pull-requests/riotdocker-update
makefiles/docker: Update docker image
2024-10-03 09:02:55 +00:00
chrysn
69a89b80ca treewide/rust: cargo fmt 2024-10-02 22:17:08 +02:00
chrysn
44cd632af0 static_tests: Add test for Rust code formatting rules 2024-10-02 22:11:09 +02:00
chrysn
c5c248a267 makefiles/docker: Update docker image
This acknowledges the changes after [254], which moved the Rust
installation into the static tools.

[254]: https://github.com/RIOT-OS/riotdocker/pull/254
2024-10-02 22:09:23 +02:00
benpicco
153562f5da
Merge pull request #20885 from maribu/drivers/shield_llcc68
drivers: Add shield_llcc68 module
2024-10-02 15:39:56 +00:00
benpicco
260e58fa52
Merge pull request #20880 from Teufelchen1/fix/lora
gnrc_lorawan: Ensure minimal packet length
2024-10-02 13:08:36 +00:00
chrysn
505433b8f9
Merge pull request #20838 from chrysn-pull-requests/rust-coap-expose-more
examples/gcoap-rust: Expose more functionality
2024-10-02 11:39:42 +00:00
chrysn
e94337bd60 examples/rust-gcoap: Regenerate Makefile.ci 2024-10-02 13:25:32 +02:00
chrysn
455b19962e examples/rust-gcoap: Use patched try-lock version for armv6 devices 2024-10-02 13:25:32 +02:00
chrysn
5eaa09a872 examples/rust-gcoap: Tighten stack sizes
This still leaves a comfortable 976 byte on the gcoap stack, and 812 on
main -- and makes the application fit on way more boards.
2024-10-02 13:25:32 +02:00
Marian Buschsieweke
8c2f6ae9dc
drivers: Add shield_llcc68 module
This implements the `shield_llcc68` module that allows using the LLCC68
LoRa shield on Arduino UNO compatible boards (with Arduino IO mappings
provided by the board) by just selecting the module.
2024-10-02 09:48:29 +02:00
Marian Buschsieweke
7bc7b732d5
drivers/shield_w5100: pimp documentation
This adds a picture and a small fact table to the doc.
2024-10-02 09:48:29 +02:00
Teufelchen1
f88285de75 net/dhcpv6: Improve option parsing in dhcpv6 advertise 2024-10-02 09:47:22 +02:00
benpicco
884e21a234
Merge pull request #20884 from maribu/boards/common/arduino-zero
boards/common/arduino-zero: Add Arudino SPI mapping
2024-10-01 16:46:55 +00:00
Marian Buschsieweke
cbf06649aa
boards/common/arduino-zero: Add Arudino SPI mapping
The Arduino Zero based boards already provided the feature
`arduino_spi`, but were missing the corresponding mapping. This fixes
the issue by adding the SPI bus numbers for the ISP SPI bus and the
D11D12D13 SPI bus.

(And in order to actually add the D11D12D13 SPI bus, the `periph_conf.h`
was extended to provide an SPI configuration for it.)
2024-10-01 18:27:33 +02:00
benpicco
068db8bbe6
Merge pull request #20883 from maribu/examples/lorawan/bugfix
examples/lorawan: drop crazy STM32 hack
2024-10-01 13:55:28 +00:00
Marian Buschsieweke
4b6ad3b99f
examples/lorawan: drop crazy STM32 hack
We cannot just decrement the reference counter of power modes without
any coordination. First, this will trigger an `assert()`ion on non
STM32 MCUs that have power modes that are not used (the ref count would
be decremented below zero). Second, there hopefully is a reason a
certain power mode is blocked, e.g. because a periph driver needs a
certain clock to function.

Likely the `periph_uart` driver on STM32 boards keeps power modes
blocked after TX is completed even when no RX callback is present, which
is the waste of power this hack tries to address. But that should be
addressed there.
2024-10-01 15:44:39 +02:00
Teufelchen
541ef69ce4
Merge pull request #20871 from benpicco/dist/tools/bootterm-0.5
dist/tools/bootterm: bump to 0.5
2024-10-01 13:31:12 +00:00
mguetschow
723d8cd47e
Merge pull request #20566 from maribu/buildsystem/document-riotbuild.h
build system: document `riotbuild.h` and deprecated `RIOT_MCU`
2024-10-01 12:57:24 +00:00
Teufelchen1
84f1ae3635 bluetil: Ensure advertisement length does not exceed pkt len 2024-10-01 14:49:09 +02:00
Teufelchen1
51537908d1 gnrc_lorawan: Ensure minimal packet length 2024-10-01 12:11:05 +02:00
Marian Buschsieweke
4b36bb6098
Merge pull request #20873 from benpicco/cpu/native-no-pedantic
makefiles/arch/native: don't be pedantic
2024-10-01 08:51:55 +00:00
benpicco
61df141332
Merge pull request #20862 from benpicco/drop-SUIT_SEC_PASSWORD
makefiles/suit: make use of `SUIT_SEC_PASSWORD` optional
2024-09-30 17:43:09 +00:00
Benjamin Valentin
50e3d61441 makefiles/suit: allow to decrypt signing key with SUIT_SEC_PASSWORD 2024-09-30 16:38:16 +02:00
Marian Buschsieweke
4f15523741
Merge pull request #20879 from benpicco/gnrc_sixlowpan_frag-gnrc_netif_pktq
gnrc_sixlowpan_frag: enable `gnrc_netif_pktq` if `netdev_new_api` is used
2024-09-30 14:00:33 +00:00
Benjamin Valentin
0b99d4fffe gnrc_sixlowpan_frag: enable gnrc_netif_pktq if netdev_new_api is used 2024-09-30 14:07:35 +02:00