From 34897b3efc9f2a11ab8bf325fb93ea1281dea238 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Wed, 10 Jun 2026 08:41:51 +0200 Subject: [PATCH] arch/arm/src/stm32f7: remove duplicated stm32_exti_alarm.c source stm32_exti_alarm.c was added twice in Make.defs and CMakeLists.txt. Drop the duplicate block Signed-off-by: raiden00pl --- arch/arm/src/stm32f7/CMakeLists.txt | 6 ------ arch/arm/src/stm32f7/Make.defs | 6 ------ 2 files changed, 12 deletions(-) diff --git a/arch/arm/src/stm32f7/CMakeLists.txt b/arch/arm/src/stm32f7/CMakeLists.txt index fbf052e2458d3..e7e7126cd1711 100644 --- a/arch/arm/src/stm32f7/CMakeLists.txt +++ b/arch/arm/src/stm32f7/CMakeLists.txt @@ -132,12 +132,6 @@ if(CONFIG_STM32F7_QSPI) list(APPEND SRCS stm32_qspi.c) endif() -if(CONFIG_STM32F7_RTC) - if(CONFIG_RTC_ALARM) - list(APPEND SRCS stm32_exti_alarm.c) - endif() -endif() - if(CONFIG_STM32F7_ETHMAC) list(APPEND SRCS stm32_ethernet.c) endif() diff --git a/arch/arm/src/stm32f7/Make.defs b/arch/arm/src/stm32f7/Make.defs index 4c9fe1c7319db..01e8d8c4408d7 100644 --- a/arch/arm/src/stm32f7/Make.defs +++ b/arch/arm/src/stm32f7/Make.defs @@ -134,12 +134,6 @@ ifeq ($(CONFIG_STM32F7_QSPI),y) CHIP_CSRCS += stm32_qspi.c endif -ifeq ($(CONFIG_STM32F7_RTC),y) -ifeq ($(CONFIG_RTC_ALARM),y) -CHIP_CSRCS += stm32_exti_alarm.c -endif -endif - ifeq ($(CONFIG_STM32F7_ETHMAC),y) CHIP_CSRCS += stm32_ethernet.c endif