From 0c773ee481bbb135c1227ed7328098a550c211e5 Mon Sep 17 00:00:00 2001 From: wuzhenghui Date: Wed, 25 Dec 2024 22:02:31 +0800 Subject: [PATCH] fix(esp_hw_support): fix FLASH leakage workaround kconfig dependcy --- components/esp_hw_support/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/esp_hw_support/Kconfig b/components/esp_hw_support/Kconfig index 9dc1eb3a8e..dd47b5bf0e 100644 --- a/components/esp_hw_support/Kconfig +++ b/components/esp_hw_support/Kconfig @@ -51,7 +51,6 @@ menu "Hardware Settings" config ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND bool "Pull-up Flash CS pin in light sleep" - depends on !ESP_SLEEP_POWER_DOWN_FLASH default y help All IOs will be set to isolate(floating) state by default during sleep. @@ -83,8 +82,7 @@ menu "Hardware Settings" config ESP_SLEEP_MSPI_NEED_ALL_IO_PU bool "Pull-up all SPI pins in light sleep" - depends on !ESP_SLEEP_POWER_DOWN_FLASH \ - && (ESP_SLEEP_PSRAM_LEAKAGE_WORKAROUND || ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND) + depends on (ESP_SLEEP_PSRAM_LEAKAGE_WORKAROUND || ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND) default y if IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32S3 help To reduce leakage current, some types of SPI Flash/RAM only need to pull up the CS pin