feat(i2c): support i2c on esp32-c61

This commit is contained in:
laokaiyao
2024-08-05 18:16:57 +08:00
parent cd1178298f
commit 1397e5421e
27 changed files with 1304 additions and 156 deletions

View File

@@ -21,7 +21,6 @@ const i2c_signal_conn_t i2c_periph_signal[SOC_I2C_NUM] = {
.scl_out_sig = I2CEXT0_SCL_OUT_IDX,
.scl_in_sig = I2CEXT0_SCL_IN_IDX,
.irq = ETS_I2C_EXT0_INTR_SOURCE,
.module = PERIPH_I2C0_MODULE,
},
{
.sda_out_sig = 0,
@@ -30,7 +29,6 @@ const i2c_signal_conn_t i2c_periph_signal[SOC_I2C_NUM] = {
.scl_in_sig = 0,
.iomux_func = LP_I2C_MUX_FUNC,
.irq = ETS_LP_I2C_INTR_SOURCE,
.module = PERIPH_LP_I2C0_MODULE,
},
};