soc_caps: remove SOC_GPIO_SUPPORT_SLP_SWITCH

all esp chips support this feature
This commit is contained in:
jingli
2023-02-11 01:06:18 +00:00
committed by morris
parent 254efe402e
commit 557a1ed1a5
24 changed files with 8 additions and 78 deletions
-4
View File
@@ -33,8 +33,6 @@
static const char *TAG = "sleep";
#if SOC_GPIO_SUPPORT_SLP_SWITCH
#if CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL
void gpio_sleep_mode_config_apply(void)
{
@@ -109,8 +107,6 @@ void esp_sleep_enable_gpio_switch(bool enable)
}
}
#endif // SOC_GPIO_SUPPORT_SLP_SWITCH
// TODO: IDF-6051, IDF-6052
#if !CONFIG_IDF_TARGET_ESP32H4 && !CONFIG_IDF_TARGET_ESP32C6 && !CONFIG_IDF_TARGET_ESP32H2
IRAM_ATTR void esp_sleep_isolate_digital_gpio(void)