diff --git a/firmware/config/boards/STM32F407VET6_Black.bat b/firmware/config/boards/STM32F407VET6_Black.bat new file mode 100644 index 0000000000..cade5c995f --- /dev/null +++ b/firmware/config/boards/STM32F407VET6_Black.bat @@ -0,0 +1,11 @@ + +echo "Compiling for https://rusefi.com/forum/viewtopic.php?f=4&t=1489" +cd ../.. +rem TODO: somehow this -DDUMMY is helping us to not mess up the parameters, why?! +rem https://github.com/rusefi/rusefi/issues/684 +set EXTRA_PARAMS="-DDUMMY -DEFI_COMMUNICATION_PIN=GPIOA_7 -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS" +make -j8 clean +make -j8 +rm -f build/rusefi.dfu +dir build +..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu diff --git a/firmware/flash_dfu.bat b/firmware/flash_dfu.bat index c75562c4ad..198b0d472f 100644 --- a/firmware/flash_dfu.bat +++ b/firmware/flash_dfu.bat @@ -3,7 +3,7 @@ rem on linux that would be rem dfu-util -a 0 -D rusefi_release.dfu -R rem ..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu -rem DfuSeCommand.exe -c -d --fn build/rusefi.dfu +DfuSeCommand.exe -c -d --fn build/rusefi.dfu rem to read from comtroller use rem DfuSeCommand.exe -c -u --fn downloaded.dfu @@ -11,4 +11,4 @@ rem DfuSeCommand.exe -c -u --fn downloaded.dfu rem Note that DfuSe_Demo_V3.0.6_Setup.exe does not install "stm32 bootloader" device drivers automaticaly rem You need to point Windows at a relevant folder inside C:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin\Driver -DfuSeCommand.exe -c -d --fn rusefi.dfu +rem DfuSeCommand.exe -c -d --fn rusefi.dfu