From 2d8d87b396f629fa1b51db688758fc3b99884799 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 6 Feb 2024 13:43:14 +0800 Subject: [PATCH] fix(system): fixed rtc_sleep not being placed in IRAM --- components/esp_hw_support/linker.lf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/linker.lf b/components/esp_hw_support/linker.lf index 2e74701120..ad3fd0d69a 100644 --- a/components/esp_hw_support/linker.lf +++ b/components/esp_hw_support/linker.lf @@ -18,7 +18,7 @@ entries: if SOC_CONFIGURABLE_VDDSDIO_SUPPORTED = y: rtc_init:rtc_vddsdio_get_config (noflash) rtc_init:rtc_vddsdio_set_config (noflash) - if SOC_PMU_SUPPORTED = n: + if IDF_TARGET_ESP32 = y || IDF_TARGET_ESP32S2 = y || IDF_TARGET_ESP32S3 = y || IDF_TARGET_ESP32C2 = y || IDF_TARGET_ESP32C3 = y: rtc_sleep (noflash_text) rtc_time (noflash_text) if SOC_PMU_SUPPORTED = y: