From fcddf19afbf3857507e1907ff15ab5bf2a45686c Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 27 Jan 2019 18:04:59 -0500 Subject: [PATCH] actually firmeare is currently about 430KB --- firmware/config/boards/STM32F407VET6_Mini.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/config/boards/STM32F407VET6_Mini.bat b/firmware/config/boards/STM32F407VET6_Mini.bat index 63728aaedb..43c23076f6 100644 --- a/firmware/config/boards/STM32F407VET6_Mini.bat +++ b/firmware/config/boards/STM32F407VET6_Mini.bat @@ -4,7 +4,8 @@ cd ../.. rem TODO: somehow this -DDUMMY is helping us to not mess up the parameters, why?! rem https://github.com/rusefi/rusefi/issues/684 rem this board has only 512K flash so using custom FLASH_ADDR -set EXTRA_PARAMS="-DDUMMY -DEFI_COMMUNICATION_PIN=GPIOB_9 -DSTM32_PLLM_VALUE=25 -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS -DFLASH_ADDR=0x08070000" +rem You probably want "flash0 : org = 0x08000000, len = 450K" in the .ld file +set EXTRA_PARAMS="-DDUMMY -DEFI_COMMUNICATION_PIN=GPIOB_9 -DSTM32_PLLM_VALUE=25 -DDEFAULT_ENGINE_TYPE=MINIMAL_PINS -DFLASH_ADDR=0x08075000" make -j8 clean make -j8 rm -f build/rusefi.dfu