diff --git a/atat/Cargo.toml b/atat/Cargo.toml index 87a7f96..7add0d7 100644 --- a/atat/Cargo.toml +++ b/atat/Cargo.toml @@ -18,8 +18,8 @@ maintenance = { status = "actively-developed" } name = "atat" [dependencies] -embedded-io = "0.6.0" -embedded-io-async = "0.6.0" +embedded-io = "0.6" +embedded-io-async = "0.6" futures = { version = "0.3", default-features = false } embassy-sync = "0.6" embassy-time = "0.4" @@ -27,7 +27,7 @@ heapless = { version = "^0.8", features = ["serde"] } serde_at = { path = "../serde_at", version = "^0.23.0", optional = true } atat_derive = { path = "../atat_derive", version = "^0.23.0", optional = true } serde_bytes = { version = "0.11.14", default-features = false, optional = true } -heapless-bytes = { version = "0.3.0", optional = true } +heapless-bytes = { version = "0.4.0", optional = true } nom = { version = "^7.1", default-features = false } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index ce13eee..215e5e8 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -35,8 +35,9 @@ embassy-executor = { version = "0.7", features = [ "arch-cortex-m", "executor-thread", ], optional = true } -embassy-time = "0.4" +embassy-time = { version = "0.4" } embassy-rp = { version = "0.3", features = [ + "rp2040", "unstable-pac", "time-driver", "critical-section-impl", @@ -69,6 +70,7 @@ std = [ "dep:tokio", "dep:tokio-serial", "atat/log", + "embassy-time/generic-queue-8", "embassy-time/std", "critical-section/std", "embedded-io-adapters", diff --git a/examples/src/bin/embassy.rs b/examples/src/bin/embassy.rs index 0047b85..48c2ed6 100644 --- a/examples/src/bin/embassy.rs +++ b/examples/src/bin/embassy.rs @@ -41,7 +41,7 @@ async fn main(spawner: Spawner) { RX_BUF.init([0; 16]), uart::Config::default(), ); - let (reader, writer) = uart.split(); + let (writer, reader) = uart.split(); static RES_SLOT: ResponseSlot = ResponseSlot::new(); static URC_CHANNEL: UrcChannel = UrcChannel::new();