28 lines
910 B
Batchfile
28 lines
910 B
Batchfile
rem
|
|
rem STM32F767 version of the firmware for F767ZI chip NOT on Nucleo board, with a real oscilattor
|
|
rem
|
|
|
|
cd ../../..
|
|
set PROJECT_BOARD=nucleo_f767
|
|
set PROJECT_CPU=ARCH_STM32F7
|
|
set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
|
|
-DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^
|
|
-DEFI_COMMUNICATION_PIN=GPIOB_7 ^
|
|
-DEFI_FATAL_ERROR_PIN=GPIOB_14 ^
|
|
-DEFI_ENABLE_ASSERTS=FALSE ^
|
|
-DEFI_USE_OSC=TRUE ^
|
|
-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
|
|
set DEBUG_LEVEL_OPT="-O2"
|
|
make -j4
|
|
if not exist build/rusefi.hex echo FAILED to compile osc_f767
|
|
if not exist build/rusefi.hex exit -1
|
|
|
|
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu
|
|
|
|
rem Clean up so that no one inherits this value
|
|
set PROJECT_BOARD=
|
|
set PROJECT_CPU=
|
|
set EXTRA_PARAMS=
|
|
set DEBUG_LEVEL_OPT=
|
|
set USE_BOOTLOADER=
|