change(esp_hw_support): add kconfig option to put rtc time module into iram
This commit is contained in:
@@ -225,6 +225,12 @@ menu "Hardware Settings"
|
|||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Place RTC clock module (all rtc clock functions and const data) into IRAM.
|
Place RTC clock module (all rtc clock functions and const data) into IRAM.
|
||||||
|
|
||||||
|
config RTC_TIME_FUNC_IN_IRAM
|
||||||
|
bool "Place RTC time module functions into IRAM"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Place RTC time module (all rtc clock functions) into IRAM.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "Peripheral Control"
|
menu "Peripheral Control"
|
||||||
|
|||||||
@@ -14,13 +14,14 @@ entries:
|
|||||||
esp_memory_utils (noflash)
|
esp_memory_utils (noflash)
|
||||||
clk_utils (noflash)
|
clk_utils (noflash)
|
||||||
if PM_SLP_IRAM_OPT = y:
|
if PM_SLP_IRAM_OPT = y:
|
||||||
rtc_time (noflash_text)
|
|
||||||
esp_clk_tree: esp_clk_tree_enable_src (noflash)
|
esp_clk_tree: esp_clk_tree_enable_src (noflash)
|
||||||
if RTC_CLK_FUNC_IN_IRAM = y:
|
if RTC_CLK_FUNC_IN_IRAM = y:
|
||||||
rtc_clk (noflash)
|
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)
|
||||||
|
if RTC_TIME_FUNC_IN_IRAM = y:
|
||||||
|
rtc_time (noflash_text)
|
||||||
if SOC_CONFIGURABLE_VDDSDIO_SUPPORTED = y:
|
if SOC_CONFIGURABLE_VDDSDIO_SUPPORTED = y:
|
||||||
rtc_init:rtc_vddsdio_get_config (noflash)
|
rtc_init:rtc_vddsdio_get_config (noflash)
|
||||||
rtc_init:rtc_vddsdio_set_config (noflash)
|
rtc_init:rtc_vddsdio_set_config (noflash)
|
||||||
|
|||||||
Reference in New Issue
Block a user