Skip to content

Commit

Permalink
Update embassy-sync and embassy-time (#185)
Browse files Browse the repository at this point in the history
* Update embassy-sync and embassy-time

* Update examples
  • Loading branch information
rmja authored Dec 4, 2023
1 parent 0f60a61 commit 38e0322
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ incremental = false
lto = 'fat'
opt-level = "s" # <-
overflow-checks = false # <-

[patch.crates-io]
embassy-executor = { version = "0.3", git = "https://github.com/embassy-rs/embassy", rev = "5f7cd82" }
embassy-rp = { version = "0.1", git = "https://github.com/embassy-rs/embassy", rev = "5f7cd82" }
embassy-time = { version = "0.2", git = "https://github.com/embassy-rs/embassy", rev = "5f7cd82" }
6 changes: 3 additions & 3 deletions atat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ name = "atat"
embedded-io = "0.6.0"
embedded-io-async = { version = "0.6.0", optional = true }
futures = { version = "0.3", default-features = false, optional = true }
embassy-sync = "0.4.0"
embassy-time = "0.1"
embassy-sync = "0.5"
embassy-time = "0.2"
heapless = { version = "^0.8", features = ["serde"] }
serde_at = { path = "../serde_at", version = "^0.20.0", optional = true }
atat_derive = { path = "../atat_derive", version = "^0.20.0", optional = true }
Expand All @@ -35,7 +35,7 @@ log = { version = "^0.4", default-features = false, optional = true }
defmt = { version = "^0.3", optional = true }

[dev-dependencies]
embassy-time = { version = "0.1.0", features = ["std", "generic-queue"] }
embassy-time = { version = "0.2", features = ["std", "generic-queue"] }
critical-section = { version = "1.1", features = ["std"] }
tokio = { version = "1", features = ["macros", "rt"] }

Expand Down
7 changes: 3 additions & 4 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ cortex-m = { version = "0.7.6", optional = true }
cortex-m-rt = { version = "0.7.3", optional = true }
defmt-rtt = { version = "0.4", optional = true }
panic-probe = { version = "0.3.0", features = ["print-defmt"], optional = true }
embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "f0497039ed9a735dc5bc8cb05db98b35bc6b673a", features = [
embassy-executor = { version = "0.3", features = [
"defmt",
"nightly",
"integrated-timers",
], optional = true }
embassy-time = { version = "0.1.0" }
embassy-rp = { git = "https://github.com/embassy-rs/embassy", rev = "f0497039ed9a735dc5bc8cb05db98b35bc6b673a", features = [
embassy-time = "0.2"
embassy-rp = { version = "0.1", features = [
"unstable-pac",
"nightly",
"time-driver",
"critical-section-impl",
], optional = true }
Expand Down

0 comments on commit 38e0322

Please sign in to comment.