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

xiaoxiang781216 pushed a commit to branch releases/13.0
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/releases/13.0 by this push:
     new 7f479a7e845 arch/arm/src/stm32f7: remove duplicated stm32_exti_alarm.c 
source
7f479a7e845 is described below

commit 7f479a7e8451b66e13fa58e40184665d76509e81
Author: raiden00pl <[email protected]>
AuthorDate: Wed Jun 10 08:41:51 2026 +0200

    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 <[email protected]>
---
 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 89cca465803..5a7ffb07988 100644
--- a/arch/arm/src/stm32f7/CMakeLists.txt
+++ b/arch/arm/src/stm32f7/CMakeLists.txt
@@ -132,12 +132,6 @@ if(CONFIG_STM32F7_QUADSPI)
   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 04f0514666b..a1261e40de8 100644
--- a/arch/arm/src/stm32f7/Make.defs
+++ b/arch/arm/src/stm32f7/Make.defs
@@ -134,12 +134,6 @@ ifeq ($(CONFIG_STM32F7_QUADSPI),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

Reply via email to