summaryrefslogtreecommitdiff
path: root/examples/stm32l1
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2022-01-24 00:24:23 +0100
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2022-01-24 00:24:53 +0100
commit79f60adbfba41b4abec7b9d1444bf64e5423feaa (patch)
tree8784a972c4ea3d01d4fddec5283e4613c025b3d2 /examples/stm32l1
parent6b0cb0609b4bfa3e464e4603ce373a9de9886103 (diff)
downloadembassy-79f60adbfba41b4abec7b9d1444bf64e5423feaa.zip
stm32: add `time-driver-any` cargo feature that automatically picks one available timer.
Diffstat (limited to 'examples/stm32l1')
-rw-r--r--examples/stm32l1/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32l1/Cargo.toml b/examples/stm32l1/Cargo.toml
index 212fe710..aad7cf6d 100644
--- a/examples/stm32l1/Cargo.toml
+++ b/examples/stm32l1/Cargo.toml
@@ -8,7 +8,7 @@ resolver = "2"
[dependencies]
embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt"] }
embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = ["defmt"] }
-embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32l151cb-a", "time-driver-tim2", "memory-x"] }
+embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32l151cb-a", "time-driver-any", "memory-x"] }
defmt = "0.3"
defmt-rtt = "0.3"