diff --git a/.gitlab/ci/target-test.yml b/.gitlab/ci/target-test.yml index fdc72a17a4..51f802479e 100644 --- a/.gitlab/ci/target-test.yml +++ b/.gitlab/ci/target-test.yml @@ -428,7 +428,7 @@ component_ut_test_esp32c3: UT_001: extends: .unit_test_esp32_template - parallel: 49 + parallel: 50 tags: - ESP32_IDF - UT_T1_1 @@ -540,20 +540,6 @@ UT_022: - UT_T2_I2C - psram -UT_023: - extends: .unit_test_esp32_template - parallel: 2 - tags: - - ESP32_IDF - - UT_T1_MCPWM - -UT_024: - extends: .unit_test_esp32_template - tags: - - ESP32_IDF - - UT_T1_MCPWM - - psram - UT_028: extends: .unit_test_esp32_template tags: diff --git a/components/driver/CMakeLists.txt b/components/driver/CMakeLists.txt index fcac19fe12..07a683a832 100644 --- a/components/driver/CMakeLists.txt +++ b/components/driver/CMakeLists.txt @@ -59,6 +59,7 @@ if(${target} STREQUAL "esp32s3") "gdma.c" "sdmmc_host.c" "sdmmc_transaction.c" + "mcpwm.c" "spi_slave_hd.c" "touch_sensor_common.c" ) diff --git a/components/driver/include/driver/mcpwm.h b/components/driver/include/driver/mcpwm.h index 8774941e48..7c41efc5db 100644 --- a/components/driver/include/driver/mcpwm.h +++ b/components/driver/include/driver/mcpwm.h @@ -8,7 +8,6 @@ #include "soc/soc_caps.h" #if SOC_MCPWM_SUPPORTED - #include "esp_err.h" #include "soc/soc.h" #include "driver/gpio.h" @@ -20,7 +19,6 @@ extern "C" { #endif - /** * @brief IO signals for the MCPWM * @@ -130,6 +128,15 @@ typedef enum { MCPWM_SELECT_F2, /*!