progress but still does not work
This commit is contained in:
parent
8594a29c6a
commit
ad420c462c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue