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

1468 Commits

Author SHA1 Message Date
Benjamin Valentin
2fd6cf7ee7 tests: update Makefile.ci for blxxxpill-128kib with CDC ACM 2022-10-15 23:33:41 +02:00
chrysn
982ec4dcda
gnrc_netreg: Use locks around netreg
This eliminates race conditions around unregistering netdevs.

gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether
that lock is held.
2022-10-14 03:35:15 +02:00
Martine Lenders
a617700285
examples/telnet_server: add stm32f7508-dk to BOARD_INSUFFICIENT_MEMORY 2022-10-10 14:06:23 +02:00
chrysn
69cb6b12fc rust: Update dependencies
The change in 399e25cc was did not have the intended effect: As the
local crates still all defined 0.7 as the riot-wrappers version, that
dependency was actually down- rather than upgraded, and thus did not
effect the stabilizations.
2022-10-04 00:28:46 +02:00
chrysn
b31eb6b15c
Merge pull request #18678 from chrysn-pull-requests/rust-update-20221001
rust: Update dependencies, build and test more on stable
2022-10-02 18:09:31 +02:00
chrysn
963fa85893 rust-gcoap: Add Rust options for small binaries (-Os) 2022-10-01 22:07:02 +02:00
chrysn
8a61ed1caa rust: Set panic=abort on path towards building on stable 2022-10-01 21:31:24 +02:00
chrysn
399e25cce3 rust: Update dependencies
This pulls in versions of previously nightly-only crates that can be
built on 1.65 beta.

The Cargo overrides that direct the resolver to the git repositories are
disabled while the version used in tree also happens to be a released
version of the crates, as it should be the case as per [251].

[251]: https://github.com/RIOT-OS/Release-Specs/issues/251
2022-10-01 21:29:20 +02:00
José Alamos
f022ac3e23
Merge pull request #17884 from Ollrogge/gnrc_lorawan1.1
gnrc/lorawan: add basic LoRaWAN 1.1 features
2022-09-30 11:29:55 +02:00
Ollrogge
32cef708a7 gnrc/lorawan: uncrustify files 2022-09-29 11:26:04 +02:00
Ollrogge
12a4e1c1ec gnrc/lorawan: add support for GNRC LoRaWAN 1.1 2022-09-29 11:25:56 +02:00
Marian Buschsieweke
edcba449f3
Merge pull request #18660 from bergzand/pr/gcoap_dtls/add_usage
examples/gcoap_dtls: Add coap-client example
2022-09-28 19:12:16 +02:00
9b47caa025
examples/gcoap_dtls: Add coap-client example 2022-09-28 12:10:17 +02:00
d88e666080 examples/micropython: re-enable CI test on non-native 2022-09-27 15:03:14 +02:00
0a1d014299 examples/micropython: disable on CI for native 2022-09-27 09:49:25 +02:00
chrysn
168ec76a17 rust: Update dependencies
This will allow more components to build on 1.64 stable, and contains a
fix relevant for https://github.com/RIOT-OS/RIOT/pull/18619.

CoAP modules are held back as they appear to need an even newer nightly
than in the current riotdocker to build without feature declarations.
2022-09-25 10:16:27 +02:00
chrysn
59d184f170 examples/spectrum-scanner: Fix building on PIC32 and RISC-V 2022-09-20 13:46:07 +02:00
Martine Lenders
13f94cb11c examples: sniffer / spectrum_analyzer: amend Makefile.ci 2022-09-20 13:46:07 +02:00
chrysn
f738c9bb41 Move in RIOT/applications 2022-09-20 11:52:30 +02:00
chrysn
ff3d3b5ba2 makefiles: Adjust paths of RIOT-applications to run from examples 2022-09-20 11:49:56 +02:00
chrysn
17a042a060 Move RIOT-applications into examples 2022-09-20 11:49:33 +02:00
Marian Buschsieweke
a04b0a01a2
examples,tests: replace deprecated module names by new names 2022-09-16 13:15:46 +02:00
Marian Buschsieweke
c06335b71b
sys/shell: make cmds submodules
Previously `shell_commands` was a "catch-all" module that included
shell commands for each and every used module that has a shell
companion. Instead, the new `shell_cmds` module is now used to provide
shell commands as individually selectable submodules, e.g.
`cmd_gnrc_icmpv6_echo` now provides the ICMPv6 echo command (a.k.a.
ping).

To still have a "catch all" module to pull in shell commands of modules
already used, `shell_cmds_default` was introduced. `shell_commands`
depends now on `shell_cmds_default` for backward compatibility, but
has been deprecated. New apps should use `shell_cmds_default`
instead.

For a handful of shell commands individual selection was already
possible. Those modules now depend on the corresponding `cmd_%` module
and they have been deprecated.
2022-09-16 13:15:45 +02:00
Benjamin Valentin
15a43f28f2 suit: start worker thread on demand 2022-09-05 07:46:56 +02:00
Benjamin Valentin
f95d577245 suit: make use of worker functions 2022-09-03 23:25:01 +02:00
Marian Buschsieweke
089d8aba43
examples,tests: ignore core dumps via .gitignore
This will ignore files named `core` and `core.*` (except `core.c`,
`core.h`, `core.md`, `core.txt`) placed directly in the application
folder. This is where `make` is typically called and core dump due to
a crashing native application, flashing tool, or GDB would be placed.
The pattern is intentionally quite narrow, as there is e.g. a core
source folder that should still be monitored.
2022-08-31 15:05:14 +02:00
Benjamin Valentin
e657590ce0 examples/filesystem: drop manual mounts
File systems should be mounted via `vfs_default`, not manually by
the application.

Also, `vfs` gained the `format` sub-command, so no need to provide
it in the example application.
2022-08-21 22:55:30 +02:00
chrysn
0a4bd3d68f
Merge pull request #18389 from chrysn-pull-requests/rust-cstr-update
rust: Update cstr dependency
2022-08-20 15:43:44 +02:00
benpicco
c125e3d98a
Merge pull request #18133 from fabian18/gcoap_fileserver_file_and_directory_creation
gcoap/fileserver: add file and directory creation and deletion
2022-08-04 16:14:29 +02:00
Fabian Hüßler
9333970b77 gcoap/fileserver: make PUT and DELETE pseudomodules 2022-08-03 22:10:30 +02:00
Fabian Hüßler
688acff5bc gcoap/fileserver: implement PUT/POST/DELETE functionality 2022-08-03 22:09:21 +02:00
chrysn
863a1c2ac1 rust: Update cstr dependency
A change in Rust nightly features broke version 0.2.5 of the `cstr`
crate, whose nightly-only features are enabled in some examples. The
breakage was quickly fixed upstream in the 0.2.6 version, this updates
the locks.
2022-08-01 16:36:43 +02:00
chrysn
86dc086379 rust: Bring lock files in sync with toml files
The riotmodules dependency was missed in bc8ec6d5, and while generally
it does not severly harm builds, it does harm builds riotdocker CI where
branches are switched, which is blocked by dirty files in the checkout.

The riot-wrappers version was missed when what is now 5e75f4bd was
rebased onto fdc4e11a.
2022-08-01 16:28:12 +02:00
Martine Lenders
2679fcafb1
examples/dtls-echo: set address family for sessions
d424aaedac introduced address families to
the RIOT interpretation of tinydtls-`session_t`s. However, while fixing
the naming for the `addr` field, it did not set the `family` member for
the sessions in the `dtls-echo` example, having that example run into [an
assertion][1]. This patch fixes that.

[1]: bda40789a7/session.c (L146)
2022-07-26 15:51:07 +02:00
Marian Buschsieweke
3a5e3636bb
sys/shell/commands/sc_gnrc_icmpv6_echo: fix dependency
Add missing dependency to xtimer so that the shell command `ping` is
again provided when requested.
2022-07-21 13:20:10 +02:00
Benjamin Valentin
3806f7d532 nanocoap: make coap_request_ctx_t members internal 2022-07-17 14:32:16 +02:00
Benjamin Valentin
e8829d5591 gcoap_fileserver: make use of coap_request_ctx_t 2022-07-17 14:32:16 +02:00
Benjamin Valentin
598494f75f examples: make use of coap_request_ctx_t 2022-07-17 14:32:16 +02:00
Benjamin Valentin
a6c617a221 gcoap: make use of coap_request_ctx_t 2022-07-17 14:29:39 +02:00
Benjamin Valentin
acfab72296 nanocoap: make use of coap_request_ctx_t 2022-07-17 14:29:39 +02:00
Martine Lenders
45ebbc8935
Merge pull request #18308 from nmeum/pr/fix_gnrc_border_router_doc
gnrc_border_router: Fix syntax error in Kea configuration
2022-07-12 21:52:57 +02:00
Sören Tempel
594333d596 gnrc_border_router: Fix syntax error in Kea configuration
The last element of a JSON array must not be terminated with a `,`
character. As such, the configuration documented currently in the
`README.md` file of gnrc_border_router is invalid and rejected by
Kea.
2022-07-12 21:52:25 +02:00
benpicco
b68c17188f
Merge pull request #16993 from benpicco/examples/gnrc_border_router-auto_subnets
examples/gnrc_border_router: allow to use gnrc_ipv6_auto_subnets for prefix configuration
2022-07-12 11:02:09 +02:00
chrysn
d9879c96ca
Merge pull request #16833 from chrysn-pull-requests/rust-lib
Add some Rust library building infrastructure
2022-07-10 21:39:35 +02:00
chrysn
bc8ec6d542 rust: Make examples / tests use any Rust RIOT modules 2022-07-10 21:27:13 +02:00
Marian Buschsieweke
fcbba02daf
Merge pull request #18256 from Teufelchen1/chore/macos
Documentation: Renaming OS X to macOS
2022-06-30 07:05:48 +02:00
benpicco
eada4f0b75
Merge pull request #18157 from benpicco/suit-key-dir
makefiles/suit: place keys in $XDG_DATA_HOME
2022-06-28 16:01:11 +02:00
Teufelchen1
1231807bab Documentation: Renaming OS X to macOS 2022-06-23 17:25:48 +02:00
chrysn
5cde02177c rust: Explicitly select nightly
Examples have previously relied on the (really: some) nightly toolchain
to be the default. As that, in practice, is a problematic assumption,
the latest toolchain to use is now determined programmatically, and that
is set explicitly on the examples that use nightly.

Workaround-For: https://github.com/rust-lang/rustup/issues/3015
2022-06-22 12:07:45 +02:00
Martine Lenders
03dfad899b
Merge pull request #17834 from haukepetersen/opt_skald_advitvlconfig
net/ble/skald: make advertising interval configurable per context
2022-06-21 13:31:57 +02:00
chrysn
f4691db39d
Merge pull request #18181 from chrysn-pull-requests/rust-updates-20220608
rust: Update versions
2022-06-09 13:40:02 +02:00
chrysn
92d34741b0 rust: Update versions 2022-06-08 17:59:44 +02:00
Benjamin Valentin
80b7b79543 examples/telnet_server: fix build with shell_lock 2022-06-08 13:01:23 +02:00
Marian Buschsieweke
20d3304077
Merge pull request #18152 from maribu/sys/shell_commands
sys/shell_commands: convert to SHELL_COMMAND()
2022-06-08 06:40:46 +02:00
benpicco
380144f5e9
Merge pull request #17899 from benpicco/examples/telnet_server-lwip
examples/telnet_server: add support for LWIP
2022-06-07 10:31:04 +02:00
benpicco
6019925c75
Merge pull request #17943 from fjmolinas/pr_suit_vfs_storage
sys/suit/storage/vfs: initial import
2022-06-07 09:33:37 +02:00
Marian Buschsieweke
5ea582b3dd
sys/shell_commands: convert to SHELL_COMMAND()
Make use of XFA for shell commands
2022-06-07 09:25:04 +02:00
Francisco
f6d5a54c3e
Merge pull request #18045 from benpicco/suit/transport-vfs
suit/transport/vfs: add VFS as source for firmware updates
2022-06-07 08:32:15 +02:00
Benjamin Valentin
d6f2c883c5 examples/telnet_server: add support for LWIP 2022-06-07 01:30:02 +02:00
Marian Buschsieweke
6b2a1f7330
examples/telnet_server: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Marian Buschsieweke
501a5b951f
examples/nanocoap_server: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Marian Buschsieweke
b564f95757
examples/gnrc_minimal: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Francisco Molina
d33d0a4065 examples/suit_update: adapt python test to native 2022-06-03 08:49:44 +02:00
Francisco Molina
96b81596f0 examples/suit_update: apply blake 2022-06-03 08:49:44 +02:00
Francisco Molina
97708cf96a examples/suit_update: add vfs storage for native 2022-06-03 08:49:44 +02:00
Gunar Schorcht
c5be3d0751 examples: add esp32-ci / esp8266-ci as external boards
Add `esp32-ci` and `esp8266-ci` as external boards to cover optional modules by CI compilation:
- examples/gnrc_networking to cover ESP32/ESP8266 `esp_wifi_ap`
- examples/gnrc_minimal to cover ESP32 `esp_wifi_enterprise`
2022-06-03 07:33:44 +02:00
Benjamin Valentin
5e52d15409 makefiles/suit: place keys in $XDG_DATA_HOME
Placing the SUIT key in the RIOT repository folder is dangerous as
a repo checkout is by most people considered a volatile location.
Since all important files are stored in git, deleting the entire folder
or it's contents is not an uncommon cleanup operation.

If the user is at that point unaware that SUIT key material is stored
in that folder, that key will then be lost.

Another workflow may involve multiple checkouts of the RIOT repository
to multiple folders to work on several features at the same time, or for
easy cross-referencing or splitting of off features from an integration
into a feature branch.
In that case each checkout would use it's own incompatible SUIT key.

To avoid all these pitfalls, place the SUIT keys outside the RIOT
repository in the $XDG_DATA_HOME directory.
2022-06-02 13:07:17 +02:00
Benjamin Valentin
e16074f8ae examples/suit_update: enable VFS transport 2022-06-01 13:00:51 +02:00
chrysn
f89324ad4a {examples,tests}/rust: Rust updates
This is not so much an update (riot-wrappers stays at the same commit,
riot-sys just advances by one that re-enables an optional dependency,
but of course third party crates are updated) but more reflects the
switch from using released crates to git versions.
2022-05-31 17:44:41 +02:00
Hauke Petersen
ef925b5884 examples/skald_ibeacon: explicitly configure itvl 2022-05-24 13:02:10 +02:00
Hauke Petersen
4afda0d6f3 examples/skald_eddystone: explicitly config itvl 2022-05-24 13:02:10 +02:00
Benjamin Valentin
ad7d974183 nanocoap: define default block size 2022-05-24 09:32:09 +02:00
Benjamin Valentin
d4db82c39b examples/gcoap_fileserver: add CoAP fileserver example 2022-05-22 16:56:25 +02:00
Martine Lenders
06a164bc0b
examples/gcoap_dtls: remove CFLAGS define of DTLS_PEER_MAX 2022-05-16 16:26:36 +02:00
benpicco
32def76a3c
Merge pull request #17338 from benpicco/tools/zep_dispatch-mac_pin
tools/zep_dispatch: allow to pin nodes to MAC address
2022-05-06 21:52:13 +02:00
Kevin "Tristate Tom" Weiss
f4141c676e
Merge pull request #18017 from aabadie/pr/pkg/lua-kconfig
pkg/lua: model in kconfig
2022-05-03 11:46:17 +02:00
chrysn
ec498cd51c {examples,tests}/rust: Rust updates
Updating to riot-sys 0.7.7 enables support for more recent C2Rust
versions, and to riot-wrappers 0.7.22 unblocks [17990].

[17990]: https://github.com/RIOT-OS/RIOT/pull/17990
2022-05-03 09:23:24 +02:00
9538b880e0
Merge pull request #18012 from aabadie/pr/pkg/jerrycript_kconfig
pkg/jerryscript: model in Kconfig
2022-04-27 19:10:20 +02:00
Martine Lenders
b167d6931c
Merge pull request #17774 from fjmolinas/pr_nimble_auto_adv_extended
pkg/nimble/autoadv: add support for ext_adv
2022-04-27 16:44:46 +02:00
cf0b3ded3c
examples: tests: lua: add Kconfig configuration 2022-04-27 11:12:27 +02:00
ad94965777
examples/javascript: add Kconfig configuration 2022-04-27 11:08:27 +02:00
Francisco Molina
a5f54b5a03 examples/twr_aloha: default print rng result only on initiator 2022-04-27 09:12:39 +02:00
Francisco Molina
f5a4a486f6 examples/twr_aloha: error on invalid short address 2022-04-27 09:12:39 +02:00
Francisco Molina
90af3bd026 examples/twr_aloha: add channel and txpower to ifconfig 2022-04-27 09:12:39 +02:00
Francisco Molina
544551de86 examples/twr_aloha: interaction, add missing addr parameter 2022-04-27 09:04:12 +02:00
Francisco Molina
32e78fa921 examples/twr_aloha: fix shell blocking function 2022-04-27 09:01:01 +02:00
Francisco Molina
26969e299b examples/twr_aloha: fix sleep logic 2022-04-27 08:38:34 +02:00
Francisco Molina
3702087084 pkg/nimble/autoadv: add support for ext_adv 2022-04-27 08:22:58 +02:00
0378f54dbb
Merge pull request #17695 from fjmolinas/pr_example_lorawan_usage
examples/lorawan/main: use auto_init_loramac
2022-04-26 10:12:15 +02:00
Francisco Molina
2bbd844adf examples/twr_aloha/Makefile: add mention to uwb-core_rng_trx_info 2022-04-25 13:21:09 +02:00
Francisco Molina
da9a37a984 pkg/nimble/autoadv: prefix configurations with CONFIG_ 2022-04-25 08:43:51 +02:00
Benjamin Valentin
15ab9bbdcd tools/usb-cdc-ecm: add support for radvd / auto_subnets 2022-04-22 22:22:28 +02:00
Benjamin Valentin
efb4b2ea61 tools/sliptty: add support for radvd / auto_subnets 2022-04-22 22:22:28 +02:00
Benjamin Valentin
83c2d1bebe tools/ethos: add support for radvd / auto_subnets 2022-04-22 22:22:28 +02:00
Benjamin Valentin
8557a15c8f tools/zep_dispatch: add support for radvd / auto_subnets 2022-04-22 22:22:28 +02:00
Benjamin Valentin
53601df430 examples/gnrc_border_router: allow more than two ways to obtain a prefix 2022-04-22 22:22:28 +02:00
Francisco
21be49a16a
Merge pull request #17973 from fjmolinas/pr_examples_suit_seq_no
examples/suit_update/test: use 'suit seq_no' to get version
2022-04-22 08:47:32 +02:00
Francisco Molina
01196b99b7 examples/suit_update/tests: use current version as invalid one
If the current version was 0 then previously an invalid <0 seq_no
would be used.
2022-04-21 16:59:32 +02:00
Francisco Molina
c31d0e102d examples/suit_update/tests: use 'suit seq_no' cmd 2022-04-21 16:59:32 +02:00
Francisco
c5b3b967a2
Merge pull request #16771 from fjmolinas/pr_suit_override_manifest_payloads
makefiles: allow to override suit manifest payloads
2022-04-21 16:54:28 +02:00