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

This commit is contained in:
yinqingzhao
2026-03-13 17:01:57 +08:00
committed by muhaidong
parent 87748df1ce
commit 0cd11769bd
+3
View File
@@ -52,3 +52,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)