tcl/interface: replace last deprecated commands

Still some config file uses deprecated commands.
Replace them with the new commands.

Change-Id: I6ccbfb832e0ad2012e9af160bd2d92ad104af2bb
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7181
Tested-by: jenkins
This commit is contained in:
Antonio Borneo 2022-09-09 11:23:04 +02:00
parent b8594026e4
commit ce217538bc
4 changed files with 16 additions and 16 deletions

View File

@ -7,10 +7,10 @@
adapter driver ft232r adapter driver ft232r
adapter speed 1000 adapter speed 1000
ft232r_vid_pid 0x0403 0x6015 ft232r vid_pid 0x0403 0x6015
ft232r_tck_num DSR ft232r tck_num DSR
ft232r_tms_num DCD ft232r tms_num DCD
ft232r_tdi_num RI ft232r tdi_num RI
ft232r_tdo_num CTS ft232r tdo_num CTS
ft232r_trst_num RTS ft232r trst_num RTS
ft232r_srst_num DTR ft232r srst_num DTR

View File

@ -21,5 +21,5 @@ ftdi layout_signal LED4 -data 0x8000
# ESP32 series chips do not have a TRST input, and the SRST line is connected to the EN pin. # ESP32 series chips do not have a TRST input, and the SRST line is connected to the EN pin.
# The target code doesn't handle SRST reset properly yet, so this is commented out: # The target code doesn't handle SRST reset properly yet, so this is commented out:
# ftdi_layout_signal nSRST -oe 0x0020 # ftdi layout_signal nSRST -oe 0x0020
# reset_config srst_only # reset_config srst_only

View File

@ -7,8 +7,8 @@
adapter driver ftdi adapter driver ftdi
adapter speed 10000 adapter speed 10000
ftdi_device_desc "Dual RS232-HS" ftdi device_desc "Dual RS232-HS"
ftdi_vid_pid 0x0403 0x6010 ftdi vid_pid 0x0403 0x6010
ftdi_layout_init 0xfff8 0xfffb ftdi layout_init 0xfff8 0xfffb
transport select jtag transport select jtag

View File

@ -3,9 +3,9 @@
# #
adapter driver ftdi adapter driver ftdi
ftdi_vid_pid 0x0403 0x6010 ftdi vid_pid 0x0403 0x6010
# Specify "ftdi_serial <identifier>" here as needed # Specify "adapter serial <identifier>" here as needed
ftdi_layout_init 0x0010 0x007b ftdi layout_init 0x0010 0x007b
ftdi_layout_signal nTRST -data 0x0010 ftdi layout_signal nTRST -data 0x0010
ftdi_layout_signal nSRST -ndata 0x0020 ftdi layout_signal nSRST -ndata 0x0020