Merge branch 'refactor/driver_ut_to_test_app' into 'master'

CI: Move all UT in driver to test_app

See merge request espressif/esp-idf!23343
This commit is contained in:
C.S.M
2023-04-25 14:10:11 +08:00
51 changed files with 218 additions and 230 deletions

View File

@@ -281,6 +281,7 @@ static inline void i2c_ll_set_tout(i2c_dev_t *hw, int tout)
*
* @return None
*/
__attribute__((always_inline))
static inline void i2c_ll_write_cmd_reg(i2c_dev_t *hw, i2c_ll_hw_cmd_t cmd, int cmd_idx)
{
hw->command[cmd_idx].val = cmd.val;
@@ -483,6 +484,7 @@ static inline void i2c_ll_get_tout(i2c_dev_t *hw, int *timeout)
*
* @return None
*/
__attribute__((always_inline))
static inline void i2c_ll_trans_start(i2c_dev_t *hw)
{
hw->ctr.trans_start = 1;
@@ -781,6 +783,7 @@ static inline void i2c_ll_master_get_event(i2c_dev_t *hw, i2c_intr_event_t *even
*
* @return None
*/
__attribute__((always_inline))
static inline void i2c_ll_master_enable_tx_it(i2c_dev_t *hw)
{
hw->int_clr.val = UINT32_MAX;
@@ -794,6 +797,7 @@ static inline void i2c_ll_master_enable_tx_it(i2c_dev_t *hw)
*
* @return None
*/
__attribute__((always_inline))
static inline void i2c_ll_master_enable_rx_it(i2c_dev_t *hw)
{
hw->int_clr.val = UINT32_MAX;