Add configuration option CFG_TUH_CDC_FTDI_PID_LIST to tusb_option.h

This commit is contained in:
Oliver Larsson
2023-12-11 09:36:10 +01:00
parent 4c80f5a192
commit 9a7e23379c
3 changed files with 8 additions and 5 deletions

View File

@@ -442,6 +442,12 @@
#define CFG_TUH_CDC_FTDI 0
#endif
#ifndef CFG_TUH_CDC_FTDI_PID_LIST
// List of product IDs that can use the FTDI CDC driver
#define CFG_TUH_CDC_FTDI_PID_LIST \
0x6001, 0x6006, 0x6010, 0x6011, 0x6014, 0x6015, 0x8372, 0xFBFA, 0xCD18
#endif
#ifndef CFG_TUH_CDC_CP210X
// CP210X is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_CP210X 0