H7 compilation #2284

This commit is contained in:
rusefillc 2021-02-23 19:11:18 -05:00
parent 0d853dba4a
commit 4177bd299f
3 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,9 @@
echo I am flash_openocd_h7.bat
cd ../misc/install
if not exist openocd/openocd.exe echo openocd/openocd.exe NOT FOUND
if not exist openocd/openocd.exe exit -1
openocd\openocd -f openocd/st_nucleo_h743zi.cfg -c "program ../../firmware/build/rusefi.bin verify reset exit 0x08000000"

View File

@ -1,10 +1,10 @@
# This is an ST NUCLEO-H743ZI board with single STM32H743ZI chip.
# http://www.st.com/en/evaluation-tools/nucleo-h743zi.html
source [find interface/stlink.cfg]
source [find openocd/stlink.cfg]
transport select hla_swd
source [find target/stm32h7x_dual_bank.cfg]
source [find openocd/stm32h7x_dual_bank.cfg]
reset_config srst_only

View File

@ -0,0 +1,6 @@
# script for stm32h7x family (dual flash bank)
# STM32H7xxxI 2Mo have a dual bank flash.
set DUAL_BANK 1
source [find openocd/stm32h7x.cfg]