stm32: add time-driver-any cargo feature that automatically picks one available timer.

This commit is contained in:
Dario Nieuwenhuis
2022-01-24 00:24:23 +01:00
parent 6b0cb0609b
commit 79f60adbfb
16 changed files with 88 additions and 26 deletions

View File

@ -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"