This commit is contained in:
rusefi 2019-02-21 13:30:27 -05:00
parent e3e9bde150
commit 7476941017
2 changed files with 7 additions and 0 deletions

View File

@ -19,7 +19,10 @@ if not exist flash_erase407.bat echo NOT FOUND flash_erase.bat
if not exist flash_erase407.bat exit -1
echo build_current_bundle.bat: Erasing chip
pwd
rem Using magic 'cd' system variable here
set "cur_folder=%cd%"
call flash_erase407.bat
cd %cur_folder%
pwd

View File

@ -2,10 +2,14 @@ echo I am hw_test.bat
pwd
cd firmware
rem Using magic 'cd' system variable here
set "cur_folder=%cd%"
call flash_erase407.bat
rem This script depends on someone else building firmware
call flash_openocd407.bat
cd %cur_folder%
if not exist build/rusefi.bin echo FIRMWARE NOT FOUND
if not exist build/rusefi.bin exit -1