esp-idf/examples/peripherals/gpio/generic_gpio/main/Kconfig.projbuild

36 lines
1.0 KiB
Plaintext
Raw Normal View History

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