Browse Source

fine tuning on wolfcrypt\test\test_paths.h

gojimmypi 2 years ago
parent
commit
409a0acb88
1 changed files with 6 additions and 3 deletions
  1. 6 3
      IDE/Espressif/ESP-IDF/setup_win.bat

+ 6 - 3
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;