From ce89c7bf6588c7b2800c4ca453278b6f94795130 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 4 Sep 2009 05:17:03 +0000 Subject: David Brownell "set _TARGETNAME ..." cleanup git-svn-id: svn://svn.berlios.de/openocd/trunk@2665 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- tcl/target/at91sam3uXX.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcl/target/at91sam3uXX.cfg') diff --git a/tcl/target/at91sam3uXX.cfg b/tcl/target/at91sam3uXX.cfg index 37f6b8ef..cfcc4a4f 100644 --- a/tcl/target/at91sam3uXX.cfg +++ b/tcl/target/at91sam3uXX.cfg @@ -29,7 +29,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 cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME # 16K is plenty, the smallest chip has this much -- cgit v1.2.3