Unverified Commit 643faa2b authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7166 from DonLakeFlyer/AndroidChibiOS

Android USB: Add VID/PID for ArduPilot ChibiOS and DragonLink
parents 941f732e 461f9cb7
......@@ -304,6 +304,18 @@ public class CdcAcmSerialDriver extends CommonUsbSerialDriver {
UsbId.DEVICE_SPARKY2,
UsbId.DEVICE_OPLINK,
});
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_ARDUPILOT_CHIBIOS1),
new int[] {
UsbId.DEVICE_ARDUPILOT_CHIBIOS,
});
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_ARDUPILOT_CHIBIOS2),
new int[] {
UsbId.DEVICE_ARDUPILOT_CHIBIOS,
});
supportedDevices.put(Integer.valueOf(UsbId.VENDOR_DRAGONLINK),
new int[] {
UsbId.DEVICE_DRAGONLINK,
});
return supportedDevices;
}
......
......@@ -74,6 +74,13 @@ public final class UsbId {
public static final int DEVICE_SPARKY2 = 0x41D0;
public static final int DEVICE_CC3D = 0x415D;
public static final int VENDOR_ARDUPILOT_CHIBIOS1 = 0x0483;
public static final int VENDOR_ARDUPILOT_CHIBIOS2 = 0x1209;
public static final int DEVICE_ARDUPILOT_CHIBIOS = 0x5740;
public static final int VENDOR_DRAGONLINK = 0x1FC9;
public static final int DEVICE_DRAGONLINK = 0x0083;
private UsbId() {
throw new IllegalAccessError("Non-instantiable class.");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment