Skip to content

Commit 9dfb104

Browse files
committed
src/timer.rs: disable creation of TIM4 for stm32l4+ because of PAC error.
In the current release of the stm32l4 PAC, the `cnt` register of TIM3 and tim4 have an incorrect width. This was fixed in stm32-rs#669, once this is included in the next release, we will be able to start using TIM3 and TIM4.
1 parent d612b01 commit 9dfb104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/timer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ hal! {
324324
// feature = "stm32l4s5",
325325
// feature = "stm32l4r7",
326326
// feature = "stm32l4s7",
327-
feature = "stm32l4r9",
328-
feature = "stm32l4s9",
327+
// feature = "stm32l4r9",
328+
// feature = "stm32l4s9",
329329
))]
330330
hal! {
331331
TIM4: (tim4, free_running_tim4, APB1R1, u16),

0 commit comments

Comments
 (0)