adapter: run at default speed when clock speed not specified
[fw/openocd] / tcl / interface / ftdi / hitex_str9-comstick.cfg
index b4137468f9a0b809ba8a48a7de4e77412bcf1d25..f698677a63bd95d4f6f23ba2fe5dffba80e1694d 100644 (file)
@@ -1,18 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Hitex STR9-comStick
 #
 # http://www.hitex.com/index.php?id=383
 #
 
-echo "WARNING!"
-echo "This file was not tested with real interface, it is based on code in ft2232.c."
-echo "Please report your experience with this file to openocd-devel mailing list,"
-echo "so it could be marked as working or fixed."
-
-interface ftdi
-ftdi_device_desc "STR9-comStick"
-ftdi_vid_pid 0x0640 0x002c
+adapter driver ftdi
+ftdi device_desc "STR9-comStick"
+ftdi vid_pid 0x0640 0x002c
 
-ftdi_layout_init 0x0108 0x010b
-ftdi_layout_signal nTRST -data 0x0100
-ftdi_layout_signal nSRST -data 0x0200 -oe 0x0200
+ftdi layout_init 0x0108 0x010b
+ftdi layout_signal nTRST -data 0x0100
+ftdi layout_signal nSRST -data 0x0200 -oe 0x0200