tcl/interface: replace last deprecated commands
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 9 Sep 2022 09:23:04 +0000 (11:23 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Tue, 13 Sep 2022 22:16:37 +0000 (22:16 +0000)
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
tcl/interface/ft232r/radiona_ulx3s.cfg
tcl/interface/ftdi/esp32_devkitj_v1.cfg
tcl/interface/ftdi/lambdaconcept_ecpix-5.cfg
tcl/interface/ftdi/xt_kc705_ml605.cfg

index 424777e9e89bcce82e89aaa4c458689bd2ae4e33..3fc3d7105e76628bd6fd07049ccf923f9b9e8295 100644 (file)
@@ -7,10 +7,10 @@
 
 adapter driver ft232r
 adapter speed 1000
-ft232r_vid_pid 0x0403 0x6015
-ft232r_tck_num DSR
-ft232r_tms_num DCD
-ft232r_tdi_num RI
-ft232r_tdo_num CTS
-ft232r_trst_num RTS
-ft232r_srst_num DTR
+ft232r vid_pid 0x0403 0x6015
+ft232r tck_num DSR
+ft232r tms_num DCD
+ft232r tdi_num RI
+ft232r tdo_num CTS
+ft232r trst_num RTS
+ft232r srst_num DTR
index c34a500a6a87235c269bc31c3fa83926361f6b08..1b455a9ac840c8a6a183fa3787431f9a1e789b6b 100644 (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.
 # 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
index b61caff64a1437e6f65e69dcb5b6807309187ac3..df4955f8a1bf0216298845cc6b6f2c9ad376ff37 100644 (file)
@@ -7,8 +7,8 @@
 
 adapter driver ftdi
 adapter speed 10000
-ftdi_device_desc "Dual RS232-HS"
-ftdi_vid_pid 0x0403 0x6010
+ftdi device_desc "Dual RS232-HS"
+ftdi vid_pid 0x0403 0x6010
 
-ftdi_layout_init 0xfff8 0xfffb
+ftdi layout_init 0xfff8 0xfffb
 transport select jtag
index f62f2c29171d2eb61e51b083f491e0c364b6c247..dda8c0a2b69aa4d49a24b64ab20bc4a2fb46c34e 100644 (file)
@@ -3,9 +3,9 @@
 #
 
 adapter driver ftdi
-ftdi_vid_pid 0x0403 0x6010
-# Specify "ftdi_serial <identifier>" here as needed
+ftdi vid_pid 0x0403 0x6010
+# Specify "adapter serial <identifier>" here as needed
 
-ftdi_layout_init 0x0010 0x007b
-ftdi_layout_signal nTRST -data 0x0010
-ftdi_layout_signal nSRST -ndata 0x0020
+ftdi layout_init 0x0010 0x007b
+ftdi layout_signal nTRST -data 0x0010
+ftdi layout_signal nSRST -ndata 0x0020