summaryrefslogtreecommitdiff
path: root/tcl/target/pic32mx.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/pic32mx.cfg')
-rw-r--r--tcl/target/pic32mx.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/target/pic32mx.cfg b/tcl/target/pic32mx.cfg
index a346c471..e0ebdc26 100644
--- a/tcl/target/pic32mx.cfg
+++ b/tcl/target/pic32mx.cfg
@@ -34,9 +34,9 @@ target create $_TARGETNAME mips_m4k -endian $_ENDIAN -chain-position $_TARGETNAM
$_TARGETNAME configure -work-area-phys 0xa0000000 -work-area-size 16384 -work-area-backup 0
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME pic32mx 0xbd000000 0 0 0 0
+flash bank $_FLASHNAME pic32mx 0xbd000000 0 0 0 $_TARGETNAME
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME pic32mx 0xbfc00000 0 0 0 0
+flash bank $_FLASHNAME pic32mx 0xbfc00000 0 0 0 $_TARGETNAME
# For more information about the configuration files, take a look at:
# openocd.texi