esp-idf/examples/peripherals/i2c/i2c_simple/main/Kconfig.projbuild

22 lines
678 B
Plaintext
Raw Normal View History

menu "Example Configuration"
2022-11-02 06:09:22 -04:00
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
config I2C_MASTER_SCL
int "SCL GPIO Num"
2022-11-02 06:09:22 -04:00
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 19 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
2023-01-10 01:43:07 -05:00
default 2
help
GPIO number for I2C Master clock line.
config I2C_MASTER_SDA
int "SDA GPIO Num"
2022-11-02 06:09:22 -04:00
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 18 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
2023-01-10 01:43:07 -05:00
default 1
help
GPIO number for I2C Master data line.
endmenu