From 2948cb980bda779860f89cdb3c08d8522e92a096 Mon Sep 17 00:00:00 2001 From: Vincent Stakenburg Date: Fri, 19 Aug 2022 15:02:07 +0200 Subject: [PATCH] fix lpuart irqs not being defined for some chips --- stm32data/interrupts.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stm32data/interrupts.py b/stm32data/interrupts.py index 0795fda..d354d07 100644 --- a/stm32data/interrupts.py +++ b/stm32data/interrupts.py @@ -33,6 +33,11 @@ def parse(): # Interrupt name name = removesuffix(parts[0], "_IRQn") + + # Fix typo in STM32Lxx and L083 devices + if name == "AES_RNG_LPUART1" and "RNG" not in str(parts[1:]): + name = "AES_LPUART1" + if name in irqs: continue