aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/stm32lx_dual_bank.cfg
blob: a225a49e06dd8b1aa5e5ee65b1eebdd139229886 (plain)
1
2
3
4
5
6
7
8
9
# The stm32lx 384kb have a dual bank flash.
# Let's add a definition for the second bank here.

# script for stm32lx family
source [find target/stm32lx_stlink.cfg]

# Add the second flash bank.
set _FLASHNAME $_CHIPNAME.flash1
flash bank $_FLASHNAME stm32lx 0x8030000 0 0 0 $_TARGETNAME