22 lines
678 B
Plaintext
Raw Normal View History

menu "Example Configuration"
2022-11-02 18:09:22 +08: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 18:09:22 +08: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 14:43:07 +08:00
default 2
help
GPIO number for I2C Master clock line.
config I2C_MASTER_SDA
int "SDA GPIO Num"
2022-11-02 18:09:22 +08: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 14:43:07 +08:00
default 1
help
GPIO number for I2C Master data line.
endmenu