summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-08-20 17:04:39 +1000
committerDamien George <damien@micropython.org>2021-08-20 17:04:39 +1000
commit61d5a8b9ceab474d4137be53b422f5ece70c61a0 (patch)
treeb6bc2dc40367c7573b6290227a8d4cfd324f6a54
parented42002c398d00d4f3753fbeec861f1c4db9fc24 (diff)
stm32/stm32_it: Support TIM17 IRQs on WB MCUs.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/stm32/stm32_it.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/stm32_it.c b/ports/stm32/stm32_it.c
index dc96e2dd6..4dde201a2 100644
--- a/ports/stm32/stm32_it.c
+++ b/ports/stm32/stm32_it.c
@@ -625,7 +625,7 @@ void TIM1_TRG_COM_TIM11_IRQHandler(void) {
IRQ_EXIT(TIM1_TRG_COM_TIM11_IRQn);
}
-#if defined(STM32L4)
+#if defined(STM32L4) || defined(STM32WB)
void TIM1_TRG_COM_TIM17_IRQHandler(void) {
IRQ_ENTER(TIM1_TRG_COM_TIM17_IRQn);
timer_irq_handler(17);