summaryrefslogtreecommitdiff
path: root/examples/stm32h7
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2022-04-22 19:58:24 +0200
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2022-04-22 19:58:24 +0200
commit3251a21fb7f7d0bcbd4e900274f4917c58ab9c87 (patch)
tree1193acee1e41822b0cbf538f6271ccad35c056aa /examples/stm32h7
parentea0a701ebd142ea42e05e51e844bd53cc9bdf354 (diff)
downloadembassy-3251a21fb7f7d0bcbd4e900274f4917c58ab9c87.zip
Switch to crates.io embedded-hal, embedded-hal-async.
This temporarily removes support for the async UART trait, since it's not yet in embedded-hal-async.
Diffstat (limited to 'examples/stm32h7')
-rw-r--r--examples/stm32h7/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml
index f237a817..419bbec3 100644
--- a/examples/stm32h7/Cargo.toml
+++ b/examples/stm32h7/Cargo.toml
@@ -18,7 +18,8 @@ defmt-rtt = "0.3"
cortex-m = "0.7.3"
cortex-m-rt = "0.7.0"
embedded-hal = "0.2.6"
-embedded-hal-async = { version = "0.0.1", git = "https://github.com/embassy-rs/embedded-hal", branch = "embassy2"}
+embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
+embedded-hal-async = { version = "0.1.0-alpha.0" }
panic-probe = { version = "0.3", features = ["print-defmt"] }
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
heapless = { version = "0.7.5", default-features = false }