From 9fe071fe73855ec960d02d14ad37e4d2021f0ed5 Mon Sep 17 00:00:00 2001 From: gojimmypi Date: Sun, 22 Oct 2023 16:21:06 +0200 Subject: [PATCH] Espressif remove pre-existing /include/user_settings.h during compile all. --- IDE/Espressif/ESP-IDF/compileAllExamples.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IDE/Espressif/ESP-IDF/compileAllExamples.sh b/IDE/Espressif/ESP-IDF/compileAllExamples.sh index bc8dff785..536dc295c 100755 --- a/IDE/Espressif/ESP-IDF/compileAllExamples.sh +++ b/IDE/Espressif/ESP-IDF/compileAllExamples.sh @@ -62,6 +62,9 @@ if [[ "$RUN_SETUP" == "--run-setup" ]]; then echo "Testing a build of wolfSSL in ESP-IDF components directory" echo "" for file in "test_idf"; do + if [ -e "../../../include/user_settings.h" ]; then + mv "../../../include/user_settings.h" "../../../include/user_settings.h.${file}.bak" + fi pushd ${SCRIPT_DIR}/examples/wolfssl_${file}/ && idf.py fullclean build; THIS_ERR=$? popd