summaryrefslogtreecommitdiff
path: root/tcl/target/mega128.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/mega128.cfg')
-rw-r--r--tcl/target/mega128.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/mega128.cfg b/tcl/target/mega128.cfg
index 964542c9..6c0ad859 100644
--- a/tcl/target/mega128.cfg
+++ b/tcl/target/mega128.cfg
@@ -17,7 +17,7 @@ if { [info exists CPUTAPID ] } {
}
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
+set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME avr -endian $_ENDIAN -chain-position $_TARGETNAME
#$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x20000000 -work-area-size 16384 -work-area-backup 0