samples: boards: espressif: deep_sleep: add missing select GPIO
Kconfigs enabled functionality that requires GPIO, but they did not select GPIO. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
87c6693f43
commit
5504fefb0d
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ mainmenu "Espressif Deep Sleep demo"
|
|||
config EXAMPLE_EXT1_WAKEUP
|
||||
bool "Enable wakeup from GPIO"
|
||||
depends on !SOC_SERIES_ESP32C3
|
||||
select GPIO
|
||||
help
|
||||
This option enables wake-up from deep sleep using GPIO2 and
|
||||
GPIO4. The sample enables internal pull-down on EXT1 pins to
|
||||
|
|
@ -16,6 +17,7 @@ config EXAMPLE_EXT1_WAKEUP
|
|||
config EXAMPLE_GPIO_WAKEUP
|
||||
bool "Enable wakeup from GPIO"
|
||||
depends on SOC_SERIES_ESP32C3
|
||||
select GPIO
|
||||
help
|
||||
This option enables wake-up from GPIO. Only GPIO0~5 can be used
|
||||
as wake-up source. Be aware that when low level is used to trigger
|
||||
|
|
|
|||
Loading…
Reference in a new issue