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

1679 Commits

Author SHA1 Message Date
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
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
Fabian Hüßler
9dfdf2b319 examples/nanocoap_server: 5.03 only for different requests to /separate 2024-05-27 17:58:44 +02:00
mguetschow
fc78e1f7db
Merge pull request #20682 from maribu/buildsystem/netif-feature
tree-wide: Introduce netif feature and use it
2024-05-22 12:25:03 +00:00
Marian Buschsieweke
97a6543c10
tree-wide: Introduce netif feature and use it
This gets rid of a long list of boards with network interfaces and
instead let's boards (or MCUs with peripheral network interfaces)
provide the netif feature.

The apps that before used the long list are not depending on the
feature instead (in case of the default example, this is an
optional dependency).

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: mewen.berthelot <mewen.berthelot@orange.com>
2024-05-22 10:39:56 +02:00
benpicco
3f41494e59
Merge pull request #20266 from benpicco/nanocoap_reply_separate
nanocoap_sock: implement separate response
2024-05-21 17:45:22 +00:00
Benjamin Valentin
63d5a5aafa examples/nanocoap_server: add endpoint with separate response 2024-05-21 19:27:57 +02:00
Benjamin Valentin
7e69c13630 nanocoap_sock: implement nanocoap_sock_send_separate() 2024-05-21 19:27:57 +02:00
mguetschow
3255b95937
Merge pull request #20598 from mguetschow/psa-hashes-sha512-truncated
sys/psa_crypto: SHA-{384,512/{224,256}}
2024-05-17 09:20:03 +00:00
Mikolai Gütschow
f58392a153
examples/psa_crypto: hash example 2024-05-14 17:06:39 +02:00