From 409a0acb8862ce20d96e66500b4067fc079d4206 Mon Sep 17 00:00:00 2001 From: gojimmypi <13059545+gojimmypi@users.noreply.github.com> Date: Tue, 29 Mar 2022 16:07:10 -0700 Subject: [PATCH] fine tuning on wolfcrypt\test\test_paths.h --- IDE/Espressif/ESP-IDF/setup_win.bat | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/IDE/Espressif/ESP-IDF/setup_win.bat b/IDE/Espressif/ESP-IDF/setup_win.bat index 4b514a6f9..d5e125832 100644 --- a/IDE/Espressif/ESP-IDF/setup_win.bat +++ b/IDE/Espressif/ESP-IDF/setup_win.bat @@ -201,9 +201,12 @@ echo Copying files to %WOLFSSLLIB_TRG_DIR%\wolfcrypt\test\ xcopy %BASEDIR%\wolfcrypt\test %WOLFSSLLIB_TRG_DIR%\wolfcrypt\test\ /S /E /Q /Y if %errorlevel% NEQ 0 SET COPYERROR=true -rem Copy dummy test_paths.h to handle the case configure hasn't yet executed -echo F |xcopy %WOLFSSL_ESPIDFDIR%\dummy_test_paths.h %WOLFSSLLIB_TRG_DIR%\wolfcrypt\test\test_paths.h /S /E /Y -xcopy %WOLFSSL_ESPIDFDIR%\dummy_test_paths.h %WOLFSSLIB_TRG_DIR%\wolfcrypt\test\test_paths.h /S /E /Y +:: Copy dummy test_paths.h to handle the case configure hasn't yet executed +echo; +echo Copying dummy_test_paths.h to %WOLFSSLLIB_TRG_DIR%\wolfcrypt\test\test_paths.h +echo new config > %WOLFSSLLIB_TRG_DIR%\wolfcrypt\test\test_paths.h +if %errorlevel% NEQ 0 SET COPYERROR=true +xcopy %WOLFSSL_ESPIDFDIR%\dummy_test_paths.h %WOLFSSLLIB_TRG_DIR%\wolfcrypt\test\test_paths.h /S /E /Y if %errorlevel% NEQ 0 SET COPYERROR=true echo;