Skip to content

Commit 5504fef

Browse files
gmarullkartben
authored andcommitted
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 <[email protected]>
1 parent 87c6693 commit 5504fef

File tree

1 file changed

+2
-0
lines changed
  • samples/boards/espressif/deep_sleep

1 file changed

+2
-0
lines changed

samples/boards/espressif/deep_sleep/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ mainmenu "Espressif Deep Sleep demo"
66
config EXAMPLE_EXT1_WAKEUP
77
bool "Enable wakeup from GPIO"
88
depends on !SOC_SERIES_ESP32C3
9+
select GPIO
910
help
1011
This option enables wake-up from deep sleep using GPIO2 and
1112
GPIO4. The sample enables internal pull-down on EXT1 pins to
@@ -16,6 +17,7 @@ config EXAMPLE_EXT1_WAKEUP
1617
config EXAMPLE_GPIO_WAKEUP
1718
bool "Enable wakeup from GPIO"
1819
depends on SOC_SERIES_ESP32C3
20+
select GPIO
1921
help
2022
This option enables wake-up from GPIO. Only GPIO0~5 can be used
2123
as wake-up source. Be aware that when low level is used to trigger

0 commit comments

Comments
 (0)