Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasKoch committed Jan 12, 2025
1 parent b9a4d46 commit 2285bc3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions atat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ 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"
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 }
Expand Down
4 changes: 3 additions & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bin/embassy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<INGRESS_BUF_SIZE> = ResponseSlot::new();
static URC_CHANNEL: UrcChannel<common::Urc, URC_CAPACITY, URC_SUBSCRIBERS> = UrcChannel::new();
Expand Down

0 comments on commit 2285bc3

Please sign in to comment.