summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Trentini <matt.trentini@gmail.com>2025-03-24 00:28:43 +1100
committerDamien George <damien@micropython.org>2025-04-03 16:13:28 +1100
commitc18e925431c57384a8f28c8699fe46c8b22aaa3a (patch)
treec144aaa9171df69e073b99ceb5423dea1b1763c8
parent91386b3d56b4ef3bb27af89846c1cc2712f6065f (diff)
stm32/timer: Add support for STM32H5 Timer 1.
Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
-rw-r--r--ports/stm32/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/timer.c b/ports/stm32/timer.c
index 5c333eb94..9d65b484c 100644
--- a/ports/stm32/timer.c
+++ b/ports/stm32/timer.c
@@ -840,7 +840,7 @@ static const uint32_t tim_instance_table[MICROPY_HW_MAX_TIMER] = {
TIM_ENTRY(1, TIM1_BRK_UP_TRG_COM_IRQn),
#elif defined(STM32F4) || defined(STM32F7)
TIM_ENTRY(1, TIM1_UP_TIM10_IRQn),
- #elif defined(STM32H7)
+ #elif defined(STM32H7) || defined(STM32H5)
TIM_ENTRY(1, TIM1_UP_IRQn),
#elif defined(STM32G4) || defined(STM32L4) || defined(STM32WB)
TIM_ENTRY(1, TIM1_UP_TIM16_IRQn),