This commit is contained in:
parent
e3e9bde150
commit
7476941017
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue