2020-07-09 07:27:20 -07:00
|
|
|
#!/bin/bash
|
2020-07-01 11:09:01 -07:00
|
|
|
|
|
|
|
# STM32F767 version of the firmware for Nucleo-F767ZI board
|
|
|
|
|
|
|
|
SCRIPT_NAME="compile_nucleo_f767.sh"
|
|
|
|
echo "Entering $SCRIPT_NAME"
|
|
|
|
|
2022-07-11 01:30:49 -07:00
|
|
|
# Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
|
|
|
|
|
2020-07-01 11:09:01 -07:00
|
|
|
export EXTRA_PARAMS="-DDUMMY -DSTM32F767xx \
|
2022-04-28 14:32:39 -07:00
|
|
|
-DEFI_INJECTOR_PIN3=Gpio::Unassigned \
|
2022-07-11 01:30:49 -07:00
|
|
|
-DSTM32_HSE_BYPASS=TRUE \
|
2020-07-01 11:09:01 -07:00
|
|
|
-DFIRMWARE_ID=\\\"nucleo767\\\" \
|
2022-04-28 14:32:39 -07:00
|
|
|
-DEFI_COMMUNICATION_PIN=Gpio::B7 \
|
|
|
|
-DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14 \
|
2020-07-01 11:09:01 -07:00
|
|
|
-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"
|
|
|
|
|
2022-04-18 16:05:27 -07:00
|
|
|
bash ../common_make.sh nucleo_f767 ARCH_STM32F7
|