2017-01-27 16:00:31 +00:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2020-04-22 14:46:23 +00:00
|
|
|
config EXAMPLE_TOUCH_WAKEUP
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "Enable touch wake up"
|
|
|
|
default y
|
2021-01-16 05:53:43 +00:00
|
|
|
depends on !IDF_TARGET_ESP32C3
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
|
|
|
This option enables wake up from deep sleep using touch pads
|
|
|
|
TOUCH8 and TOUCH9, which correspond to GPIO33 and GPIO32.
|
2017-01-27 16:00:31 +00:00
|
|
|
|
2020-04-22 14:46:23 +00:00
|
|
|
config EXAMPLE_ULP_TEMPERATURE_WAKEUP
|
2019-01-25 16:10:53 +00:00
|
|
|
bool "Enable temperature monitoring by ULP"
|
|
|
|
default y
|
2021-01-16 05:53:43 +00:00
|
|
|
depends on IDF_TARGET_ESP32
|
2019-01-25 16:10:53 +00:00
|
|
|
help
|
|
|
|
This option enables wake up from deep sleep using ULP.
|
|
|
|
ULP program monitors the on-chip temperature sensor and
|
|
|
|
wakes up the chip when the temperature goes outside of
|
|
|
|
the window defined by the initial temperature and a threshold
|
|
|
|
around it.
|
2017-01-27 16:00:31 +00:00
|
|
|
|
2020-04-22 14:46:23 +00:00
|
|
|
config EXAMPLE_EXT1_WAKEUP
|
|
|
|
bool "Enable wakeup from GPIO"
|
|
|
|
default y
|
2021-01-16 05:53:43 +00:00
|
|
|
depends on !IDF_TARGET_ESP32C3
|
2020-04-22 14:46:23 +00:00
|
|
|
help
|
|
|
|
This option enables wake up from deep sleep from GPIO2 and GPIO4. They should be connected to LOW to avoid
|
|
|
|
floating pins. When triggering a wake up, connect one or both of the pins to HIGH. Note that floating
|
|
|
|
pins may trigger a wake up.
|
|
|
|
|
2021-02-05 09:10:44 +00:00
|
|
|
config EXAMPLE_GPIO_WAKEUP
|
|
|
|
bool "Enable wakeup from GPIO"
|
|
|
|
default y
|
|
|
|
depends on IDF_TARGET_ESP32C3
|
|
|
|
help
|
|
|
|
This option enables wake up from GPIO, only GPIO0~5 can be used to wake up. Be aware that if you use low level
|
|
|
|
to trigger wakeup, we strongly recommand you to connect external pull-up resistance.
|
|
|
|
|
|
|
|
menu "GPIO wakeup configuration"
|
|
|
|
visible if IDF_TARGET_ESP32C3
|
|
|
|
|
|
|
|
config EXAMPLE_GPIO_WAKEUP_PIN
|
|
|
|
int "Enable wakeup from GPIO"
|
|
|
|
default 0
|
|
|
|
range 0 5
|
|
|
|
|
|
|
|
config EXAMPLE_GPIO_WAKEUP_HIGH_LEVEL
|
|
|
|
bool "Enable GPIO high-level wakeup"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option set the gpio wake-up trigger signal, In deep sleep, only high or low level wake-up is
|
|
|
|
supported. If this option is enabled, it is a high level wake up, otherwise it is a low level wake up.
|
|
|
|
endmenu
|
|
|
|
|
2020-04-22 14:46:23 +00:00
|
|
|
endmenu
|