This commit is contained in:
parent
ce1753ab07
commit
62b2e3c951
|
@ -19,7 +19,10 @@ if not exist flash_erase407.bat echo NOT FOUND flash_erase.bat
|
||||||
if not exist flash_erase407.bat exit -1
|
if not exist flash_erase407.bat exit -1
|
||||||
echo build_current_bundle.bat: Erasing chip
|
echo build_current_bundle.bat: Erasing chip
|
||||||
pwd
|
pwd
|
||||||
|
rem Using magic 'cd' system variable here
|
||||||
|
set "cur_folder=%cd%"
|
||||||
call flash_erase407.bat
|
call flash_erase407.bat
|
||||||
|
cd %cur_folder%
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,14 @@ echo I am hw_test.bat
|
||||||
pwd
|
pwd
|
||||||
|
|
||||||
cd firmware
|
cd firmware
|
||||||
|
rem Using magic 'cd' system variable here
|
||||||
|
set "cur_folder=%cd%"
|
||||||
call flash_erase407.bat
|
call flash_erase407.bat
|
||||||
rem This script depends on someone else building firmware
|
rem This script depends on someone else building firmware
|
||||||
call flash_openocd407.bat
|
call flash_openocd407.bat
|
||||||
|
|
||||||
|
cd %cur_folder%
|
||||||
|
|
||||||
if not exist build/rusefi.bin echo FIRMWARE NOT FOUND
|
if not exist build/rusefi.bin echo FIRMWARE NOT FOUND
|
||||||
if not exist build/rusefi.bin exit -1
|
if not exist build/rusefi.bin exit -1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue