From 63686331026f7b0e1272eb8b86cfca913fa790f4 Mon Sep 17 00:00:00 2001 From: jingli Date: Thu, 11 Aug 2022 15:02:46 +0800 Subject: [PATCH] esp32h2/kconfig: remove repeated kconfig --- components/esp32h2/Kconfig | 19 ------------------- components/esp_hw_support/Kconfig | 4 ++-- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/components/esp32h2/Kconfig b/components/esp32h2/Kconfig index 46c70d0867..a172bd0023 100644 --- a/components/esp32h2/Kconfig +++ b/components/esp32h2/Kconfig @@ -179,23 +179,4 @@ menu "ESP32H2-Specific" If enabled, this disables the linking of binary libraries in the application build. Note that after enabling this Wi-Fi/Bluetooth will not work. - config ESP32H2_LIGHTSLEEP_GPIO_RESET_WORKAROUND - bool "light sleep GPIO reset workaround" - default y - select PM_SLP_DISABLE_GPIO if FREERTOS_USE_TICKLESS_IDLE - help - ESP32H2 will reset at wake-up if GPIO is received a small electrostatic pulse during - light sleep, with specific condition - - - GPIO needs to be configured as input-mode only - - The pin receives a small electrostatic pulse, and reset occurs when the pulse - voltage is higher than 6 V - - For GPIO set to input mode only, it is not a good practice to leave it open/floating, - The hardware design needs to controlled it with determined supply or ground voltage - is necessary. - - This option provides a software workaround for this issue. Configure to isolate all - GPIO pins in sleep state. - endmenu # ESP32H2-Specific diff --git a/components/esp_hw_support/Kconfig b/components/esp_hw_support/Kconfig index 2a2b6eaa33..0341eb5db8 100644 --- a/components/esp_hw_support/Kconfig +++ b/components/esp_hw_support/Kconfig @@ -38,10 +38,10 @@ menu "Hardware Settings" config ESP_SLEEP_GPIO_RESET_WORKAROUND bool "light sleep GPIO reset workaround" - default y if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 + default y if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 || IDF_TARGET_ESP32H2 select PM_SLP_DISABLE_GPIO if FREERTOS_USE_TICKLESS_IDLE help - esp32c3 and esp32s3 will reset at wake-up if GPIO is received a small electrostatic + esp32c3, esp32s3 and esp32h2 will reset at wake-up if GPIO is received a small electrostatic pulse during light sleep, with specific condition - GPIO needs to be configured as input-mode only