From bdf43a3787b63d239316a01dc8801b975af21ec3 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Mon, 6 Jun 2022 23:05:16 +0200 Subject: [PATCH] Fix dupe usb interrupts in stm32f3 --- stm32data/interrupts.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stm32data/interrupts.py b/stm32data/interrupts.py index 153b7da..0795fda 100644 --- a/stm32data/interrupts.py +++ b/stm32data/interrupts.py @@ -57,6 +57,10 @@ def parse(): if nvic_version == 'STM32F100E' and name == 'DMA2_Channel4_5': continue + # F3 can remap USB IRQs, ignore them. + if nvic_version.startswith('STM32F3') and 'remap' in irq['@Comment']: + continue + signals = set() if name in ['NonMaskableInt', 'HardFault', 'MemoryManagement', 'BusFault', 'UsageFault', 'SVCall', 'DebugMonitor', 'PendSV', 'SysTick']: