2021-10-26 23:56:56 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2022-04-20 05:02:26 -04:00
|
|
|
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
|
|
|
|
|
2021-10-26 23:56:56 -04:00
|
|
|
config GPIO_OUTPUT_0
|
|
|
|
int "GPIO output pin 0"
|
2022-04-20 05:02:26 -04:00
|
|
|
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
|
2024-02-20 01:57:25 -05:00
|
|
|
default 8 if IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 || IDF_TARGET_ESP32C5
|
2022-09-27 03:18:40 -04:00
|
|
|
default 18
|
2021-10-26 23:56:56 -04:00
|
|
|
help
|
|
|
|
GPIO pin number to be used as GPIO_OUTPUT_IO_0.
|
|
|
|
|
|
|
|
config GPIO_OUTPUT_1
|
|
|
|
int "GPIO output pin 1"
|
2022-04-20 05:02:26 -04:00
|
|
|
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
|
2024-02-20 01:57:25 -05:00
|
|
|
default 9 if IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2 || IDF_TARGET_ESP32C5
|
2022-09-27 03:18:40 -04:00
|
|
|
default 19
|
2021-10-26 23:56:56 -04:00
|
|
|
help
|
|
|
|
GPIO pin number to be used as GPIO_OUTPUT_IO_1.
|
|
|
|
|
|
|
|
config GPIO_INPUT_0
|
|
|
|
int "GPIO input pin 0"
|
2022-04-20 05:02:26 -04:00
|
|
|
range ENV_GPIO_RANGE_MIN ENV_GPIO_IN_RANGE_MAX
|
2021-10-26 23:56:56 -04:00
|
|
|
default 4
|
|
|
|
help
|
|
|
|
GPIO pin number to be used as GPIO_INPUT_IO_0.
|
|
|
|
|
|
|
|
config GPIO_INPUT_1
|
|
|
|
int "GPIO input pin 1"
|
2022-04-20 05:02:26 -04:00
|
|
|
range ENV_GPIO_RANGE_MIN ENV_GPIO_IN_RANGE_MAX
|
2021-10-26 23:56:56 -04:00
|
|
|
default 5
|
|
|
|
help
|
|
|
|
GPIO pin number to be used as GPIO_INPUT_IO_1.
|
|
|
|
|
|
|
|
endmenu
|