Merge branch 'ci/enable_i2c_test_v4.3' into 'release/v4.3'

I2C: enable all unit test for i2c on esp32c3 (backport 4.3)

See merge request espressif/esp-idf!13061
This commit is contained in:
Michael (XIAO Xufeng)
2021-04-28 15:00:20 +00:00
5 changed files with 73 additions and 13 deletions

View File

@@ -892,6 +892,7 @@ static inline void i2c_ll_slave_init(i2c_dev_t *hw)
ctrl_reg.sda_force_out = 1;
ctrl_reg.scl_force_out = 1;
hw->ctr.val = ctrl_reg.val;
hw->ctr.slv_tx_auto_start_en = 1;
hw->fifo_conf.fifo_addr_cfg_en = 0;
}