custom-board-bundle-sample-.../firmware/config/boards/nucleo_f767/!compile-stm32f767_nucleo.bat

25 lines
825 B
Batchfile
Raw Normal View History

rem
rem STM32F767 version of the firmware for Nucleo-F767ZI board
rem
2019-06-07 16:54:15 -07:00
set script_name=!compile-nucleo_f767.bat
2019-06-07 16:50:46 -07:00
echo Entering %script_name%
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
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
2019-06-08 12:08:03 -07:00
call config/boards/clean_env_variables.bat