|
30 | 30 | // ESP32 out-of-sync
|
31 | 31 | #ifdef ARDUINO_ARCH_ESP32
|
32 | 32 | #include "arduino/ports/esp32/tusb_config_esp32.h"
|
| 33 | + |
| 34 | +#ifndef CFG_TUH_CDC_FTDI_VID_PID_LIST |
| 35 | +// List of product IDs that can use the FTDI CDC driver. 0x0403 is FTDI's VID |
| 36 | + #define CFG_TUH_CDC_FTDI_VID_PID_LIST \ |
| 37 | + {0x0403, 0x6001}, {0x0403, 0x6006}, {0x0403, 0x6010}, {0x0403, 0x6011}, \ |
| 38 | + {0x0403, 0x6014}, {0x0403, 0x6015}, {0x0403, 0x8372}, {0x0403, 0xFBFA}, \ |
| 39 | + {0x0403, 0xCD18} |
| 40 | +#endif |
| 41 | + |
| 42 | +#ifndef CFG_TUH_CDC_CP210X_VID_PID_LIST |
| 43 | +// List of product IDs that can use the CP210X CDC driver. 0x10C4 is Silicon Labs' VID |
| 44 | + #define CFG_TUH_CDC_CP210X_VID_PID_LIST \ |
| 45 | + {0x10C4, 0xEA60}, {0x10C4, 0xEA70} |
| 46 | +#endif |
| 47 | + |
| 48 | +#ifndef CFG_TUH_CDC_CH34X_VID_PID_LIST |
| 49 | +// List of product IDs that can use the CH34X CDC driver |
| 50 | + #define CFG_TUH_CDC_CH34X_VID_PID_LIST \ |
| 51 | + { 0x1a86, 0x5523 }, /* ch341 chip */ \ |
| 52 | + { 0x1a86, 0x7522 }, /* ch340k chip */ \ |
| 53 | + { 0x1a86, 0x7523 }, /* ch340 chip */ \ |
| 54 | + { 0x1a86, 0xe523 }, /* ch330 chip */ \ |
| 55 | + { 0x4348, 0x5523 }, /* ch340 custom chip */ \ |
| 56 | + { 0x2184, 0x0057 }, /* overtaken from Linux Kernel driver /drivers/usb/serial/ch341.c */ \ |
| 57 | + { 0x9986, 0x7523 } /* overtaken from Linux Kernel driver /drivers/usb/serial/ch341.c */ |
| 58 | +#endif |
| 59 | + |
33 | 60 | #endif
|
34 | 61 |
|
35 | 62 | #include "tusb_option.h"
|
|
0 commit comments