Add FT232 Serial Chipset to the known list (#823)

This commit is contained in:
unlogisch04
2023-08-19 17:04:38 +02:00
committed by GitHub
parent 5211d340d2
commit 942f64a2f1

View File

@@ -31,7 +31,13 @@ abstract class SerialHandler {
Pair(0x10C4, 0xEA60),
// / Espressif
// ESP32-C3
Pair(0x303A, 0x1001)
Pair(0x303A, 0x1001),
// / FTDI
// FT232BM/L/Q, FT245BM/L/Q
// FT232RL/Q, FT245RL/Q
// VNC1L with VDPS Firmware
// VNC2 with FT232Slave
Pair(0x0403, 0x6001)
)
fun isKnownBoard(port: SerialPort): Boolean =
supportedSerial.contains(Pair(port.vendorId, port.productId))