diff options
-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" |