esp32: add choice for RTC clock source
For now only one option is supported: internal RC oscillator
This commit is contained in:
parent
eb2c633cbf
commit
299655e3be
1 changed files with 14 additions and 0 deletions
|
@ -349,5 +349,19 @@ config ESP32_TIME_SYSCALL_USE_NONE
|
|||
bool "None"
|
||||
endchoice
|
||||
|
||||
choice ESP32_RTC_CLOCK_SOURCE
|
||||
prompt "RTC clock source"
|
||||
default ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC
|
||||
help
|
||||
Choose which clock is used as RTC clock source.
|
||||
The only available option for now is to use internal
|
||||
150kHz RC oscillator.
|
||||
|
||||
config ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC
|
||||
bool "Internal RC"
|
||||
config ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL
|
||||
bool "External 32kHz crystal"
|
||||
depends on DOCUMENTATION_FOR_RTC_CNTL
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Reference in a new issue