summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-12-12 15:54:35 +0700
committerGitHub <[email protected]>2023-12-12 15:54:35 +0700
commit59ecdb78fed4221c3e623d7ea9a9e69c3cd87aae (patch)
treee7a70ab799b30b9d4fe23c105fc742225ef31b73 /src/tusb_option.h
parent6bb92555f3b1c3d1302d444b4a7352875e51678f (diff)
parent9a7e23379ccd4fe572af824c09d6113401412522 (diff)
Merge pull request #2368 from LarssonOliver/master
Add configuration option CFG_TUH_CDC_FTDI_PID_LIST to tusb_option.h
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 900784388..7597392d6 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -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