riscv-openocd/tcl/target/stm32h7x_dual_bank.cfg

8 lines
248 B
INI

# script for stm32h7x family (dual flash bank)
source [find target/stm32h7x.cfg]
# STM32H7xxxI 2Mo have a dual bank flash.
# Add the second flash bank.
set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME stm32h7x 0x08100000 0 0 0 $_TARGETNAME