fix(pm): fix crash issue of esp32 caused by accessing flash in sleep wake process

This commit is contained in:
yinqingzhao
2026-03-15 13:12:55 +08:00
committed by BOT
parent f12e8de207
commit 69cf6b7c4d
+3
View File
@@ -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)