mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
rust: Update to riot-wrappers 0.9
This commit is contained in:
parent
c2efa3ef25
commit
c0288f7d40
@ -12,4 +12,4 @@ publish = false
|
||||
|
||||
[dependencies]
|
||||
lsm303agr = "1.0"
|
||||
riot-wrappers = "^0.8"
|
||||
riot-wrappers = "^0.9.0"
|
||||
|
@ -19,7 +19,7 @@ codegen-units = 1
|
||||
opt-level = "s"
|
||||
|
||||
[dependencies]
|
||||
riot-wrappers = { version = "^0.8", features = [ "set_panic_handler", "panic_handler_format", "with_coap_message", "with_coap_handler" ] }
|
||||
riot-wrappers = { version = "^0.9.0", features = [ "set_panic_handler", "panic_handler_format", "with_coap_message", "with_coap_handler" ] }
|
||||
|
||||
coap-message-demos = { git = "https://gitlab.com/chrysn/coap-message-demos/", default-features = false }
|
||||
coap-handler-implementations = "0.5"
|
||||
|
@ -37,7 +37,7 @@ fn main() {
|
||||
println!("CoAP server ready; waiting for interfaces to settle before reporting addresses...");
|
||||
|
||||
let sectimer = ztimer::Clock::sec();
|
||||
sectimer.sleep_ticks(2);
|
||||
sectimer.sleep(ztimer::Ticks(2));
|
||||
|
||||
for netif in gnrc::Netif::all() {
|
||||
println!("Active interface from PID {:?} ({:?})", netif.pid(), netif.pid().get_name().unwrap_or("unnamed"));
|
||||
|
@ -15,7 +15,7 @@ crate-type = ["staticlib"]
|
||||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
riot-wrappers = { version = "0.8", features = [ "set_panic_handler" ] }
|
||||
riot-wrappers = { version = "0.9.0", features = [ "set_panic_handler" ] }
|
||||
|
||||
# While currently this example does not use any RIOT modules implemented in
|
||||
# Rust, that may change; it is best practice for any RIOT application that has
|
||||
|
@ -16,7 +16,7 @@ panic = "abort"
|
||||
codegen-units = 1
|
||||
|
||||
[dependencies]
|
||||
riot-wrappers = { version = "0.8", features = [ "set_panic_handler" ] }
|
||||
riot-wrappers = { version = "0.9.0", features = [ "set_panic_handler" ] }
|
||||
|
||||
rust_riotmodules = { path = "../rust_riotmodules" }
|
||||
|
||||
|
@ -11,4 +11,4 @@ license = "LGPL-2.1-only"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
riot-wrappers = "^0.8"
|
||||
riot-wrappers = "^0.9.0"
|
||||
|
@ -15,7 +15,7 @@ crate-type = ["staticlib"]
|
||||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
riot-wrappers = { version = "0.8", features = [ "set_panic_handler" ] }
|
||||
riot-wrappers = { version = "0.9.0", features = [ "set_panic_handler" ] }
|
||||
|
||||
# While currently this test does not use any RIOT modules implemented in Rust,
|
||||
# that may change; it is best practice for any RIOT application that has its
|
||||
|
Loading…
Reference in New Issue
Block a user