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:
Gerard Marull-Paretas 2024-12-17 10:50:41 +01:00 committed by Benjamin Cabé
parent 87c6693f43
commit 5504fefb0d

View file

@ -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