kopia lustrzana https://github.com/mik3y/usb-serial-for-android
rodzic
f997a8b68a
commit
1d4e0128c0
|
@ -32,5 +32,6 @@
|
|||
<usb-device vendor-id="7855" product-id="4" /> <!-- 0x1eaf / 0x0004: Leaflabs Maple -->
|
||||
<usb-device vendor-id="3368" product-id="516" /> <!-- 0x0d28 / 0x0204: ARM mbed -->
|
||||
<usb-device vendor-id="1155" product-id="22336" /><!-- 0x0483 / 0x5740: ST CDC -->
|
||||
<usb-device vendor-id="11914" product-id="5" /> <!-- 0x2E8A: Raspberry Pi Pico Micropython -->
|
||||
<usb-device vendor-id="11914" product-id="5" /> <!-- 0x2E8A / 0x0005: Raspberry Pi Pico Micropython -->
|
||||
<usb-device vendor-id="11914" product-id="10" /> <!-- 0x2E8A / 0x000A: Raspberry Pi Pico SDK -->
|
||||
</resources>
|
||||
|
|
|
@ -303,19 +303,19 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
|
|||
});
|
||||
supportedDevices.put(UsbId.VENDOR_VAN_OOIJEN_TECH,
|
||||
new int[] {
|
||||
UsbId.VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL,
|
||||
UsbId.VAN_OOIJEN_TECH_TEENSYDUINO_SERIAL,
|
||||
});
|
||||
supportedDevices.put(UsbId.VENDOR_ATMEL,
|
||||
new int[] {
|
||||
UsbId.ATMEL_LUFA_CDC_DEMO_APP,
|
||||
UsbId.ATMEL_LUFA_CDC_DEMO_APP,
|
||||
});
|
||||
supportedDevices.put(UsbId.VENDOR_LEAFLABS,
|
||||
new int[] {
|
||||
UsbId.LEAFLABS_MAPLE,
|
||||
UsbId.LEAFLABS_MAPLE,
|
||||
});
|
||||
supportedDevices.put(UsbId.VENDOR_ARM,
|
||||
new int[] {
|
||||
UsbId.ARM_MBED,
|
||||
UsbId.ARM_MBED,
|
||||
});
|
||||
supportedDevices.put(UsbId.VENDOR_ST,
|
||||
new int[] {
|
||||
|
@ -323,7 +323,8 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
|
|||
});
|
||||
supportedDevices.put(UsbId.VENDOR_RASPBERRY_PI,
|
||||
new int[] {
|
||||
UsbId.RASPBERRY_PI_PICO_MICROPYTHON,
|
||||
UsbId.RASPBERRY_PI_PICO_MICROPYTHON,
|
||||
UsbId.RASPBERRY_PI_PICO_SDK,
|
||||
});
|
||||
return supportedDevices;
|
||||
}
|
||||
|
|
|
@ -71,6 +71,7 @@ public final class UsbId {
|
|||
|
||||
public static final int VENDOR_RASPBERRY_PI = 0x2e8a;
|
||||
public static final int RASPBERRY_PI_PICO_MICROPYTHON = 0x0005;
|
||||
public static final int RASPBERRY_PI_PICO_SDK = 0x000a;
|
||||
|
||||
private UsbId() {
|
||||
throw new IllegalAccessError("Non-instantiable class");
|
||||
|
|
Ładowanie…
Reference in New Issue