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"
|
|
|
|
|
2022-07-11 01:30:49 -07:00
|
|
|
# Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
|
|
|
|
|
2021-02-08 13:24:38 -08:00
|
|
|
export EXTRA_PARAMS="-DDUMMY \
|
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 \
|
2021-02-05 17:16:10 -08:00
|
|
|
-DFIRMWARE_ID=\\\"nucleoH743\\\" \
|
2022-04-28 14:32:39 -07:00
|
|
|
-DEFI_COMMUNICATION_PIN=Gpio::B7 \
|
|
|
|
-DLED_CRITICAL_ERROR_BRAIN_PIN=Gpio::B14"
|
2021-02-05 17:16:10 -08:00
|
|
|
export DEBUG_LEVEL_OPT="-O2"
|
|
|
|
|
2022-04-18 16:05:27 -07:00
|
|
|
bash ../common_make.sh nucleo_h743 ARCH_STM32H7
|