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

This commit is contained in:
yinqingzhao
2026-02-13 15:01:05 +08:00
committed by muhaidong
parent 4e81d5849b
commit d881be5ce0
+3
View File
@@ -59,3 +59,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)