From 5433c9f6d1eaa3e5197d039416cd8fd831fed106 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 8 Aug 2018 12:51:40 -0600 Subject: [PATCH] Revert "arch/arm/src/stm32, stm32f7, stm32l4 Kconfig files: The option to select the STM32 RTC should not be available if the external RTC option is selected." While this is a good idea and a proper thing to do, it also creates a circular dependency and errors during configuration. RTC depends on STM32_RTC which depends on RTC_EXTERNAL with depends on RTC. No can do. This reverts commit 714e8c1f9e64e72f29934d86f33c5da9fb88ecd4. --- arch/arm/src/stm32/Kconfig | 1 - arch/arm/src/stm32f7/Kconfig | 1 - arch/arm/src/stm32l4/Kconfig | 1 - 3 files changed, 3 deletions(-) diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index d1098add85..22564254cf 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -2488,7 +2488,6 @@ config STM32_RTC bool "RTC" default n select RTC - depends on !RTC_EXTERNAL config STM32_USBHOST bool diff --git a/arch/arm/src/stm32f7/Kconfig b/arch/arm/src/stm32f7/Kconfig index ca9ae596bb..9bcb24df6d 100644 --- a/arch/arm/src/stm32f7/Kconfig +++ b/arch/arm/src/stm32f7/Kconfig @@ -1426,7 +1426,6 @@ config STM32F7_RTC bool "RTC" default n select RTC - depends on !RTC_EXTERNAL config STM32F7_PWR bool "PWR" diff --git a/arch/arm/src/stm32l4/Kconfig b/arch/arm/src/stm32l4/Kconfig index d3dde3b4ed..68bf1845af 100644 --- a/arch/arm/src/stm32l4/Kconfig +++ b/arch/arm/src/stm32l4/Kconfig @@ -805,7 +805,6 @@ config STM32L4_RTC bool "RTC" default n select RTC - depends on !RTC_EXTERNAL config STM32L4_HAVE_SDMMC1 bool