let's build for h7
This commit is contained in:
parent
08931afb07
commit
06c2e346cb
|
@ -70,7 +70,9 @@
|
||||||
/*
|
/*
|
||||||
* MCU type as defined in the ST header.
|
* MCU type as defined in the ST header.
|
||||||
*/
|
*/
|
||||||
|
#ifndef STM32H743xx
|
||||||
#define STM32H743xx
|
#define STM32H743xx
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IO pins assignments.
|
* IO pins assignments.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_H743ZI/board.c
|
BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_H743ZI/board.c
|
||||||
|
|
||||||
# Required include directories
|
# Required include directories
|
||||||
BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_H743ZI
|
BOARDINC = $(PROJECT_DIR)/config/boards/nucleo_h743 $(PROJECT_DIR)/config/stm32h7ems
|
||||||
|
|
||||||
# Shared variables
|
# Shared variables
|
||||||
ALLCSRC += $(BOARDSRC)
|
ALLCSRC += $(BOARDSRC)
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/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
|
||||||
|
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
|
Loading…
Reference in New Issue