tcl/interface/ftdi: auto-select SWD from converters' configs
When you source a JTAG-SWD converter config, any other transport doesn't make any sense, so just autoselect it right there. Change-Id: I6c098740905a0d4007473fc19cc07e11cbcc9369 Suggested-by: Хайруллин Эльдар <eldar.khayrullin@mail.ru> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2248 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Eldar Khayrullin <eldar.khayrullin@mail.ru>
This commit is contained in:
parent
877b8434cd
commit
8390f71428
|
@ -3,5 +3,7 @@
|
|||
# https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/
|
||||
#
|
||||
|
||||
transport select swd
|
||||
|
||||
ftdi_layout_signal SWD_EN -nalias nTRST
|
||||
ftdi_layout_signal SWDIO_OE -alias TMS
|
||||
|
|
|
@ -4,5 +4,7 @@
|
|||
# https://drive.google.com/file/d/0Bzv7UpKpOQhnTUNNdzI5OUR4WGs/edit?usp=sharing
|
||||
#
|
||||
|
||||
transport select swd
|
||||
|
||||
ftdi_layout_signal SWD_EN -nalias nTRST
|
||||
ftdi_layout_signal SWDIO_OE -alias TMS
|
||||
|
|
|
@ -4,4 +4,6 @@
|
|||
# connect TDO directly to SWDIO.
|
||||
#
|
||||
|
||||
transport select swd
|
||||
|
||||
ftdi_layout_signal SWD_EN -data 0
|
||||
|
|
Loading…
Reference in New Issue