Skip to content

Commit c18e925

Browse files
mattytrentinidpgeorge
authored andcommitted
stm32/timer: Add support for STM32H5 Timer 1.
Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
1 parent 91386b3 commit c18e925

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ports/stm32/timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ static const uint32_t tim_instance_table[MICROPY_HW_MAX_TIMER] = {
840840
TIM_ENTRY(1, TIM1_BRK_UP_TRG_COM_IRQn),
841841
#elif defined(STM32F4) || defined(STM32F7)
842842
TIM_ENTRY(1, TIM1_UP_TIM10_IRQn),
843-
#elif defined(STM32H7)
843+
#elif defined(STM32H7) || defined(STM32H5)
844844
TIM_ENTRY(1, TIM1_UP_IRQn),
845845
#elif defined(STM32G4) || defined(STM32L4) || defined(STM32WB)
846846
TIM_ENTRY(1, TIM1_UP_TIM16_IRQn),

0 commit comments

Comments
 (0)