mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-23 01:10:46 +00:00
Merge branch 'bugfix/warn_rc32k_use_in_kconfig_v5.2' into 'release/v5.2'
fix(clk): add an inevitable kconfig option to be selected to use rc32k (v5.2) See merge request espressif/esp-idf!35966
This commit is contained in:
@@ -13,12 +13,18 @@ choice RTC_CLK_SRC
|
||||
bool "External 32kHz oscillator at 32K_XP pin"
|
||||
select ESP_SYSTEM_RTC_EXT_OSC
|
||||
config RTC_CLK_SRC_INT_RC32K
|
||||
bool "Internal 32kHz RC oscillator"
|
||||
bool "Internal 32kHz RC oscillator (NOT RECOMMENDED TO USE, READ DOCS FIRST)"
|
||||
depends on RTC_CLK_SRC_USE_DANGEROUS_RC32K_ALLOWED
|
||||
help
|
||||
Internal RC32K clock is unstable at extreme temperatures and is not recommended for use.
|
||||
To be able to select this option, please select `RTC_CLK_SRC_USE_DANGEROUS_RC32K_ALLOWED` first.
|
||||
This option will be removed in IDF v6.0.
|
||||
endchoice
|
||||
|
||||
config RTC_CLK_SRC_USE_DANGEROUS_RC32K_ALLOWED
|
||||
bool "Confirm to use the unrecommended 32 kHz RC oscillator (READ DOCS FIRST)"
|
||||
help
|
||||
Internal RC32K clock is unstable at extreme temperatures and is not recommended for use.
|
||||
|
||||
config RTC_CLK_CAL_CYCLES
|
||||
int "Number of cycles for RTC_SLOW_CLK calibration"
|
||||
default 3000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_RC32K
|
||||
|
Reference in New Issue
Block a user