mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/h2_i2c1_no_signal_v5.1' into 'release/v5.1'
fix(i2c): I2C port 1 doesn't work on esp32h2 (backport v5.1) See merge request espressif/esp-idf!26459
This commit is contained in:
commit
0f51501495
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2020-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -19,4 +19,12 @@ const i2c_signal_conn_t i2c_periph_signal[SOC_I2C_NUM] = {
|
||||
.irq = ETS_I2C_EXT0_INTR_SOURCE,
|
||||
.module = PERIPH_I2C0_MODULE,
|
||||
},
|
||||
{
|
||||
.sda_out_sig = I2CEXT1_SDA_OUT_IDX,
|
||||
.sda_in_sig = I2CEXT1_SDA_IN_IDX,
|
||||
.scl_out_sig = I2CEXT1_SCL_OUT_IDX,
|
||||
.scl_in_sig = I2CEXT1_SCL_IN_IDX,
|
||||
.irq = ETS_I2C_EXT1_INTR_SOURCE,
|
||||
.module = PERIPH_I2C1_MODULE,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user