H7 compilation #2284
This commit is contained in:
parent
0d853dba4a
commit
4177bd299f
|
@ -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"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
# This is an ST NUCLEO-H743ZI board with single STM32H743ZI chip.
|
# This is an ST NUCLEO-H743ZI board with single STM32H743ZI chip.
|
||||||
# http://www.st.com/en/evaluation-tools/nucleo-h743zi.html
|
# http://www.st.com/en/evaluation-tools/nucleo-h743zi.html
|
||||||
|
|
||||||
source [find interface/stlink.cfg]
|
source [find openocd/stlink.cfg]
|
||||||
|
|
||||||
transport select hla_swd
|
transport select hla_swd
|
||||||
|
|
||||||
source [find target/stm32h7x_dual_bank.cfg]
|
source [find openocd/stm32h7x_dual_bank.cfg]
|
||||||
|
|
||||||
reset_config srst_only
|
reset_config srst_only
|
||||||
|
|
|
@ -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]
|
Loading…
Reference in New Issue