summaryrefslogtreecommitdiff
path: root/tcl/target/stm32.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/stm32.cfg')
-rw-r--r--tcl/target/stm32.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/stm32.cfg b/tcl/target/stm32.cfg
index a37e7334..b5a86527 100644
--- a/tcl/target/stm32.cfg
+++ b/tcl/target/stm32.cfg
@@ -62,7 +62,7 @@ target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNA
$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0
-flash bank stm32x 0 0 0 0 0
+flash bank stm32x 0 0 0 0 $_TARGETNAME
# For more information about the configuration files, take a look at:
# openocd.texi