stm32: sync available TIMs in Cargo.toml, build.rs

This commit is contained in:
Torin Cooper-Bennun 2024-02-22 17:26:44 +00:00
parent a11e3146f8
commit 44534abf32
2 changed files with 9 additions and 0 deletions

View file

@ -140,6 +140,8 @@ time-driver-tim3 = ["_time-driver"]
time-driver-tim4 = ["_time-driver"] time-driver-tim4 = ["_time-driver"]
## Use TIM5 as time driver ## Use TIM5 as time driver
time-driver-tim5 = ["_time-driver"] time-driver-tim5 = ["_time-driver"]
## Use TIM8 as time driver
time-driver-tim8 = ["_time-driver"]
## Use TIM9 as time driver ## Use TIM9 as time driver
time-driver-tim9 = ["_time-driver"] time-driver-tim9 = ["_time-driver"]
## Use TIM11 as time driver ## Use TIM11 as time driver
@ -148,10 +150,16 @@ time-driver-tim11 = ["_time-driver"]
time-driver-tim12 = ["_time-driver"] time-driver-tim12 = ["_time-driver"]
## Use TIM15 as time driver ## Use TIM15 as time driver
time-driver-tim15 = ["_time-driver"] time-driver-tim15 = ["_time-driver"]
## Use TIM20 as time driver
time-driver-tim20 = ["_time-driver"]
## Use TIM21 as time driver ## Use TIM21 as time driver
time-driver-tim21 = ["_time-driver"] time-driver-tim21 = ["_time-driver"]
## Use TIM22 as time driver ## Use TIM22 as time driver
time-driver-tim22 = ["_time-driver"] time-driver-tim22 = ["_time-driver"]
## Use TIM23 as time driver
time-driver-tim23 = ["_time-driver"]
## Use TIM24 as time driver
time-driver-tim24 = ["_time-driver"]
#! ## Analog Switch Pins (Pxy_C) on STM32H7 series #! ## Analog Switch Pins (Pxy_C) on STM32H7 series

View file

@ -189,6 +189,7 @@ fn main() {
Some("tim5") => "TIM5", Some("tim5") => "TIM5",
Some("tim8") => "TIM8", Some("tim8") => "TIM8",
Some("tim9") => "TIM9", Some("tim9") => "TIM9",
Some("tim11") => "TIM11",
Some("tim12") => "TIM12", Some("tim12") => "TIM12",
Some("tim15") => "TIM15", Some("tim15") => "TIM15",
Some("tim20") => "TIM20", Some("tim20") => "TIM20",