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

@ -14,5 +14,5 @@ defmt = "0.3"
defmt-rtt = "0.3"
panic-probe = "0.3"
embassy = { path = "../../embassy", features = ["defmt"] }
embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "memory-x", "stm32f030f4", "time-driver-tim3"] }
embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "memory-x", "stm32f030f4", "time-driver-any"] }