From a5fe7bb2810dd5ff23a8db9af826640d862bb028 Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Fri, 10 Jun 2022 15:07:10 +0530 Subject: [PATCH] tools/unit_test_app: add targets specific configs for "aes_no_hw" In ESP32-C2, there is no hardware AES and hence this config is not required --- tools/unit-test-app/configs/aes_no_hw | 2 +- tools/unit-test-app/configs/aes_no_hw_c3 | 5 +++++ tools/unit-test-app/configs/aes_no_hw_s2 | 5 +++++ tools/unit-test-app/configs/aes_no_hw_s3 | 5 +++++ 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tools/unit-test-app/configs/aes_no_hw_c3 create mode 100644 tools/unit-test-app/configs/aes_no_hw_s2 create mode 100644 tools/unit-test-app/configs/aes_no_hw_s3 diff --git a/tools/unit-test-app/configs/aes_no_hw b/tools/unit-test-app/configs/aes_no_hw index b9c75414e8..43b13b84a0 100644 --- a/tools/unit-test-app/configs/aes_no_hw +++ b/tools/unit-test-app/configs/aes_no_hw @@ -1,4 +1,4 @@ -# This config is for all targets +CONFIG_IDF_TARGET="esp32" TEST_EXCLUDE_COMPONENTS=bt app_update test_utils TEST_COMPONENTS=mbedtls CONFIG_MBEDTLS_HARDWARE_AES=n diff --git a/tools/unit-test-app/configs/aes_no_hw_c3 b/tools/unit-test-app/configs/aes_no_hw_c3 new file mode 100644 index 0000000000..0c4c811177 --- /dev/null +++ b/tools/unit-test-app/configs/aes_no_hw_c3 @@ -0,0 +1,5 @@ +CONFIG_IDF_TARGET="esp32c3" +TEST_EXCLUDE_COMPONENTS=bt app_update test_utils +TEST_COMPONENTS=mbedtls +CONFIG_MBEDTLS_HARDWARE_AES=n +CONFIG_MBEDTLS_MPI_USE_INTERRUPT=n diff --git a/tools/unit-test-app/configs/aes_no_hw_s2 b/tools/unit-test-app/configs/aes_no_hw_s2 new file mode 100644 index 0000000000..d180c5169d --- /dev/null +++ b/tools/unit-test-app/configs/aes_no_hw_s2 @@ -0,0 +1,5 @@ +CONFIG_IDF_TARGET="esp32s2" +TEST_EXCLUDE_COMPONENTS=bt app_update test_utils +TEST_COMPONENTS=mbedtls +CONFIG_MBEDTLS_HARDWARE_AES=n +CONFIG_MBEDTLS_MPI_USE_INTERRUPT=n diff --git a/tools/unit-test-app/configs/aes_no_hw_s3 b/tools/unit-test-app/configs/aes_no_hw_s3 new file mode 100644 index 0000000000..a33e4669aa --- /dev/null +++ b/tools/unit-test-app/configs/aes_no_hw_s3 @@ -0,0 +1,5 @@ +CONFIG_IDF_TARGET="esp32s3" +TEST_EXCLUDE_COMPONENTS=bt app_update test_utils +TEST_COMPONENTS=mbedtls +CONFIG_MBEDTLS_HARDWARE_AES=n +CONFIG_MBEDTLS_MPI_USE_INTERRUPT=n