better file name & more details

This commit is contained in:
rusefi 2017-03-12 17:30:02 -04:00
parent 76804e8833
commit 1bf7e14012
2 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,8 @@ rem cd build
rem if not exist rusefi.hex echo "compilation failed" rem if not exist rusefi.hex echo "compilation failed"
rem if not exist rusefi.hex exit -1 rem if not exist rusefi.hex exit -1
rem cd .. rem cd ..
if errorlevel 1 goto error if errorlevel 1 echo make compilation failed
if errorlevel 1 exit -1
echo Build complete success. echo Build complete success.
@ -37,14 +38,13 @@ rem Generate human-readable version of the .map memory usage report
java -jar ../../java_tools/gcc_map_reader.jar > ../rusefi_ram_report.txt java -jar ../../java_tools/gcc_map_reader.jar > ../rusefi_ram_report.txt
cd .. cd ..
echo Looking at size
arm-none-eabi-size --format=berkeley "build\rusefi.elf" arm-none-eabi-size --format=berkeley "build\rusefi.elf"
echo Compiler version
arm-none-eabi-gcc -v arm-none-eabi-gcc -v
rem file, let's program the board right away echo Have the file, let's program the board right away
call flash_openocd call flash_openocd
goto end_of_file
:error echo Done flashing
echo Compilation failed
:end_of_file

View File

@ -4,7 +4,7 @@ cd ../firmware
call flash_erase call flash_erase
echo Compiling firmware echo Compiling firmware
pwd pwd
call compile.bat call compile_and_program.bat
if not exist build/rusefi.bin echo FAILED TO COMPILE if not exist build/rusefi.bin echo FAILED TO COMPILE
if not exist build/rusefi.bin exit -1 if not exist build/rusefi.bin exit -1