kopia lustrzana https://github.com/mik3y/usb-serial-for-android
Add support for STM32 Virtual COM Port
rodzic
73ef6c5b53
commit
ca56647faf
|
@ -317,6 +317,10 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
|
|||
new int[] {
|
||||
UsbId.ARM_MBED,
|
||||
});
|
||||
supportedDevices.put(UsbId.VENDOR_STM,
|
||||
new int[] {
|
||||
UsbId.STM_VIRTUAL_COM_PORT,
|
||||
});
|
||||
return supportedDevices;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,6 +60,9 @@ public final class UsbId {
|
|||
public static final int VENDOR_ARM = 0x0d28;
|
||||
public static final int ARM_MBED = 0x0204;
|
||||
|
||||
public static final int VENDOR_STM = 0x0483;
|
||||
public static final int STM_VIRTUAL_COM_PORT = 0x5740;
|
||||
|
||||
private UsbId() {
|
||||
throw new IllegalAccessError("Non-instantiable class");
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue