diff --git a/firmware/clean_compile_two_versions.bat b/firmware/clean_compile_two_versions.bat index 83dfc9ce33..03e6aeeae9 100644 --- a/firmware/clean_compile_two_versions.bat +++ b/firmware/clean_compile_two_versions.bat @@ -8,18 +8,20 @@ make -j4 DEBUG_LEVEL_OPT='-O2' EXTRA_PARAMS='-DEFI_ENABLE_ASSERTS=FALSE -DCH_DB rem mv build\rusefi.elf deliver\rusefi_no_asserts.elf mv build\rusefi.bin deliver\rusefi_no_asserts.bin -rem mv build\rusefi.hex deliver\rusefi_no_asserts.hex +rem this file is needed for DFU generation +mv build\rusefi.hex deliver\rusefi_no_asserts.hex echo Release compilation results 1/2 echo "TIMESTAMP %date% %time%" ls -l build -if not exist deliver/rusefi_no_asserts.bin echo FAILED to compile NO ASSERTS version -if not exist deliver/rusefi_no_asserts.bin exit -1 +if not exist deliver/rusefi_no_asserts.hex echo FAILED to compile NO ASSERTS version +if not exist deliver/rusefi_no_asserts.hex exit -1 call clean.bat echo "TIMESTAMP %date% %time%" make -j4 mv build\rusefi.elf deliver\rusefi.elf +rem this file is needed for DFU generation mv build\rusefi.hex deliver\rusefi.hex rem Keeping file in place since hw_test.bat would take it from current location cp build\rusefi.bin deliver\rusefi.bin diff --git a/misc/jenkins/build_working_folder.bat b/misc/jenkins/build_working_folder.bat index 7ef8069d24..156d6894fd 100644 --- a/misc/jenkins/build_working_folder.bat +++ b/misc/jenkins/build_working_folder.bat @@ -15,7 +15,8 @@ cp firmware/svnversion.h %folder% cp -r misc/install/openocd %folder% cp java_console/rusefi.xml %folder% rem 407 has additional version of firmware -cp firmware/deliver/rusefi_no_asserts.* %folder% +cp firmware/deliver/rusefi_no_asserts.bin %folder% +cp firmware/deliver/rusefi_no_asserts.dfu %folder% rem 746 builds one version at the moment rem probably not needed cp firmware/build/rusefi.hex %folder% cp firmware/build/rusefi.bin %folder%