tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / flyswatter.cfg
index 202d210431f6d8eb7acdaece08fd0e1d95fc97eb..8bce00dbbf7b8443f51a8c08cafeb44a6340a489 100644 (file)
@@ -1,19 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # TinCanTools Flyswatter
 #
-# http://www.tincantools.com/product.php?productid=16134
+# http://web.archive.org/web/20150419072034/http://www.tincantools.com/JTAG/Flyswatter.html
 #
 
-echo "WARNING!"
-echo "This file was not tested with real interface, it is based on schematics and code"
-echo "in ft2232.c. Please report your experience with this file to openocd-devel"
-echo "mailing list, so it could be marked as working or fixed."
-
-interface ftdi
-ftdi_device_desc "Flyswatter"
-ftdi_vid_pid 0x0403 0x6010
+adapter driver ftdi
+ftdi device_desc "Flyswatter"
+ftdi vid_pid 0x0403 0x6010
 
-ftdi_layout_init 0x0818 0x0cfb
-ftdi_layout_signal nTRST -data 0x0010
-ftdi_layout_signal nSRST -oe 0x0020
-ftdi_layout_signal LED -data 0x0c00
+ftdi layout_init 0x0818 0x0cfb
+ftdi layout_signal nTRST -data 0x0010
+ftdi layout_signal nSRST -oe 0x0020
+ftdi layout_signal LED -data 0x0c00