Skip to content

Commit

Permalink
Merge branch 'bugfix/h2_i2c1_no_signal' into 'master'
Browse files Browse the repository at this point in the history
fix(i2c): I2C port 1 doesn't work on esp32h2

See merge request espressif/esp-idf!26416
  • Loading branch information
mythbuster5 committed Oct 13, 2023
2 parents 260cfa7 + d7e5435 commit e19324b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion components/soc/esp32h2/i2c_periph.c
Original file line number Diff line number Diff line change
@@ -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
*/
Expand All @@ -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,
},
};

0 comments on commit e19324b

Please sign in to comment.