change(esp_hw_support): add kconfig option to put rtc clock module into iram
This commit is contained in:
@@ -219,6 +219,12 @@ menu "Hardware Settings"
|
||||
|
||||
menu "RTC Clock Config"
|
||||
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
|
||||
|
||||
menu "Peripheral Control"
|
||||
|
||||
@@ -14,9 +14,10 @@ entries:
|
||||
esp_memory_utils (noflash)
|
||||
clk_utils (noflash)
|
||||
if PM_SLP_IRAM_OPT = y:
|
||||
rtc_clk (noflash)
|
||||
rtc_time (noflash_text)
|
||||
esp_clk_tree: esp_clk_tree_enable_src (noflash)
|
||||
if RTC_CLK_FUNC_IN_IRAM = y:
|
||||
rtc_clk (noflash)
|
||||
if IDF_TARGET_ESP32 = y:
|
||||
rtc_clk:rtc_clk_cpu_freq_to_pll_mhz (noflash)
|
||||
rtc_clk:rtc_clk_cpu_freq_to_xtal (noflash)
|
||||
|
||||
Reference in New Issue
Block a user