From ad4b3bc8b309dc3c36d518863040c5f7dc3b4a83 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Wed, 1 Jun 2022 13:27:49 +0700 Subject: [PATCH] ci, config: re-arrange some C3 tests due to code size changes from 2022r1 toolchain --- tools/unit-test-app/configs/default_2_c3 | 4 ++-- tools/unit-test-app/configs/default_3_c3 | 3 +++ tools/unit-test-app/configs/default_c3 | 2 +- tools/unit-test-app/configs/release_c3 | 2 +- tools/unit-test-app/configs/release_c3_2 | 5 +++++ 5 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 tools/unit-test-app/configs/default_3_c3 create mode 100644 tools/unit-test-app/configs/release_c3_2 diff --git a/tools/unit-test-app/configs/default_2_c3 b/tools/unit-test-app/configs/default_2_c3 index 0d035a5316..9a6b1eafd9 100644 --- a/tools/unit-test-app/configs/default_2_c3 +++ b/tools/unit-test-app/configs/default_2_c3 @@ -1,3 +1,3 @@ -# This config is split between targets since different component needs to be excluded (esp32, esp32s2) +# This config is split between targets since different component needs to be excluded CONFIG_IDF_TARGET="esp32c3" -TEST_EXCLUDE_COMPONENTS=bt app_update freertos esp_hw_support esp_ipc esp_pm esp_system esp_timer driver heap pthread soc spi_flash vfs experimental_cpp_component ulp perfmon esp-tls test_utils +TEST_EXCLUDE_COMPONENTS=bt app_update esp_pm freertos esp_hw_support esp_ipc esp_system esp_timer driver heap pthread soc spi_flash vfs lwip spiffs experimental_cpp_component ulp perfmon esp-tls test_utils diff --git a/tools/unit-test-app/configs/default_3_c3 b/tools/unit-test-app/configs/default_3_c3 new file mode 100644 index 0000000000..cf6dc39ae3 --- /dev/null +++ b/tools/unit-test-app/configs/default_3_c3 @@ -0,0 +1,3 @@ +# This config is split between targets since different component needs to be included +CONFIG_IDF_TARGET="esp32c3" +TEST_COMPONENTS=soc spi_flash vfs lwip spiffs diff --git a/tools/unit-test-app/configs/default_c3 b/tools/unit-test-app/configs/default_c3 index 0492136665..199f9b9b73 100644 --- a/tools/unit-test-app/configs/default_c3 +++ b/tools/unit-test-app/configs/default_c3 @@ -1,3 +1,3 @@ # This config is split between targets since different component needs to be included CONFIG_IDF_TARGET="esp32c3" -TEST_COMPONENTS=freertos esp_hw_support esp_ipc esp_system esp_timer driver heap pthread soc spi_flash vfs +TEST_COMPONENTS=freertos esp_hw_support esp_ipc esp_system esp_timer driver heap pthread diff --git a/tools/unit-test-app/configs/release_c3 b/tools/unit-test-app/configs/release_c3 index 1a32a03656..d020583b8e 100644 --- a/tools/unit-test-app/configs/release_c3 +++ b/tools/unit-test-app/configs/release_c3 @@ -1,5 +1,5 @@ CONFIG_IDF_TARGET="esp32c3" -TEST_COMPONENTS=freertos esp_hw_support esp_system esp_ipc esp_timer driver heap pthread soc spi_flash vfs sdmmc +TEST_COMPONENTS=freertos esp_hw_support esp_ipc esp_system esp_timer driver heap pthread CONFIG_COMPILER_OPTIMIZATION_SIZE=y CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y diff --git a/tools/unit-test-app/configs/release_c3_2 b/tools/unit-test-app/configs/release_c3_2 new file mode 100644 index 0000000000..1724898b97 --- /dev/null +++ b/tools/unit-test-app/configs/release_c3_2 @@ -0,0 +1,5 @@ +CONFIG_IDF_TARGET="esp32c3" +TEST_COMPONENTS=soc spi_flash vfs sdmmc +CONFIG_COMPILER_OPTIMIZATION_SIZE=y +CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y +CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y