stm32/time: add Cargo features to choose tim2/tim3

This commit is contained in:
Dario Nieuwenhuis
2021-08-04 12:05:22 +02:00
parent 0ea6a2d890
commit b1d631d639
10 changed files with 39 additions and 19 deletions

View File

@ -15,7 +15,7 @@ defmt-rtt = "0.2.0"
panic-probe = { version = "0.2.0" }
rtt-target = { version = "0.3", features = ["cortex-m"] }
embassy = { path = "../../embassy", features = ["defmt"] }
embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "stm32f030f4"] }
embassy-stm32 = { path = "../../embassy-stm32", features = ["defmt", "stm32f030f4", "time-driver-tim3"] }
[features]
default = [