refactor: go back to using channels for the services

embassy-sync RpcService didn't support async very well
This commit is contained in:
2026-10-06 17:01:48 -05:00
parent cbcb5b0b5f
commit a45cb6efbd
4 changed files with 220 additions and 167 deletions
+6 -2
View File
@@ -31,7 +31,7 @@ esp-backtrace = { version = "0.19.0", features = [
] }
esp-println = { version = "0.17.0", features = ["defmt-espflash", "esp32c6"] }
embassy-sync = { git = "https://github.com/embassy-rs/embassy", branch = "main" }
embassy-sync = { version = "0.8.0", features = ["defmt"] }
embassy-futures = { version = "0.1.2", features = ["defmt"] }
embassy-embedded-hal = { version = "0.6.0", features = ["defmt", "time"] }
@@ -63,11 +63,15 @@ picoserve = { version = "0.19", features = ["defmt", "embassy", "json"] }
sequential-storage = "8.0"
esp-storage = { version = "0.9", features = ["defmt", "esp32c6"] }
postcard = { version = "1.1", default-features = false, features = ["defmt", "heapless"] }
postcard = { version = "1.1", default-features = false, features = [
"defmt",
"heapless",
] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
int-enum = "1.2.0"
heapless = { version = "0.9.3", features = ["defmt", "serde"] }
thiserror = { version = "2.0.20", default-features = false }
oneshot = { version = "0.2.1", features = ["async"] }
# For fine tuning these settings, please refer to https://doc.rust-lang.org/cargo/reference/profiles.html