2019-06-08 17:01:19 -07:00
|
|
|
set script_name=common_make.bat
|
|
|
|
echo Entering %script_name%
|
|
|
|
|
2019-06-08 18:39:01 -07:00
|
|
|
mkdir .dep
|
2019-06-08 17:01:19 -07:00
|
|
|
rem todo: start using env variable for number of threads or for '-r'
|
2019-06-08 18:26:08 -07:00
|
|
|
make -j4 -r
|
2019-07-07 00:48:28 -07:00
|
|
|
if not exist build/rusefi.hex echo FAILED to compile by %script_name% with %PROJECT_BOARD% %DEBUG_LEVEL_OPT% and %EXTRA_PARAMS%
|
2019-06-08 17:01:19 -07:00
|
|
|
if not exist build/rusefi.hex exit -1
|
|
|
|
|
2019-06-08 19:05:52 -07:00
|
|
|
rm -f build/rusefi.dfu
|
2019-06-08 18:39:01 -07:00
|
|
|
echo %script_name%: invoking hex2dfu.exe
|
|
|
|
..\misc\encedo_hex2dfu\hex2dfu.exe -i build/rusefi.hex -o build/rusefi.dfu
|