From a17eeaa938324bda52b446b1482cad4902b69645 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 6 Apr 2015 16:26:59 -0600 Subject: STM32 RTCC: Make back-up register and magic value used by RTCC configurable. From David Sidrane --- nuttx/arch/arm/src/stm32/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'nuttx/arch/arm/src/stm32/Kconfig') diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig index d1b2fa41f..a6de361c5 100644 --- a/nuttx/arch/arm/src/stm32/Kconfig +++ b/nuttx/arch/arm/src/stm32/Kconfig @@ -3406,6 +3406,17 @@ config STM32_HAVE_RTC_SUBSECONDS bool default n +config RTC_MAGIC_REG + int "The BKP register used to store/check the Magic value to determine if RTC is set already" + default 0 + range 0 19 + depends on RTC + +config RTC_MAGIC + hex "Value used as Magic to determine if RTC is set already" + default 0xfacefeee + depends on RTC + choice prompt "RTC clock source" default RTC_LSECLOCK -- cgit v1.2.3