23 lines
591 B
Bash
23 lines
591 B
Bash
#!/bin/bash
|
|
|
|
# STM32F767 version of the firmware for Nucleo-F746ZG board
|
|
|
|
SCRIPT_NAME="compile_nucleo_f746.sh"
|
|
echo "Entering $SCRIPT_NAME"
|
|
|
|
cd ../../..
|
|
export PROJECT_BOARD=nucleo_f746
|
|
export PROJECT_CPU=ARCH_STM32F7
|
|
export EXTRA_PARAMS="-DDUMMY -DSTM32F746xx \
|
|
-DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED \
|
|
-DEFI_COMMUNICATION_PIN=GPIOB_7 \
|
|
-DFIRMWARE_ID=\\\"nucleo746\\\" \
|
|
-DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOB_14 \
|
|
-DEFI_TOOTH_LOGGER=FALSE \
|
|
-DRAM_UNUSED_SIZE=10 \
|
|
-DSTATUS_LOGGING_BUFFER_SIZE=1400 \
|
|
-DCCM_UNUSED_SIZE=10"
|
|
export DEBUG_LEVEL_OPT="-O2"
|
|
bash config/boards/common_make.sh
|
|
|