mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/fix_none_iram_code_before_xip_psram' into 'master'
rtc: fixed non-iram rtc code in early stage on p4 leading xip_psram stuck See merge request espressif/esp-idf!31742
This commit is contained in:
commit
7755ce186e
@ -21,6 +21,9 @@ entries:
|
|||||||
rtc_time (noflash_text)
|
rtc_time (noflash_text)
|
||||||
if SOC_PMU_SUPPORTED = y && SOC_LIGHT_SLEEP_SUPPORTED = y:
|
if SOC_PMU_SUPPORTED = y && SOC_LIGHT_SLEEP_SUPPORTED = y:
|
||||||
pmu_sleep (noflash)
|
pmu_sleep (noflash)
|
||||||
|
if SPIRAM_FLASH_LOAD_TO_PSRAM = y:
|
||||||
|
pmu_init (noflash)
|
||||||
|
pmu_param (noflash)
|
||||||
if SOC_USB_SERIAL_JTAG_SUPPORTED = y:
|
if SOC_USB_SERIAL_JTAG_SUPPORTED = y:
|
||||||
sleep_console (noflash)
|
sleep_console (noflash)
|
||||||
if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
|
if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y:
|
||||||
|
@ -41,7 +41,7 @@ static void select_rtc_slow_clk(soc_rtc_slow_clk_src_t rtc_slow_clk_src);
|
|||||||
|
|
||||||
static const char *TAG = "clk";
|
static const char *TAG = "clk";
|
||||||
|
|
||||||
void esp_rtc_init(void)
|
void IRAM_ATTR esp_rtc_init(void)
|
||||||
{
|
{
|
||||||
#if SOC_PMU_SUPPORTED
|
#if SOC_PMU_SUPPORTED
|
||||||
pmu_init();
|
pmu_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user