2020-04-27 00:10:03 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2022-11-02 06:09:22 -04:00
|
|
|
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
|
|
|
|
|
2020-04-27 00:10:03 -04:00
|
|
|
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
|
2020-04-27 00:10:03 -04:00
|
|
|
default 19 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
2022-11-02 06:09:22 -04:00
|
|
|
default 6
|
2020-04-27 00:10:03 -04:00
|
|
|
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
|
2020-04-27 00:10:03 -04:00
|
|
|
default 18 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
2022-11-02 06:09:22 -04:00
|
|
|
default 5
|
2020-04-27 00:10:03 -04:00
|
|
|
help
|
|
|
|
GPIO number for I2C Master data line.
|
|
|
|
|
|
|
|
endmenu
|