diff --git a/IDE/Espressif/ESP-IDF/test/CMakeLists.txt b/IDE/Espressif/ESP-IDF/test/CMakeLists.txt index a514e9b2e..ad31c5d98 100644 --- a/IDE/Espressif/ESP-IDF/test/CMakeLists.txt +++ b/IDE/Espressif/ESP-IDF/test/CMakeLists.txt @@ -1,6 +1,6 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNO_MAIN_DRIVER -DWOLFSSL_USER_SETTINGS") -set(COMPONENT_SRCDIRS ".") +set(COMPONENT_SRCS "test_wolfssl.c" "../wolfcrypt/test/test.c") set(COMPONENT_ADD_INCLUDEDIRS ".") set(COMPONENT_REQUIRES unity test_utils wolfssl) diff --git a/IDE/Espressif/ESP-IDF/test/README.md b/IDE/Espressif/ESP-IDF/test/README.md index 7b32de6e9..6b2383fee 100644 --- a/IDE/Espressif/ESP-IDF/test/README.md +++ b/IDE/Espressif/ESP-IDF/test/README.md @@ -3,9 +3,8 @@ The test contains of wolfSSL unit-test app on Unity. When you want to run the app -1. Copy *test.c* file at /path/to/esp-idf/components/wolfssl/wolfcrypt/test/ folder to the wolfssl/test folder -2. Go to /esp-idf/tools/unit-test-app/ folder -3. "idf.py menuconfig" to configure unit test app. -4. "idf.py -T wolfssl build" to build wolfssl unit test app. +1. Go to /esp-idf/tools/unit-test-app/ folder +2. "idf.py menuconfig" to configure unit test app. +3. "idf.py -T wolfssl build" to build wolfssl unit test app. See [https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/unit-tests.html] for more information about unit test app.