1
0
mirror of https://github.com/mik3y/usb-serial-for-android synced 2025-06-08 08:26:18 +00:00

Adding support for the new FT231X IC from FTDI

To use it as a serial-USB bridge it's the same thing as a FT232 IC
This commit is contained in:
Arthur Benemann 2013-09-30 15:03:23 -03:00 committed by mike wakerly
parent f878d5db80
commit d272021034
3 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,9 @@
<!-- 0x0403 / 0x6001: FTDI FT232R UART --> <!-- 0x0403 / 0x6001: FTDI FT232R UART -->
<usb-device vendor-id="1027" product-id="24577" /> <usb-device vendor-id="1027" product-id="24577" />
<!-- 0x0403 / 0x6015: FTDI FT231X -->
<usb-device vendor-id="1027" product-id="24597" />
<!-- 0x2341 / Arduino --> <!-- 0x2341 / Arduino -->
<usb-device vendor-id="9025" /> <usb-device vendor-id="9025" />

View File

@ -540,6 +540,7 @@ public class FtdiSerialDriver extends CommonUsbSerialDriver {
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_FTDI), supportedDevices.put(Integer.valueOf(UsbId.VENDOR_FTDI),
new int[] { new int[] {
UsbId.FTDI_FT232R, UsbId.FTDI_FT232R,
UsbId.FTDI_FT231X,
}); });
return supportedDevices; return supportedDevices;
} }

View File

@ -31,6 +31,7 @@ public final class UsbId {
public static final int VENDOR_FTDI = 0x0403; public static final int VENDOR_FTDI = 0x0403;
public static final int FTDI_FT232R = 0x6001; public static final int FTDI_FT232R = 0x6001;
public static final int FTDI_FT231X = 0x6015;
public static final int VENDOR_ATMEL = 0x03EB; public static final int VENDOR_ATMEL = 0x03EB;
public static final int ATMEL_LUFA_CDC_DEMO_APP = 0x2044; public static final int ATMEL_LUFA_CDC_DEMO_APP = 0x2044;