diff options
| author | Torin Cooper-Bennun <[email protected]> | 2024-02-22 17:26:44 +0000 |
|---|---|---|
| committer | Torin Cooper-Bennun <[email protected]> | 2024-02-23 14:35:12 +0000 |
| commit | 44534abf32f556533c1183640e87bc2d45161d54 (patch) | |
| tree | 27287fea6fd3785004433f45a0694760a71dee2f | |
| parent | a11e3146f8f5c00c770c6ef913bca676bbc9a685 (diff) | |
stm32: sync available TIMs in Cargo.toml, build.rs
| -rw-r--r-- | embassy-stm32/Cargo.toml | 8 | ||||
| -rw-r--r-- | embassy-stm32/build.rs | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 0defde033..c4b3ece1a 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -140,6 +140,8 @@ time-driver-tim3 = ["_time-driver"] | |||
| 140 | time-driver-tim4 = ["_time-driver"] | 140 | time-driver-tim4 = ["_time-driver"] |
| 141 | ## Use TIM5 as time driver | 141 | ## Use TIM5 as time driver |
| 142 | time-driver-tim5 = ["_time-driver"] | 142 | time-driver-tim5 = ["_time-driver"] |
| 143 | ## Use TIM8 as time driver | ||
| 144 | time-driver-tim8 = ["_time-driver"] | ||
| 143 | ## Use TIM9 as time driver | 145 | ## Use TIM9 as time driver |
| 144 | time-driver-tim9 = ["_time-driver"] | 146 | time-driver-tim9 = ["_time-driver"] |
| 145 | ## Use TIM11 as time driver | 147 | ## Use TIM11 as time driver |
| @@ -148,10 +150,16 @@ time-driver-tim11 = ["_time-driver"] | |||
| 148 | time-driver-tim12 = ["_time-driver"] | 150 | time-driver-tim12 = ["_time-driver"] |
| 149 | ## Use TIM15 as time driver | 151 | ## Use TIM15 as time driver |
| 150 | time-driver-tim15 = ["_time-driver"] | 152 | time-driver-tim15 = ["_time-driver"] |
| 153 | ## Use TIM20 as time driver | ||
| 154 | time-driver-tim20 = ["_time-driver"] | ||
| 151 | ## Use TIM21 as time driver | 155 | ## Use TIM21 as time driver |
| 152 | time-driver-tim21 = ["_time-driver"] | 156 | time-driver-tim21 = ["_time-driver"] |
| 153 | ## Use TIM22 as time driver | 157 | ## Use TIM22 as time driver |
| 154 | time-driver-tim22 = ["_time-driver"] | 158 | time-driver-tim22 = ["_time-driver"] |
| 159 | ## Use TIM23 as time driver | ||
| 160 | time-driver-tim23 = ["_time-driver"] | ||
| 161 | ## Use TIM24 as time driver | ||
| 162 | time-driver-tim24 = ["_time-driver"] | ||
| 155 | 163 | ||
| 156 | 164 | ||
| 157 | #! ## Analog Switch Pins (Pxy_C) on STM32H7 series | 165 | #! ## Analog Switch Pins (Pxy_C) on STM32H7 series |
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index 068a74733..75a2055eb 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs | |||
| @@ -189,6 +189,7 @@ fn main() { | |||
| 189 | Some("tim5") => "TIM5", | 189 | Some("tim5") => "TIM5", |
| 190 | Some("tim8") => "TIM8", | 190 | Some("tim8") => "TIM8", |
| 191 | Some("tim9") => "TIM9", | 191 | Some("tim9") => "TIM9", |
| 192 | Some("tim11") => "TIM11", | ||
| 192 | Some("tim12") => "TIM12", | 193 | Some("tim12") => "TIM12", |
| 193 | Some("tim15") => "TIM15", | 194 | Some("tim15") => "TIM15", |
| 194 | Some("tim20") => "TIM20", | 195 | Some("tim20") => "TIM20", |
