progress but still does not work

This commit is contained in:
rusefi 2019-01-26 12:13:35 -05:00
parent b1d8bf0dbf
commit 6b27afcf00
2 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,11 @@
echo "Compiling for https://rusefi.com/forum/viewtopic.php?f=4&t=1498"
cd ../..
set EXTRA_PARAMS="-DEFI_COMMUNICATION_PIN=GPIOB_9 -DSTM32_PLLM_VALUE=25"
make clean
make
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=GPIOB_9 -DSTM32_PLLM_VALUE=25 -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

@ -5,6 +5,9 @@ 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
rem to read from comtroller use
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