Skip to content

Commit af80efa

Browse files
committed
arch/arm/src/stm32f7: remove duplicated stm32_exti_alarm.c source entry
stm32_exti_alarm.c was added twice in Make.defs and CMakeLists.txt: once in the main CONFIG_STM32_RTC block and again in a second redundant CONFIG_STM32_RTC/CONFIG_RTC_ALARM block. Drop the duplicate block; this bug also exists upstream. Signed-off-by: raiden00pl <raiden00@railab.me>
1 parent 63b5dac commit af80efa

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

arch/arm/src/stm32f7/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ if(CONFIG_STM32_QSPI)
126126
list(APPEND SRCS stm32_qspi.c)
127127
endif()
128128

129-
if(CONFIG_STM32_RTC)
130-
if(CONFIG_RTC_ALARM)
131-
list(APPEND SRCS stm32_exti_alarm.c)
132-
endif()
133-
endif()
134-
135129
if(CONFIG_STM32_ETHMAC)
136130
list(APPEND SRCS stm32_ethernet.c)
137131
endif()

arch/arm/src/stm32f7/Make.defs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,6 @@ ifeq ($(CONFIG_STM32_QSPI),y)
127127
CHIP_CSRCS += stm32_qspi.c
128128
endif
129129

130-
ifeq ($(CONFIG_STM32_RTC),y)
131-
ifeq ($(CONFIG_RTC_ALARM),y)
132-
CHIP_CSRCS += stm32_exti_alarm.c
133-
endif
134-
endif
135-
136130
ifeq ($(CONFIG_STM32_ETHMAC),y)
137131
CHIP_CSRCS += stm32_ethernet.c
138132
endif

0 commit comments

Comments
 (0)