diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-01-24 00:24:23 +0100 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-01-24 00:24:53 +0100 |
commit | 79f60adbfba41b4abec7b9d1444bf64e5423feaa (patch) | |
tree | 8784a972c4ea3d01d4fddec5283e4613c025b3d2 /examples/stm32f1 | |
parent | 6b0cb0609b4bfa3e464e4603ce373a9de9886103 (diff) | |
download | embassy-79f60adbfba41b4abec7b9d1444bf64e5423feaa.zip |
stm32: add `time-driver-any` cargo feature that automatically picks one available timer.
Diffstat (limited to 'examples/stm32f1')
-rw-r--r-- | examples/stm32f1/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f1/Cargo.toml b/examples/stm32f1/Cargo.toml index 765e91b5..44673104 100644 --- a/examples/stm32f1/Cargo.toml +++ b/examples/stm32f1/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", "stm32f103c8", "unstable-pac", "memory-x", "time-driver-tim2"] } +embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "stm32f103c8", "unstable-pac", "memory-x", "time-driver-any"] } defmt = "0.3" defmt-rtt = "0.3" |