2021-02-05 17:16:10 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# STM32H743 version of the firmware for Nucleo-H743 board
|
|
|
|
|
|
|
|
SCRIPT_NAME="compile_nucleo_h743.sh"
|
|
|
|
echo "Entering $SCRIPT_NAME"
|
|
|
|
|
|
|
|
export PROJECT_BOARD=nucleo_h743
|
|
|
|
export PROJECT_CPU=ARCH_STM32H7
|
2021-02-05 19:10:59 -08:00
|
|
|
export USE_LIS302=no
|
|
|
|
export USE_FATFS=no
|
2021-02-05 17:16:10 -08:00
|
|
|
export EXTRA_PARAMS="-DDUMMY -DSTM32H743xx \
|
|
|
|
-DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED \
|
|
|
|
-DFIRMWARE_ID=\\\"nucleoH743\\\" \
|
|
|
|
-DEFI_COMMUNICATION_PIN=GPIOB_7 \
|
|
|
|
-DSTATUS_LOGGING_BUFFER_SIZE=1400 \
|
|
|
|
-DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOB_14 \
|
|
|
|
-DEFI_ENABLE_ASSERTS=FALSE \
|
|
|
|
-DCH_DBG_ENABLE_CHECKS=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE"
|
|
|
|
export DEBUG_LEVEL_OPT="-O2"
|
|
|
|
|
|
|
|
bash ../common_make.sh
|