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.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/pic32mx.cfg b/tcl/target/pic32mx.cfg
index 139f801f..009a3cd1 100644
--- a/tcl/target/pic32mx.cfg
+++ b/tcl/target/pic32mx.cfg
@@ -28,7 +28,7 @@ reset_config srst_only
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id $_CPUTAPID
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME mips_m4k -endian $_ENDIAN -chain-position $_TARGETNAME
$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0xa0000000 -work-area-size 16384 -work-area-backup 0