2015-07-10 06:01:56 -07:00
|
|
|
@echo off
|
|
|
|
|
2019-04-12 12:07:17 -07:00
|
|
|
call compile.bat
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
rem svn info > ../firmware_binary/version.txt
|
|
|
|
rem cp config/features.h ../firmware_binary
|
|
|
|
rem cp build/rusefi.hex ../firmware_binary
|
|
|
|
rem cp build/rusefi.elf ../firmware_binary
|
|
|
|
|
|
|
|
rem cp tunerstudio/rusefi.ini ../firmware_binary
|
|
|
|
|
|
|
|
rem cd ../firmware_binary
|
|
|
|
rem del firmaware_binary.zip
|
|
|
|
rem 7z a firmaware_binary.zip rusefi.hex rusefi.ini features.h flash.bat
|
|
|
|
rem cd ../firmware
|
|
|
|
|
|
|
|
|
2017-03-12 14:30:02 -07:00
|
|
|
echo Looking at size
|
2015-07-10 06:01:56 -07:00
|
|
|
arm-none-eabi-size --format=berkeley "build\rusefi.elf"
|
2019-07-14 12:00:56 -07:00
|
|
|
echo Compiler gcc version
|
2015-07-10 06:01:56 -07:00
|
|
|
arm-none-eabi-gcc -v
|
|
|
|
|
2017-03-12 14:30:02 -07:00
|
|
|
echo Have the file, let's program the board right away
|
2017-02-16 20:08:04 -08:00
|
|
|
call flash_openocd
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2017-03-12 14:30:02 -07:00
|
|
|
echo Done flashing
|