diff options
Diffstat (limited to 'tcl/target/stm32lx_dual_bank.cfg')
-rw-r--r-- | tcl/target/stm32lx_dual_bank.cfg | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tcl/target/stm32lx_dual_bank.cfg b/tcl/target/stm32lx_dual_bank.cfg new file mode 100644 index 00000000..eb1158d8 --- /dev/null +++ b/tcl/target/stm32lx_dual_bank.cfg @@ -0,0 +1,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/stm32l1x_stlink.cfg] + +# Add the second flash bank. +set _FLASHNAME $_CHIPNAME.flash1 +flash bank $_FLASHNAME stm32lx 0x8030000 0 0 0 $_TARGETNAME |