mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
i2c: update legacy name ESP8684 to ESP32C2
This commit is contained in:
@@ -54,9 +54,8 @@ struct MasterFixture {
|
|||||||
vector<uint8_t> data;
|
vector<uint8_t> data;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if SOC_I2C_SUPPORT_SALVE
|
|
||||||
// TODO The I2C driver tests are disabled, so disable them here, too. Probably due to no runners.
|
// TODO The I2C driver tests are disabled, so disable them here, too. Probably due to no runners.
|
||||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3, ESP8684)
|
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3, ESP32C2)
|
||||||
|
|
||||||
static void i2c_slave_read_raw_byte(void)
|
static void i2c_slave_read_raw_byte(void)
|
||||||
{
|
{
|
||||||
@@ -259,5 +258,4 @@ TEST_CASE_MULTIPLE_DEVICES("I2CMaster Composed transfer", "[cxx i2c][test_env=UT
|
|||||||
i2c_master_composed_trans, i2c_slave_composed_trans);
|
i2c_master_composed_trans, i2c_slave_composed_trans);
|
||||||
|
|
||||||
#endif //TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3)
|
#endif //TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3)
|
||||||
#endif // SOC_I2C_SUPPORT_SALVE
|
|
||||||
#endif // __cpp_exceptions
|
#endif // __cpp_exceptions
|
||||||
|
@@ -31,7 +31,7 @@ static const char *TAG = "cmd_i2ctools";
|
|||||||
#if CONFIG_IDF_TARGET_ESP32S3
|
#if CONFIG_IDF_TARGET_ESP32S3
|
||||||
static gpio_num_t i2c_gpio_sda = 1;
|
static gpio_num_t i2c_gpio_sda = 1;
|
||||||
static gpio_num_t i2c_gpio_scl = 2;
|
static gpio_num_t i2c_gpio_scl = 2;
|
||||||
#elif CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP8684
|
#elif CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C2
|
||||||
static gpio_num_t i2c_gpio_sda = 5;
|
static gpio_num_t i2c_gpio_sda = 5;
|
||||||
static gpio_num_t i2c_gpio_scl = 6;
|
static gpio_num_t i2c_gpio_scl = 6;
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user