projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tcl/interface: replace last deprecated commands
[fw/openocd]
/
tcl
/
target
/
stm32l1x_dual_bank.cfg
diff --git
a/tcl/target/stm32l1x_dual_bank.cfg
b/tcl/target/stm32l1x_dual_bank.cfg
index 7420b315e0e270d1a3f58c7beb905efbcc02f2d2..deefdb429beda0c513247c567f77e74a9ae81136 100644
(file)
--- a/
tcl/target/stm32l1x_dual_bank.cfg
+++ b/
tcl/target/stm32l1x_dual_bank.cfg
@@
-1,3
+1,5
@@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
source [find target/stm32l1.cfg]
# The stm32l1x 384kb have a dual bank flash.
source [find target/stm32l1.cfg]
# The stm32l1x 384kb have a dual bank flash.
@@
-5,4
+7,4
@@
source [find target/stm32l1.cfg]
# Add the second flash bank.
set _FLASHNAME $_CHIPNAME.flash1
# Add the second flash bank.
set _FLASHNAME $_CHIPNAME.flash1
-flash bank $_FLASHNAME stm32lx 0
x8030000
0 0 0 $_TARGETNAME
+flash bank $_FLASHNAME stm32lx 0 0 0 0 $_TARGETNAME