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

18 lines
607 B
Plaintext
Raw Normal View History

menu "Example Configuration"
config I2C_MASTER_SCL
int "SCL GPIO Num"
2022-01-04 06:48:12 -05:00
default 6 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
default 19 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
help
GPIO number for I2C Master clock line.
config I2C_MASTER_SDA
int "SDA GPIO Num"
2022-01-04 06:48:12 -05:00
default 5 if IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32C2 || IDF_TARGET_ESP32H2
default 18 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
help
GPIO number for I2C Master data line.
endmenu