c'mon I am unable to debug F7 boards :( #5815

This commit is contained in:
rusefillc 2023-12-18 16:07:14 -05:00
parent ff97cb80f8
commit f5d2da5ee8
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#!/bin/bash
# STM32F767 version of the firmware for Nucleo-F767ZI board
SCRIPT_NAME="compile_nucleo_f767.sh"
echo "Entering $SCRIPT_NAME"
# Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
export USE_FATFS=no
export EXTRA_PARAMS="-DSTM32F767xx \
-DEFI_INJECTOR_PIN3=Gpio::Unassigned \
-DSTM32_HSE_BYPASS=TRUE \
-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 EXTRA_PARAMS="-DEFI_LUA=FALSE"
export DEBUG_LEVEL_OPT="-O0 -ggdb -g -Wl,--defsym=FLASH_SIZE=768k"
export INCLUDE_ELF=yes
bash ../common_make.sh nucleo_f767 ARCH_STM32F7

View File

@ -9,6 +9,7 @@
# ./gen_config_board.sh config/boards/hellen/uaefi uaefi
# ./gen_config_board.sh config/boards/hellen/small-can-board small-can-board
# ./gen_config_board.sh config/boards/f407-discovery f407-discovery
# ./gen_config_board.sh config/boards/nucleo_f767 nucleo_f767
# which is short for ./gen_config_board.sh config/boards/hellen/hellen128 hellen128 rusefi_hellen128.ini
set -e