diff options
| author | Torin Cooper-Bennun <[email protected]> | 2024-02-22 17:42:08 +0000 |
|---|---|---|
| committer | Torin Cooper-Bennun <[email protected]> | 2024-02-23 14:35:12 +0000 |
| commit | 86ccf0bc3e0a9908402405aebde6755df0e1b4f6 (patch) | |
| tree | 11ca54b19b7bb6deb634bb40c2a7ddd1d1ba3ab2 | |
| parent | 44534abf32f556533c1183640e87bc2d45161d54 (diff) | |
stm32: remove TIM11 as time driver candidate (only 1 CC channel)
| -rw-r--r-- | embassy-stm32/Cargo.toml | 2 | ||||
| -rw-r--r-- | embassy-stm32/build.rs | 1 | ||||
| -rw-r--r-- | embassy-stm32/src/time_driver.rs | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index c4b3ece1a..abcc8ac4e 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -144,8 +144,6 @@ time-driver-tim5 = ["_time-driver"] | |||
| 144 | time-driver-tim8 = ["_time-driver"] | 144 | time-driver-tim8 = ["_time-driver"] |
| 145 | ## Use TIM9 as time driver | 145 | ## Use TIM9 as time driver |
| 146 | time-driver-tim9 = ["_time-driver"] | 146 | time-driver-tim9 = ["_time-driver"] |
| 147 | ## Use TIM11 as time driver | ||
| 148 | time-driver-tim11 = ["_time-driver"] | ||
| 149 | ## Use TIM12 as time driver | 147 | ## Use TIM12 as time driver |
| 150 | time-driver-tim12 = ["_time-driver"] | 148 | time-driver-tim12 = ["_time-driver"] |
| 151 | ## Use TIM15 as time driver | 149 | ## Use TIM15 as time driver |
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index 75a2055eb..068a74733 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs | |||
| @@ -189,7 +189,6 @@ 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", | ||
| 193 | Some("tim12") => "TIM12", | 192 | Some("tim12") => "TIM12", |
| 194 | Some("tim15") => "TIM15", | 193 | Some("tim15") => "TIM15", |
| 195 | Some("tim20") => "TIM20", | 194 | Some("tim20") => "TIM20", |
diff --git a/embassy-stm32/src/time_driver.rs b/embassy-stm32/src/time_driver.rs index 4129e4f30..8e4e606a4 100644 --- a/embassy-stm32/src/time_driver.rs +++ b/embassy-stm32/src/time_driver.rs | |||
| @@ -52,8 +52,6 @@ type T = peripherals::TIM5; | |||
| 52 | type T = peripherals::TIM8; | 52 | type T = peripherals::TIM8; |
| 53 | #[cfg(time_driver_tim9)] | 53 | #[cfg(time_driver_tim9)] |
| 54 | type T = peripherals::TIM9; | 54 | type T = peripherals::TIM9; |
| 55 | #[cfg(time_driver_tim11)] | ||
| 56 | type T = peripherals::TIM11; | ||
| 57 | #[cfg(time_driver_tim12)] | 55 | #[cfg(time_driver_tim12)] |
| 58 | type T = peripherals::TIM12; | 56 | type T = peripherals::TIM12; |
| 59 | #[cfg(time_driver_tim15)] | 57 | #[cfg(time_driver_tim15)] |
