mirror of
https://github.com/mik3y/usb-serial-for-android.git
synced 2026-08-11 16:32:53 +00:00
Add support for Raspberry Pi Pico
This commit is contained in:
+4
@@ -321,6 +321,10 @@ public class CdcAcmSerialDriver implements UsbSerialDriver {
|
||||
new int[] {
|
||||
UsbId.ST_CDC,
|
||||
});
|
||||
supportedDevices.put(UsbId.VENDOR_RASPBERRY_PI,
|
||||
new int[] {
|
||||
UsbId.RASPBERRY_PI_PICO,
|
||||
});
|
||||
return supportedDevices;
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,9 @@ public final class UsbId {
|
||||
public static final int VENDOR_ST = 0x0483;
|
||||
public static final int ST_CDC = 0x5740;
|
||||
|
||||
public static final int VENDOR_RASPBERRY_PI = 0x2e8a;
|
||||
public static final int RASPBERRY_PI_PICO = 0x0005;
|
||||
|
||||
private UsbId() {
|
||||
throw new IllegalAccessError("Non-instantiable class");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user