2018-11-16 04:40:06 -08:00
|
|
|
rem
|
|
|
|
rem STM32F767 version of the firmware for Nucleo-F767ZI board
|
|
|
|
rem
|
|
|
|
|
|
|
|
cd ../../..
|
2019-04-19 10:38:13 -07:00
|
|
|
set PROJECT_BOARD=nucleo_f767
|
2019-04-19 10:52:13 -07:00
|
|
|
set PROJECT_CPU=ARCH_STM32F7
|
2019-02-06 15:53:43 -08:00
|
|
|
set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
|
|
|
|
-DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^
|
2019-02-24 06:39:25 -08:00
|
|
|
-DEFI_COMMUNICATION_PIN=GPIOB_7 ^
|
2019-02-24 06:49:46 -08:00
|
|
|
-DEFI_FATAL_ERROR_PIN=GPIOB_14 ^
|
2019-02-06 15:53:43 -08:00
|
|
|
-DEFI_ENABLE_ASSERTS=FALSE ^
|
|
|
|
-DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE
|
2018-11-16 04:40:06 -08:00
|
|
|
set DEBUG_LEVEL_OPT="-O2"
|
2019-02-23 15:00:56 -08:00
|
|
|
make -j4
|
2019-04-19 10:38:13 -07:00
|
|
|
if not exist build/rusefi.hex echo FAILED to compile nucleo_f767
|
|
|
|
if not exist build/rusefi.hex exit -1
|
|
|
|
|
2019-04-13 16:55:18 -07:00
|
|
|
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu
|
|
|
|
|
|
|
|
rem Clean up so that no one inherits this value
|
|
|
|
set PROJECT_BOARD=
|
2019-04-19 11:16:34 -07:00
|
|
|
set PROJECT_CPU=
|
2019-04-13 16:55:18 -07:00
|
|
|
set EXTRA_PARAMS=
|
|
|
|
set DEBUG_LEVEL_OPT=
|
|
|
|
set USE_BOOTLOADER=
|