fome-fw/firmware/config/boards/STM32F407VET6_Mini.bat

14 lines
667 B
Batchfile
Raw Normal View History

2019-01-25 20:42:49 -08:00
echo "Compiling for https://rusefi.com/forum/viewtopic.php?f=4&t=1498"
cd ../..
2019-01-26 09:13:35 -08:00
rem TODO: somehow this -DDUMMY is helping us to not mess up the parameters, why?!
rem https://github.com/rusefi/rusefi/issues/684
2019-01-27 14:53:11 -08:00
rem this board has only 512K flash so using custom FLASH_ADDR
rem You probably want "flash0 : org = 0x08000000, len = 450K" in the .ld file
2019-01-30 14:44:34 -08:00
set EXTRA_PARAMS="-DDUMMY -DEFI_COMMUNICATION_PIN=GPIOB_9 -DSTM32_HSECLK=25000000U -DSTM32_PLLM_VALUE=25 -DSTM32_RTCPRE_VALUE=25 -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS -DFLASH_ADDR=0x08075000"
2019-01-26 09:13:35 -08:00
make -j8 clean
make -j8
rm -f build/rusefi.dfu
dir build
2019-01-25 20:42:49 -08:00
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu