test(i2c): Re-enable i2c test on esp32c5

This commit is contained in:
C.S.M
2025-05-12 15:48:52 +08:00
parent 7cf5dacd4a
commit c758af714a
3 changed files with 27 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ extern "C" {
#if CONFIG_IDF_TARGET_ESP32P4
#define LP_I2C_SCL_IO 4
#define LP_I2C_SDA_IO 5
#elif CONFIG_IDF_TARGET_ESP32C5
#define LP_I2C_SCL_IO 3
#define LP_I2C_SDA_IO 2
#else
#define LP_I2C_SCL_IO 7
#define LP_I2C_SDA_IO 6