diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-04-06 16:26:59 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-04-06 16:26:59 -0600 |
commit | a17eeaa938324bda52b446b1482cad4902b69645 (patch) | |
tree | 7a0b14ebd98ea310d4d87f25d10326750cc1761e /nuttx/arch/arm/src/stm32/Kconfig | |
parent | 65ed8b0d9efd41bb35e5e6f886450504bb550c7f (diff) | |
download | px4-nuttx-a17eeaa938324bda52b446b1482cad4902b69645.tar.gz px4-nuttx-a17eeaa938324bda52b446b1482cad4902b69645.tar.bz2 px4-nuttx-a17eeaa938324bda52b446b1482cad4902b69645.zip |
STM32 RTCC: Make back-up register and magic value used by RTCC configurable. From David Sidrane
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Kconfig')
-rw-r--r-- | nuttx/arch/arm/src/stm32/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
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 |