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

1402 Commits

Author SHA1 Message Date
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
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