Add support for STM32 Virtual COM Port

pull/362/head
Vimal Bhalodia 2021-05-08 09:12:24 -04:00
rodzic 73ef6c5b53
commit ca56647faf
2 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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;
}

Wyświetl plik

@ -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");
}