Merge branch 'bugfix/fix_i2c_c2_fifo_len' into 'release/v5.0'

i2c: fix fifo length on esp32c2(backport v5.0)

See merge request espressif/esp-idf!23787
This commit is contained in:
morris 2023-05-19 17:48:50 +08:00
commit f5b0dd48ce
2 changed files with 2 additions and 2 deletions

View File

@ -237,7 +237,7 @@ config SOC_I2C_NUM
config SOC_I2C_FIFO_LEN
int
default 32
default 16
config SOC_I2C_SUPPORT_HW_CLR_BUS
bool

View File

@ -126,7 +126,7 @@
// ESP32-C2 has 1 I2C
#define SOC_I2C_NUM (1U)
#define SOC_I2C_FIFO_LEN (32) /*!< I2C hardware FIFO depth */
#define SOC_I2C_FIFO_LEN (16) /*!< I2C hardware FIFO depth */
// FSM_RST only resets the FSM, not using it. So SOC_I2C_SUPPORT_HW_FSM_RST not defined.
#define SOC_I2C_SUPPORT_HW_CLR_BUS (1)