Signed-off-by: Damien George <damien@micropython.org>
@ -602,7 +602,7 @@ void TIM1_UP_TIM10_IRQHandler(void) {
IRQ_EXIT(TIM1_UP_TIM10_IRQn);
}
#if defined(STM32L4)
#if defined(STM32L4) || defined(STM32WB)
void TIM1_UP_TIM16_IRQHandler(void) {
IRQ_ENTER(TIM1_UP_TIM16_IRQn);
timer_irq_handler(1);
@ -805,7 +805,7 @@ STATIC const uint32_t tim_instance_table[MICROPY_HW_MAX_TIMER] = {
TIM_ENTRY(1, TIM1_UP_TIM10_IRQn),
#elif defined(STM32H7)
TIM_ENTRY(1, TIM1_UP_IRQn),
#elif defined(STM32L4)
#elif defined(STM32L4) || defined(STM32WB)
TIM_ENTRY(1, TIM1_UP_TIM16_IRQn),
#endif