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

1700 Commits

Author SHA1 Message Date
Teufelchen
03b6122ada
Merge pull request #20957 from AnnsAnns/examples/readme
Examples: Add proper Table of Contents
2024-11-13 16:59:04 +00:00
AnnsAnn
6f19763ccb examples/readme: Add subfolders example to categories 2024-11-13 15:02:26 +01:00
Marian Buschsieweke
5f661f424a
Merge pull request #20930 from moritzholzer/feature/wakaama_update
Feature/wakaama update on new version
2024-11-12 22:33:06 +00:00
AnnsAnn
cd076d431b examples/readme: switch to tableformat
examples: Remove whitespace to fix CI
2024-11-12 16:38:21 +01:00
AnnsAnn
83e93a5b73 ci: Add tests for examples folder
examples/readme: add missing entries

examples: document examples with no readme
2024-11-12 16:35:26 +01:00
AnnsAnn
10b63585ea examples/readme: Improve clarity and adjust categories
examples/readme: fix SAUL spelling mistake

examples/readme: Link to README.md instead of folder

examples/readme: increase title size

examples/readme: make networking category name a bit clearer

examples/readme: move nimble to own category within BLE

examples/readme: move dtls to own category

examples/readme: move heart rate sensor to nimble category

examples/readme: move arduino sketch to languages

examples/timer_periodic: fix file name issue

examples/readme: change level wording about nanocoap
2024-11-12 16:18:49 +01:00
AnnsAnn
237b71528c examples: Create a proper Table of Content
examples: ToC about all examples

examples: Fix whiteline issues

examples: Improve wording of Rust example

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>

examples: Reduce redundant wording

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>

examples: remove mention of repository

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>

examples: Improve wording of coap example text

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>
2024-11-12 16:17:03 +01:00
Marian Buschsieweke
15086a2f55
Merge pull request #20024 from mguetschow/makefile-subfolders
Build system: support for application subfolders
2024-11-12 08:05:47 +00:00
Moritz Holzer
97acd2e562 examples/lwm2m: changes on example application 2024-11-12 08:47:13 +01:00
Benjamin Valentin
f2d5a4cad9 examples/sock_tcp_echo: add TCP echo client / server 2024-11-12 00:22:38 +01:00
Marian Buschsieweke
2b6f65a08a
build_system/xfa: change API to fix alignment
This changes the API of xfa from

    XFA(array_name, prio) type element_name = INITIALIZER;

to

    XFA(type, array_name, prio) element_name = INITIALIZER;

this allows forcing natural alignment of the type, fixing failing tests
on `native64`.
2024-11-07 16:30:01 +01:00
Marian Buschsieweke
68beb52f14
sys/net/nanocoap: add and use coap_get_response_hdr_len()
Before, handlers writing blockwise transfer assumed that the response
header length will match the request header length. This is true for
UDP, but not for TCP: The CoAP over TCP header contains a Len field,
that gets extended for larger messages. Since the reply often is indeed
larger than the request, this is indeed often the case for CoAP over
TCP.

Note: Right now, no CoAP over TCP implementation is upstream. However,
      getting rid of incorrect assumptions now will make life easier
      later on.
2024-11-05 10:46:02 +01:00
Mikolai Gütschow
518f75f687
docs: link to subfolders example in documentation
Co-authored-by: plmorange <pierre1.lemeur@orange.com>
2024-11-04 11:15:28 +01:00
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