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

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
This commit is contained in:
chrysn 2024-08-22 17:52:07 +02:00
parent ea40036529
commit d67a448511

View File

@ -23,7 +23,7 @@ fn main() {
let handler = coap_message_demos::full_application_tree(None)
.below(&["ps"], riot_coap_handler_demos::ps::ps_tree())
.below(&["vfs"], riot_coap_handler_demos::vfs::vfs("/const"))
.below(&["vfs"], riot_coap_handler_demos::vfs::vfs(""))
.below(&["saul"], riot_coap_handler_demos::saul::SaulHandler::new(&["saul"]))
.with_wkc()
;