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

1687 Commits

Author SHA1 Message Date
Mikolai Gütschow
66f1f3e093
examples: add example showcasing application subfolders 2024-11-04 11:15:19 +01:00
Teufelchen
b376bec667
Merge pull request #20847 from benpicco/event_assert
sys/event: add assertion that event has a handler
2024-10-25 08:11:51 +00:00
Marian Buschsieweke
ba83fefe3b
Merge pull request #20936 from maribu/drivers/periph_gpio/gpio_read/bool
drivers/periph_gpio: let gpio_read() return bool
2024-10-24 20:43:55 +00:00
benpicco
ae36fa4b37
Merge pull request #20921 from Vjorald/cord-doc
sys/net/app/cord: update doc
2024-10-24 16:59:01 +00:00
Marian Buschsieweke
7d1313b3bf
treewide: update rust-riot-wrappers 2024-10-24 09:57:36 +02:00
Vjorald
d4fb64cfbc cord/doc: Update references to RFC 9176 2024-10-18 23:52:35 +02:00
chrysn
bb3520fff0 treewide: Update Rust dependencies 2024-10-17 16:20:26 +02:00
chrysn
69a89b80ca treewide/rust: cargo fmt 2024-10-02 22:17:08 +02: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
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
chrysn
d8808cb748 examples/rust-gcoap: Add ping, passive ping and nib resources 2024-09-16 23:17:04 +02:00
chrysn
84354ffb80 examples/rust-gcoap: Update external module dependency
This updates riot-sys, riot-wrappers and the riot-example-modules in for
this example, as all those are needed for full LED exposure, as well as
coap-message-utils for better error responses. An update to
coap-handler-implementations enables the use of the latest
riot-examples-modules.
2024-08-29 17:38:04 +02:00
Benjamin Valentin
48850e6331 examples/twr_aloha: make use of event_callback_post() 2024-08-29 17:23:30 +02:00
chrysn
9f3bb827f4 examples/rust-gcoap: Update stack size
Tests with a particle-xenon show 5KiB free stack now; before, that would
have been an overflow by 3KiB.
2024-08-29 15:07:01 +02:00
chrysn
bfcc25a9c3 examples/rust-gcoap: Point out security situation 2024-08-29 15:07:01 +02:00
chrysn
7b78cc1f71 examples/rust-gcoap: Expose netif demo 2024-08-29 15:07:01 +02:00
chrysn
c3724af35b examples/rust-gcoap: Expose LEDs 2024-08-29 15:07:01 +02:00
benpicco
1626919da7
Merge pull request #20684 from fabian18/pr/fix_gcoap_observe_response_correlation
sys/net/application_layer/gcoap: fix Observe notifications correlation
2024-08-26 14:11:59 +00:00
Fabian Hüßler
21a46dcf43 examples/cord_lc: adapt Makefile.ci 2024-08-26 15:34:00 +02:00
Fabian Hüßler
f71ad95a35 examples/gcoap: adapt Makefile.ci 2024-08-25 19:45:10 +02:00
chrysn
a4918410a1 examples/rust-async: Add Makefile.ci 2024-08-23 17:47:07 +02:00
chrysn
e8774a77d9 examples/rust-async: Enable required atomics 2024-08-23 17:47:07 +02:00
chrysn
7a348aebde examples: Add asynchronous Rust example 2024-08-23 17:47:07 +02:00
chrysn
b802a19059 rust: Remove ek-lm4f120x board from blacklist 2024-08-23 13:48:44 +02:00
chrysn
2bb7888a0b examples/rust-gcoap: Update Makefile.ci
Some increase in binary size is expected due to one bug fix around the
VFS access where a zero-cost version would require threading
non-idiomatic nul-terminated strings through too many abstraction levels
to be practical.
2024-08-23 08:20:14 +02:00
chrysn
d67a448511 examples/rust-gcoap: Enable access to all file systems
This was previously limited to constfs due to [8], but now that that is
fixed, it can show its full potential of enumerating both directories
and mount points.

[8]: https://gitlab.com/etonomy/riot-wrappers/-/issues/8
2024-08-22 17:52:07 +02:00
chrysn
ea40036529 rust: Update all locked versions
This pulls in several updates for which there is no urgent need, but
also no good reason *not* to do them (especially as they may contain bug
fixes, even critical ones).
2024-08-22 17:49:39 +02:00
chrysn
2ef929369f rust: Update locked riot-wrappers and riot-example-modules versions 2024-08-22 17:49:25 +02:00
chrysn
c0288f7d40 rust: Update to riot-wrappers 0.9 2024-08-22 17:33:40 +02:00
Fabian Hüßler
c898d752f5 examples/gcoap: add -o and -d to Options in usage manual 2024-08-21 17:55:07 +02:00
Fabian Hüßler
526d32d376 examples/gcoap: client: forget Observe token on next Observe request 2024-08-21 17:55:07 +02:00
Fabian Hüßler
e858f77ba9 examples/gcoap: use resource by path lookup 2024-08-21 17:55:07 +02:00
Fabian Hüßler
f45ab68d04 examples/gcoap: add observable /rtc resource to monitor RIOT epoch 2024-08-21 17:49:41 +02:00
chrysn
ccd93b4617 examples/rust: Update CoAP example modules
This updates the use of two deprecated items.
2024-08-19 11:53:50 +02:00
benpicco
41204c8b81
Merge pull request #20450 from benpicco/THREAD_CREATE_STACKTEST-delete
core/thread: always use THREAD_CREATE_STACKTEST when DEVELHELP is enabled
2024-07-29 11:52:06 +00:00
Benjamin Valentin
312a550f1a treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
krzysztof-cabaj
ca9835fc53 examples/leds_shell: fix segfault 2024-07-26 17:40:21 +02:00
mguetschow
4612cc2348
Merge pull request #20782 from krzysztof-cabaj/example-LEDs
examples/leds_shell: add example for interactive LEDs/GPIO control
2024-07-18 09:53:48 +00:00
krzysztof-cabaj
9959e629bf examples/leds_shell: code refactoring-one led and gpio commands 2024-07-16 14:25:27 +02:00
Mikolai Gütschow
b07eddd66a
rust: bump rust-riot-{sys,wrappers} version
both only bump the version number with no functional changes
2024-07-15 14:14:41 +02:00
krzysztof-cabaj
4273f970a7 examples/leds_shell: change application name 2024-07-12 22:41:39 +02:00
krzysztof-cabaj
9aea4bdb55 examples/LEDs: add README.md file 2024-07-12 22:41:39 +02:00
krzysztof-cabaj
1113be9e05 examples/LEDs: addition of new example appplication 2024-07-12 22:41:38 +02:00
benpicco
4ba7c46e4d
Merge pull request #20711 from fabian18/pr/gcoap_aux_local_in_req_send
gcoap: propagate local tx aux to gcoap_req_send() and in _handler_req()
2024-07-05 12:07:38 +00:00
Marian Buschsieweke
54702a53db
examples/dtls-wolfssl: Sort Makefile.ci 2024-06-05 22:04:43 +02:00
Marian Buschsieweke
835eaee630
*/Cargo.lock: bump rust-riot-wrappers 2024-05-31 18:26:48 +02:00
Fabian Hüßler
40fb250ae4 treewide: adapt to gcoap_req_send aux local API change 2024-05-31 12:04:48 +02:00