black board

This commit is contained in:
rusefi 2019-01-26 13:20:01 -05:00
parent 7fcbe43e71
commit c432be2a41
2 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -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