mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
change(esp_hw_support): add kconfig option to put rtc clock module into iram
This commit is contained in:
@@ -218,6 +218,12 @@ menu "Hardware Settings"
|
|||||||
|
|
||||||
menu "RTC Clock Config"
|
menu "RTC Clock Config"
|
||||||
orsource "./port/$IDF_TARGET/Kconfig.rtc"
|
orsource "./port/$IDF_TARGET/Kconfig.rtc"
|
||||||
|
|
||||||
|
config RTC_CLK_FUNC_IN_IRAM
|
||||||
|
bool "Place RTC clock module functions into IRAM"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Place RTC clock module (all rtc clock functions and const data) into IRAM.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Peripheral Control"
|
menu "Peripheral Control"
|
||||||
|
|||||||
@@ -13,15 +13,13 @@ entries:
|
|||||||
cpu: esp_cpu_compare_and_set (noflash)
|
cpu: esp_cpu_compare_and_set (noflash)
|
||||||
esp_memory_utils (noflash)
|
esp_memory_utils (noflash)
|
||||||
clk_utils (noflash)
|
clk_utils (noflash)
|
||||||
if IDF_TARGET_ESP32H4 = y || IDF_TARGET_ESP32H21 = y:
|
|
||||||
# IDF-13780
|
|
||||||
rtc_clk (noflash)
|
|
||||||
if PM_SLP_IRAM_OPT = y:
|
if PM_SLP_IRAM_OPT = y:
|
||||||
rtc_clk (noflash)
|
|
||||||
rtc_time (noflash_text)
|
rtc_time (noflash_text)
|
||||||
esp_clk_tree: esp_clk_tree_enable_src (noflash)
|
esp_clk_tree: esp_clk_tree_enable_src (noflash)
|
||||||
esp_clk_tree: esp_clk_tree_enable_power (noflash)
|
esp_clk_tree: esp_clk_tree_enable_power (noflash)
|
||||||
esp_clk_tree: esp_clk_tree_is_power_on (noflash)
|
esp_clk_tree: esp_clk_tree_is_power_on (noflash)
|
||||||
|
if RTC_CLK_FUNC_IN_IRAM = y:
|
||||||
|
rtc_clk (noflash)
|
||||||
if IDF_TARGET_ESP32 = y:
|
if IDF_TARGET_ESP32 = y:
|
||||||
rtc_clk:rtc_clk_cpu_freq_to_pll_mhz (noflash)
|
rtc_clk:rtc_clk_cpu_freq_to_pll_mhz (noflash)
|
||||||
rtc_clk:rtc_clk_cpu_freq_to_xtal (noflash)
|
rtc_clk:rtc_clk_cpu_freq_to_xtal (noflash)
|
||||||
|
|||||||
Reference in New Issue
Block a user