1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

1340 Commits

Author SHA1 Message Date
chrysn
eb03997582 examples/rust-gcoap: Increase gcoap stack
On microbit-v2, getting .well-known/core would otherwise result in a
stack overflow.

Consequently, some boards were removed from the list of supported boards
as the currently required RAM exceeds their capacity.
2022-03-08 12:27:40 +01:00
msimonin
5a795fafe2 Make example/emcute_mqtt honor radio settings
Fix #17772
2022-03-08 11:21:02 +01:00
benpicco
c411edef55
Merge pull request #16688 from miri64/gcoap/enh/multitransport
gcoap: multi-transport support
2022-03-03 12:15:48 +01:00
Marian Buschsieweke
a5b91362cb
Merge pull request #15329 from kfessel/p-add-wamr
pkg/wamr: add WAMR to provide WASM support in RIOT
2022-03-02 19:58:31 +01:00
Karl Fessel
3400819fbd example/wasm: remove allocator selection
add comment refering to the wasm header instead
2022-03-02 12:21:59 +01:00
Benjamin Valentin
c476abe16e examples/telnet_server: add telnet server example 2022-03-01 23:07:22 +01:00
Martine Lenders
287bfdc10d
gcoap: multi-transport support for listeners 2022-03-01 19:33:15 +01:00
Francisco
945dd082b0
Merge pull request #17715 from kfessel/p-add-building-default
tests: add default BOARDS
2022-03-01 10:23:58 +01:00
Karl Fessel
77928ea54f example/arduino_hello-wold: add building BOARD default 2022-02-28 22:00:21 +01:00
Karl Fessel
9a2ccd51f4 examples: add missing includes
thread.h
    gnrc/netif.h
2022-02-28 14:53:08 +01:00
chrysn
9503809f56 examples/rust-gcoap: Follow renames / deprecations of riot-wrappers 2022-02-25 13:11:57 +01:00
chrysn
433d7ba2a5 {examples,tests}/rust: cargo update
This restores compatibility with current nightlies by using the latest
coap-message version (after a nightly-only feature that uses saw a late
change), and also removes obstacles for use with stable Rust 1.59 (in
unrelated parts; the CoAP example is still nightly-only).

Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526
2022-02-25 12:57:55 +01:00
Benjamin Valentin
92d245de3b examples/gnrc_{networking, border_router}: allow to set ZEP L2 address 2022-02-22 17:35:04 +01:00
Benjamin Valentin
70d9856111 examples/filesystem: remove dedicated FatFS section from readme
FAT now behaves just like all other FSs and does not need special treatment.
2022-02-16 14:35:17 +01:00
Karl Fessel
726c461cb5
Merge pull request #17574 from kfessel/p-fix-asserth
core/assert: avoid including panic.h with assert.h
2022-02-15 11:57:55 +01:00
chrysn
1c3a646936
Merge pull request #17653 from benpicco/cpu/native-fatfs_defaults
boards/native: select MTD defaults for FAT
2022-02-15 09:03:21 +01:00
Benjamin Valentin
cd543f1873 examples/filesystem: adopt README.md after changing MTD defaults 2022-02-14 18:22:17 +01:00
Benjamin Valentin
92d9d5676a sys/vfs: add vfs_default pseudo-module 2022-02-14 13:04:37 +01:00
Karl Fessel
e03cf052ba example/nanocoap_server: include kernel_defines.h 2022-02-12 18:30:58 +01:00
Karl Fessel
fc79d85bcc example/suit_update: include kernel_defines.h 2022-02-12 18:30:58 +01:00
Karl Fessel
8c617abc4c example/wasm: add Makefile.ci 2022-02-11 13:29:40 +01:00
Karl Fessel
20cb961329 example/wasm: add prebuild hello.wasm 2022-02-11 13:29:40 +01:00
Karl Fessel
51c94a1217 example/wasm: simplify example extend sample
* uneventise example
2022-02-11 13:29:40 +01:00
Karl Fessel
df057e09cf example/wasm: split example, eventise and introduce wamr_run 2022-02-11 13:28:53 +01:00
Karl Fessel
4cc9bd9e4e example/wasm: a basic wamr example
* using makefile blobs
* improve usability of example
* add sample with memory saving Makefile
2022-02-11 13:09:50 +01:00
Silke Hofstra
9d61bdbb06 sys/senml: add SenML modules
Add a basic SenML module and submodules with support for:

- Encoding SenML values as CBOR using NanoCBOR.
- Converting from Phydat to SenML.
- Reading and encoding SAUL sensors.
2022-02-11 12:38:21 +01:00
benpicco
be45400631
Merge pull request #17341 from benpicco/vfs-mtd_cleanup
sys/vfs: add file-system auto-mount
2022-02-09 21:50:34 +01:00
Benjamin Valentin
1eebbabe83 examples/filesystem: disable auto-mount 2022-02-09 12:21:53 +01:00
Benjamin Valentin
ae06265de0 pkg/fatfs: VFS: internally handle fatfs_mtd_devs
This makes FAT behave more like the other file systems supported by VFS.
The `fatfs_mtd_devs` array is populated internally so the application does
not have to handle this.
2022-02-09 12:21:53 +01:00
7b06dc2bb2
Merge pull request #17557 from fjmolinas/pr_twr_ci_blacklist
examples/twr_aloha: blacklist test on ci
2022-01-25 11:18:15 +01:00
Francisco Molina
eec37975d5 examples/twr_aloha: change test to tests-with-config
Test can only run on dwm1001 BOARDs.
2022-01-25 09:19:06 +01:00
Hendrik van Essen
e6242ae205 examples/gcoap_dtls: match Makefile of examples/gcoap 2022-01-23 01:33:23 +01:00
c21730a765
Merge pull request #17406 from fjmolinas/pr_twr_aloha_rework
examples/twr_aloha: refactor
2022-01-21 10:08:46 +01:00
Francisco Molina
cd3fa25f06 examples/twr_aloha: refactor 2022-01-21 09:17:00 +01:00
chrysn
deffb350a7 rust: Update to riot-wrappers 0.7.15 2022-01-13 18:52:05 +01:00
chrysn
70726d46ab {examples,tests}/rust*: Blacklist ek-lm4f120xl board
Something in C2Rust mistranspiles around LED_PORT; disabling the board
for all Rust examples/tests.
2022-01-07 14:26:30 +01:00
chrysn
50f8ed3f72 {examples,tests}/rust*: Update Cargo.toml
This pulls in adjustments to the C-nonbreaking but Rust-breaking API
change in https://github.com/RIOT-OS/RIOT/pull/17359

cstr_core is forcibly kept at 0.2.4 because 0.2.5 needs a newer nightly
than riotdocker currently has.
2022-01-07 14:19:36 +01:00
Marian Buschsieweke
6dcb32d7b3
examples/gcoap: split client and server implementation
Move client and server side implementations into separate files to
increase readability. Also get rid of a goto.
2022-01-04 19:04:46 +01:00
fbf2179fa5
examples/suit_update: fix test instructions in README 2022-01-04 10:08:36 +01:00
chrysn
afdabcf9b6
Merge pull request #16274 from chrysn-pull-requests/rust-application
Add some Rust building infrastructure and example
2021-12-16 16:17:28 +01:00
chrysn
1838cdf69c rust: Add triples for M23 and M33 (but keep disabled) 2021-12-16 13:29:31 +01:00
chrysn
b557fdce55 rust: Enable on Cortex-M0(+) boards 2021-12-16 13:29:31 +01:00
chrysn
6246ab70d1 examples: Add second Rust example (gcoap) 2021-12-16 13:29:30 +01:00
chrysn
49403c7781 examples: Add Rust example 2021-12-16 13:29:30 +01:00
9c71dd7566
Merge pull request #17342 from aabadie/pr/sysclk
sys: introduce sysclk function to retrieve core clock frequency
2021-12-15 15:41:34 +01:00
91927c988b
examples/blinky: use coreclk() instead of CLOCK_CORECLOCK 2021-12-15 13:14:19 +01:00
Karl Fessel
53387d83e8 example/nanocoap_server: depends on xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
427df6d59d suit: example doesn't need xtimer suit_coap needs xtimer 2021-12-14 22:53:01 +01:00
Francisco Molina
6c2a7e26f2 examples/gnrc_networking_subnets: remove broken symlink 2021-12-13 15:21:20 +01:00
benpicco
cfaa167469
Merge pull request #16598 from benpicco/sys/shell/udp
examples/gnrc_networking: move udp command to shell commands
2021-12-13 15:03:18 +01:00
Karl Fessel
6347dcdffc
Merge pull request #17141 from kfessel/p-ztimer-gcoap
net/gcoap: port to ztimer
2021-12-09 15:22:10 +01:00
Karl Fessel
08ef57fbd0
Merge pull request #16126 from kfessel/p-mix-schedrr
sys/sched_rr: Add a round robin scheduler module
2021-12-08 16:01:57 +01:00
Karl Fessel
64b783b9fa examples/thread-duel: improve duelling threads example 2021-12-08 13:13:48 +01:00
Karl Fessel
1d4933a513 example/cord_epsim: include xtimer.h 2021-12-06 13:31:18 +01:00
Hauke Petersen
4b3111ea3a examples/nimble_scanner: adapt to scanner changes 2021-12-02 23:31:33 +01:00
Benjamin Valentin
a23fa5253f doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
Leandro Lanzieri
d962787043
Merge pull request #17274 from fjmolinas/pr_kconfig_nrf51
cpu/nrf51: model kconfig
2021-11-26 12:55:27 +01:00
Francisco Molina
56b14d5e80 boards/calliope-mini: add nrf51 common dependencies 2021-11-26 08:48:23 +01:00
0149a860c9
Merge pull request #17264 from fjmolinas/pr_pkg_uwb_core_fixes
pkg/uwb-core: multiple cleanups
2021-11-25 10:21:17 +01:00
Erik Ekman
0de8bfaadc
Merge pull request #17175 from yarrick/dualstack
pkg/lwip: Don't control IPv6 via IPv4 flag
2021-11-25 00:59:07 +01:00
Francisco Molina
c860fc99bf pkg/uwb_core: configure and set autoack in init 2021-11-24 17:01:47 +01:00
e05f8967d9
examples/openthread: adapt to update in package support 2021-11-22 15:22:27 +01:00
Francisco Molina
39b896e933 examples/nimble_heart_rate_sensor: use event_timeout_ztimer 2021-11-17 10:15:11 +01:00
3bf4ef88fe
Merge pull request #17181 from fjmolinas/pr_examples_lorawan_ztimer
examples/lorawan: use ztimer_msec if not rtc
2021-11-16 09:51:59 +01:00
Francisco Molina
b247dbca97 examples/lorawan: use ztimer_msec if not rtc 2021-11-11 18:03:04 +01:00
Daniel Lockau
201e42a497 examples/suit: remove automatic deps 2021-11-11 14:00:31 +01:00
Karl Fessel
be2aa39ea2 examples/thread-duel: add a duelling threads example 2021-11-11 13:18:53 +01:00
Kevin "Tristate Tom" Weiss
da60ba5fff
Merge pull request #17165 from leandrolanzieri/pr/sys/ztimer_kconfig_entry
sys/ztimer: rework Kconfig

To eliminate circular dependencies based in periph_rtc and xtimer_ztimer_compatibility the following changes are applied:
- Change entrypoint of ztimer as a specific backend is always required
- Add a non-module symbol for ztimer_usec that bring in the ztimer and ztimer_usec module which allows the xtimer ztimer compatibility layer to only select the ztimer_usec module preventing circular dependency issues
2021-11-11 09:21:33 +01:00
Leandro Lanzieri
703e66b4c1
sys/ztimer/kconfig: change entry point 2021-11-09 15:32:34 +01:00
Erik Ekman
4944294d45 examples/paho-mqtt: Don't control IPv6 usage from IPv4 2021-11-06 18:02:53 +01:00
7c3bade90d
examples/paho-mqtt: migrate to ztimer 2021-11-05 16:50:53 +01:00
Karl Fessel
5cc59eb490 example/gcoap: add LWIP make option 2021-11-03 16:51:10 +01:00
Leandro Lanzieri
4011bd9edf
Merge pull request #16780 from fjmolinas/pr_kconfig_uwb
pkg/uwb*: add Kconfig dependency modelling
2021-11-01 09:35:29 +01:00
Francisco Molina
8efe255829 examples/twr_aloha: add Kconfig 2021-10-29 13:11:56 +02:00
chrysn
a92cdb535e
Merge pull request #16378 from chrysn-pull-requests/gcoap-handle-truncation
sys/net/gcoap: Use socket _buf API to recognize truncated requests
2021-10-27 08:55:52 +02:00
Francisco Molina
2552c6941e treewide: remove mentions of 'fox' BOARD 2021-10-20 13:53:26 +02:00
Francisco Molina
dbf7efac14 examples/lorawan: add LoRaWAN keys to DOCKER_ENV_VARS 2021-10-19 13:30:46 +02:00
Benjamin Valentin
130b809de1 examples/gnrc_border_router: default to native board
If no board is selected, `gnrc_border_router` would be build for `samr21-xpro`.
This seems rather arbitrary.

Select `native` instead as it is done for other examples.
This ensures that the default `make all term` works with no hardware connected.
2021-10-14 14:13:03 +02:00
Dave VanKampen
55ea8cfb97 boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board 2021-10-13 12:14:45 -04:00
benpicco
a39c0e1010
Merge pull request #16750 from benpicco/gnrc_ipv6_auto_subnets
gnrc/ipv6_auto_subnets: relax topology requirements
2021-09-28 19:07:21 +02:00
Benjamin Valentin
c1a50b0ca2 examples/gnrc_networking_subnets: update documentation 2021-09-28 17:02:45 +02:00
Benjamin Valentin
ae2fde4edb examples, tests: replace gnrc_netdev_default with netdev_default
Those were merged in the meantime, update the Makefiles as well.
2021-09-06 21:06:29 +02:00
Benjamin Valentin
9a6fc85b16 treewide: replace gnrc_netdev_default with netdev_default 2021-09-06 15:43:40 +02:00
Karl Fessel
6b47efb57b
Merge pull request #16710 from benpicco/benchmark_udp
add UDP benchmark:
a nice tool to check reliability and performance of networks and nodes under high pkg pressure.
2021-09-03 11:22:06 +02:00
Benjamin Valentin
f3aee01e29 examples/benchmark_udp: add example for UDP benchmark 2021-09-02 23:12:31 +02:00
chrysn
deacdf130d examples/filesystem: Explain how to use fatfs 2021-09-02 17:52:53 +02:00
chrysn
b9a8652e5a examples/gcoap: Do display truncated messages, but with a warning 2021-09-02 16:49:46 +02:00
chrysn
e9736e925e examples/gcoap: Don't assume success after exhausing known errors 2021-09-02 16:49:46 +02:00
Benjamin Valentin
faae6d56be examples: add example for cascading subnets 2021-09-02 15:35:14 +02:00
benpicco
2de7dab0f4
Merge pull request #16288 from nandojve/xmega_ebi
cpu/atxmega/periph: Add ebi driver
2021-08-25 00:38:22 +02:00
benpicco
025770968b
Merge pull request #16036 from bergzand/pr/gd32vf103/initial
gd32v/seeedstudio-gd32: Initial support
2021-08-25 00:38:00 +02:00
f8bb757bae seeedstudio-gd32: Initial include of board
The seeedstudio-gd32 is an small development board based on the
gd32vf103 MCU

Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2021-08-24 14:30:23 +02:00
Gerson Fernando Budke
d02efca65d Revert "examples: Exclude atxmega-a1u-xpro board due low mem"
This reverts commit d23b139938.
2021-08-24 08:35:41 -03:00
Francisco
8ca1520342
Merge pull request #16701 from fjmolinas/pr_nimble_scanner_set_duration
pkg/nimble/scanner: add function to set scan duration
2021-08-23 10:07:31 +02:00
Francisco Molina
070b61ff48 examples/nimble_scanner: use nimble_scanner_ser_scan_duration
Replace xtimer by ztimer

Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-19 12:44:24 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Francisco Molina
6198604e3e examples/default: use Makefile.boards.netif 2021-08-04 17:09:02 +02:00
Francisco
7d829f1274
Merge pull request #13506 from HendrikVE/pr/autoadv_transition
examples/nimble_*: use nimble_autoadv module
2021-07-21 15:21:01 +02:00
Benjamin Valentin
da7d3779bf examples/gnrc_networking: move udp command to shell commands
The `udp` command is a valuable debugging tool that is also useful
outside of the gnrc_networking example.

To enable easy sending of udp messages in other applications during
development, move the `udp` command to the shell module and introduce
the `gnrc_udp_cmd` pseudo-module to enable it.
2021-07-21 11:19:47 +02:00
Martine Lenders
7793098ed8
Merge pull request #16634 from benpicco/gnrc_netif_parse_hostname
netutils: add netutils_parse_hostname()
2021-07-21 10:11:25 +02:00