This is an automated email from the ASF dual-hosted git repository.

linguini1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 5758b066984b81df70b34b221fd29ed6efdc6ff9
Author: raiden00pl <[email protected]>
AuthorDate: Tue Jun 16 09:43:00 2026 +0200

    arch/arm/src/stm32: define EXTI_* for all STM32G4
    
    define EXTI_* for all STM32G4
    
    Signed-off-by: raiden00pl <[email protected]>
---
 arch/arm/src/common/stm32/hardware/stm32_exti_v1v2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/common/stm32/hardware/stm32_exti_v1v2.h 
b/arch/arm/src/common/stm32/hardware/stm32_exti_v1v2.h
index 66af0a47a61..1146755dca6 100644
--- a/arch/arm/src/common/stm32/hardware/stm32_exti_v1v2.h
+++ b/arch/arm/src/common/stm32/hardware/stm32_exti_v1v2.h
@@ -149,7 +149,7 @@
 #  define EXTI_RTC_TAMPER        (1 << 19) /* EXTI line 19 is connected to the 
RTC Tamper and TimeStamp events */
 #  define EXTI_RTC_TIMESTAMP     (1 << 19) /* EXTI line 19 is connected to the 
RTC Tamper and TimeStamp events */
 #  define EXTI_RTC_WAKEUP        (1 << 20) /* EXTI line 20 is connected to the 
RTC Wakeup event */
-#elif defined(CONFIG_STM32_STM32G47XX)
+#elif defined(CONFIG_ARCH_CHIP_STM32G4)
 #  define EXTI_PVD_LINE          (1 << 16) /* EXTI line 16 is connected to the 
PVD output */
 #  define EXTI_RTC_ALARM         (1 << 17) /* EXTI line 17 is connected to the 
RTC Alarm event */
 #  define EXTI_USB_WAKEUP        (1 << 18) /* EXTI line 18 is connected to the 
USB Device FS Wakeup event */

Reply via email to