mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 02:20:57 +02:00
remove(clk): remove RTC_CLK_SRC_INT_RC32K option for C6 (v6.0)
This commit is contained in:
@@ -12,24 +12,13 @@ choice RTC_CLK_SRC
|
|||||||
config RTC_CLK_SRC_EXT_OSC
|
config RTC_CLK_SRC_EXT_OSC
|
||||||
bool "External 32 kHz oscillator at 32K_XP pin"
|
bool "External 32 kHz oscillator at 32K_XP pin"
|
||||||
select ESP_SYSTEM_RTC_EXT_OSC
|
select ESP_SYSTEM_RTC_EXT_OSC
|
||||||
config RTC_CLK_SRC_INT_RC32K
|
|
||||||
bool "Internal 32 kHz RC oscillator (NOT RECOMMENDED TO USE, READ DOCS FIRST)"
|
|
||||||
depends on RTC_CLK_SRC_USE_DANGEROUS_RC32K_ALLOWED
|
|
||||||
help
|
|
||||||
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
|
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
|
config RTC_CLK_CAL_CYCLES
|
||||||
int "Number of cycles for RTC_SLOW_CLK calibration"
|
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
|
default 3000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC
|
||||||
default 1024 if RTC_CLK_SRC_INT_RC
|
default 1024 if RTC_CLK_SRC_INT_RC
|
||||||
range 0 8190 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_RC32K
|
range 0 8190 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC
|
||||||
range 0 32766 if RTC_CLK_SRC_INT_RC
|
range 0 32766 if RTC_CLK_SRC_INT_RC
|
||||||
help
|
help
|
||||||
When the startup code initializes RTC_SLOW_CLK, it can perform
|
When the startup code initializes RTC_SLOW_CLK, it can perform
|
||||||
|
@@ -103,8 +103,6 @@ __attribute__((weak)) void esp_clk_init(void)
|
|||||||
select_rtc_slow_clk(SOC_RTC_SLOW_CLK_SRC_XTAL32K);
|
select_rtc_slow_clk(SOC_RTC_SLOW_CLK_SRC_XTAL32K);
|
||||||
#elif defined(CONFIG_RTC_CLK_SRC_EXT_OSC)
|
#elif defined(CONFIG_RTC_CLK_SRC_EXT_OSC)
|
||||||
select_rtc_slow_clk(SOC_RTC_SLOW_CLK_SRC_OSC_SLOW);
|
select_rtc_slow_clk(SOC_RTC_SLOW_CLK_SRC_OSC_SLOW);
|
||||||
#elif defined(CONFIG_RTC_CLK_SRC_INT_RC32K)
|
|
||||||
select_rtc_slow_clk(SOC_RTC_SLOW_CLK_SRC_RC32K);
|
|
||||||
#else
|
#else
|
||||||
select_rtc_slow_clk(SOC_RTC_SLOW_CLK_SRC_RC_SLOW);
|
select_rtc_slow_clk(SOC_RTC_SLOW_CLK_SRC_RC_SLOW);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -48,7 +48,8 @@ Removed option for compiling bootloader with no optimization level (-O0, `CONFIG
|
|||||||
Time
|
Time
|
||||||
----
|
----
|
||||||
|
|
||||||
The deprecated ``{IDF_TARGET_NAME}/rtc.h`` header file has been removed. Please include the replacement ``esp_rtc_time.h`` instead.
|
- The deprecated ``{IDF_TARGET_NAME}/rtc.h`` header file has been removed. Please include the replacement ``esp_rtc_time.h`` instead.
|
||||||
|
- The deprecated ``RTC_CLK_SRC_INT_RC32K`` menuconfig option has been removed. Internal RC32K clock is unstable at extreme temperatures, please don't use this clock as the RTC slow clock source.
|
||||||
|
|
||||||
HW-Support
|
HW-Support
|
||||||
----------
|
----------
|
||||||
|
@@ -48,7 +48,8 @@ Xtensa 特殊寄存器头文件已更新,使用新的命名约定。旧的 ``s
|
|||||||
时间管理
|
时间管理
|
||||||
--------
|
--------
|
||||||
|
|
||||||
已弃用的头文件 ``{IDF_TARGET_NAME}/rtc.h`` 已被移除,请改用替代头文件 ``esp_rtc_time.h``。
|
- 已弃用的头文件 ``{IDF_TARGET_NAME}/rtc.h`` 已被移除,请改用替代头文件 ``esp_rtc_time.h``。
|
||||||
|
- 已弃用的 ``RTC_CLK_SRC_INT_RC32K`` 配置项已被移除,内部 RC32K 时钟在极端温度下不稳定,请不要使用该时钟作为 RTC 低速时钟的时钟源。
|
||||||
|
|
||||||
硬件支持
|
硬件支持
|
||||||
--------
|
--------
|
||||||
|
Reference in New Issue
Block a user