1# Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd. 2# SPDX-License-Identifier: Apache-2.0 3 4mainmenu "Espressif Deep Sleep demo" 5 6config EXAMPLE_EXT1_WAKEUP 7 bool "Enable wakeup from GPIO" 8 depends on !SOC_SERIES_ESP32C3 9 select GPIO 10 help 11 This option enables wake-up from deep sleep using GPIO2 and 12 GPIO4. The sample enables internal pull-down on EXT1 pins to 13 avoid random wake-ups. Otherwise, external pull-down should 14 be used for the same purpose. To trigger a wake-up, connect 15 one or both of the pins to HIGH. 16 17config EXAMPLE_GPIO_WAKEUP 18 bool "Enable wakeup from GPIO" 19 depends on SOC_SERIES_ESP32C3 20 select GPIO 21 help 22 This option enables wake-up from GPIO. Only GPIO0~5 can be used 23 as wake-up source. Be aware that when low level is used to trigger 24 wake-up, an external pull-up resistance is necessary. 25 26source "Kconfig.zephyr" 27