]> sigrok.org Git - libsigrok.git/commitdiff
ftdi-la: Add FT4232H PID:VID.
authorSergey Rzhevsky <redacted>
Sun, 12 Apr 2020 20:52:38 +0000 (23:52 +0300)
committerUwe Hermann <redacted>
Sat, 2 May 2020 15:01:39 +0000 (17:01 +0200)
src/hardware/ftdi-la/api.c

index 6eb51763853f96195e799169ef8cdf85a114a5dc..85b7df7e383fdf4e8c396a9bae6c712a04c4ee35 100644 (file)
@@ -68,6 +68,17 @@ static const struct ftdi_chip_desc ft2232h_tumpa_desc = {
        }
 };
 
+static const struct ftdi_chip_desc ft4232h_desc = {
+       .vendor = 0x0403,
+       .product = 0x6011,
+       .samplerate_div = 20,
+       .channel_names = {
+               "ADBUS0", "ADBUS1", "ADBUS2", "ADBUS3", "ADBUS4", "ADBUS5", "ADBUS6", "ADBUS7",
+               /* TODO: BDBUS[0..7], CDBUS[0..7], DDBUS[0..7] channels. */
+               NULL
+       }
+};
+
 static const struct ftdi_chip_desc ft232r_desc = {
        .vendor = 0x0403,
        .product = 0x6001,
@@ -91,6 +102,7 @@ static const struct ftdi_chip_desc ft232h_desc = {
 static const struct ftdi_chip_desc *chip_descs[] = {
        &ft2232h_desc,
        &ft2232h_tumpa_desc,
+       &ft4232h_desc,
        &ft232r_desc,
        &ft232h_desc,
        NULL,