diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-02 06:45:45 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-02 06:45:45 -0600 |
commit | 9337faee31925b60a699519c4fd0506b34f0585f (patch) | |
tree | 4e80c07b1e2ae9e2a93c2b94f51f08ef2e5783ef | |
parent | 1923fed668f74aafc8edcb13cb9cab07e50ba97e (diff) | |
download | nuttx-9337faee31925b60a699519c4fd0506b34f0585f.tar.gz nuttx-9337faee31925b60a699519c4fd0506b34f0585f.tar.bz2 nuttx-9337faee31925b60a699519c4fd0506b34f0585f.zip |
STM32 RTC: Add Kconfig options needed with the preceding commit
-rw-r--r-- | nuttx/arch/arm/src/stm32/Kconfig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig index 354e1fad0..64356f2a5 100644 --- a/nuttx/arch/arm/src/stm32/Kconfig +++ b/nuttx/arch/arm/src/stm32/Kconfig @@ -3238,6 +3238,28 @@ config SDIO_WIDTH_D1_ONLY endmenu +choice + prompt "RTC clock source" + default RTC_LSECLOCK + depends on RTC + +config RTC_LSECLOCK + bool "LSE clock" + ---help--- + Drive the RTC with the LSE clock + +config RTC_LSICLOCK + bool "LSI clock" + ---help--- + Drive the RTC with the LSI clock + +config RTC_HSECLOCK + bool "HSE clock" + ---help--- + Drive the RTC with the HSE clock, divided down to 1MHz. + +endchoice + if STM32_ETHMAC menu "Ethernet MAC configuration" |