diff options
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/board/keil_mcb2140.cfg | 16 | ||||
-rw-r--r-- | src/target/board/olimex_lpc_h2148.cfg | 16 | ||||
-rw-r--r-- | src/target/interface/stm32-stick.cfg | 2 | ||||
-rw-r--r-- | src/target/interface/str9-comstick.cfg | 1 | ||||
-rw-r--r-- | src/target/target/ixp42x.cfg | 64 |
5 files changed, 50 insertions, 49 deletions
diff --git a/src/target/board/keil_mcb2140.cfg b/src/target/board/keil_mcb2140.cfg index d6e630d7..db81efad 100644 --- a/src/target/board/keil_mcb2140.cfg +++ b/src/target/board/keil_mcb2140.cfg @@ -1,8 +1,8 @@ -#
-# Keil MCB2140 eval board
-#
-# http://www.keil.com/mcb2140/picture.asp
-#
-
-source [find target/lpc2148.cfg]
-
+# +# Keil MCB2140 eval board +# +# http://www.keil.com/mcb2140/picture.asp +# + +source [find target/lpc2148.cfg] + diff --git a/src/target/board/olimex_lpc_h2148.cfg b/src/target/board/olimex_lpc_h2148.cfg index a20ce04f..7833fdec 100644 --- a/src/target/board/olimex_lpc_h2148.cfg +++ b/src/target/board/olimex_lpc_h2148.cfg @@ -1,8 +1,8 @@ -#
-# Olimex LPC-H2148 eval board
-#
-# http://www.olimex.com/dev/lpc-h2148.html
-#
-
-source [find target/lpc2148.cfg]
-
+# +# Olimex LPC-H2148 eval board +# +# http://www.olimex.com/dev/lpc-h2148.html +# + +source [find target/lpc2148.cfg] + diff --git a/src/target/interface/stm32-stick.cfg b/src/target/interface/stm32-stick.cfg index eda62c1a..240cb216 100644 --- a/src/target/interface/stm32-stick.cfg +++ b/src/target/interface/stm32-stick.cfg @@ -2,4 +2,4 @@ interface ft2232 ft2232_device_desc "STM32-PerformanceStick A" ft2232_layout stm32stick - +ft2232_vid_pid 0x0640 0x002d diff --git a/src/target/interface/str9-comstick.cfg b/src/target/interface/str9-comstick.cfg index 8f342806..e7c6d905 100644 --- a/src/target/interface/str9-comstick.cfg +++ b/src/target/interface/str9-comstick.cfg @@ -1,3 +1,4 @@ interface ft2232 ft2232_device_desc "STR9-comStick A" ft2232_layout comstick +ft2232_vid_pid 0x0640 0x002c diff --git a/src/target/target/ixp42x.cfg b/src/target/target/ixp42x.cfg index a24c4fbb..12ace990 100644 --- a/src/target/target/ixp42x.cfg +++ b/src/target/target/ixp42x.cfg @@ -1,32 +1,32 @@ -#xscale ixp42x CPU
-
-
-if { [info exists CHIPNAME] } {
- set _CHIPNAME $CHIPNAME
-} else {
- set _CHIPNAME ixp42x
-}
-
-if { [info exists ENDIAN] } {
- set _ENDIAN $ENDIAN
-} else {
- # this defaults to a bigendian
- set _ENDIAN big
-}
-
-if { [info exists CPUTAPID ] } {
- set _CPUTAPID $CPUTAPID
-} else {
- # force an error till we get a good number
- set _CPUTAPID 0xffffffff
-}
-
-#use combined on interfaces or targets that can?t set TRST/SRST separately
-reset_config srst_only srst_pulls_trst
-#jtag scan chain
-
-jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
-
-set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
-target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x
-
+#xscale ixp42x CPU + + +if { [info exists CHIPNAME] } { + set _CHIPNAME $CHIPNAME +} else { + set _CHIPNAME ixp42x +} + +if { [info exists ENDIAN] } { + set _ENDIAN $ENDIAN +} else { + # this defaults to a bigendian + set _ENDIAN big +} + +if { [info exists CPUTAPID ] } { + set _CPUTAPID $CPUTAPID +} else { + # force an error till we get a good number + set _CPUTAPID 0xffffffff +} + +#use combined on interfaces or targets that can?t set TRST/SRST separately +reset_config srst_only srst_pulls_trst +#jtag scan chain + +jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID + +set _TARGETNAME [format "%s.cpu" $_CHIPNAME] +target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x + |