summaryrefslogtreecommitdiff
path: root/tcl/target/str912.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/str912.cfg')
-rw-r--r--tcl/target/str912.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/str912.cfg b/tcl/target/str912.cfg
index d8445849..2defe9fd 100644
--- a/tcl/target/str912.cfg
+++ b/tcl/target/str912.cfg
@@ -64,9 +64,9 @@ $_TARGETNAME configure -work-area-phys 0x50000000 -work-area-size 16384 -work-ar
#flash bank str9x <base> <size> 0 0 <target#> <variant>
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME str9x 0x00000000 0x00080000 0 0 0
+flash bank $_FLASHNAME str9x 0x00000000 0x00080000 0 0 $_TARGETNAME
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME str9x 0x00080000 0x00008000 0 0 0
+flash bank $_FLASHNAME str9x 0x00080000 0x00008000 0 0 $_TARGETNAME
# For more information about the configuration files, take a look at:
# openocd.texi