diff --git a/components/esp_hw_support/linker.lf b/components/esp_hw_support/linker.lf index aad0a875222..243cb05b550 100644 --- a/components/esp_hw_support/linker.lf +++ b/components/esp_hw_support/linker.lf @@ -60,3 +60,6 @@ archive: libsoc.a entries: if PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP && ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND: gpio_periph: GPIO_HOLD_MASK (noflash) + if PM_SLP_IRAM_OPT = y: + if IDF_TARGET_ESP32 = y: + rtc_io_periph:rtc_io_desc (noflash_data)