summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorOliver Larsson <[email protected]>2023-10-29 16:53:10 +0100
committerOliver Larsson <[email protected]>2023-11-25 08:34:52 +0100
commitc4e04d3db4f8f33e906afbae4739d64e53fa9987 (patch)
tree8d4f71fd068fe4d809e291831cb1f211932446e2 /src/tusb_option.h
parent10558acac6658d1480a6a6c025e006f2a6f4e212 (diff)
Add configuration option CFG_TUH_CDC_CP210X_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 a41f5a07e..3d290ae66 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -441,6 +441,12 @@
#define CFG_TUH_CDC_CP210X 0
#endif
+#ifndef CFG_TUH_CDC_CP210X_PID_LIST
+ // List of product IDs that can use the CP210X CDC driver
+ #define CFG_TUH_CDC_CP210X_PID_LIST \
+ 0xEA60, 0xEA70
+#endif
+
#ifndef CFG_TUH_HID
#define CFG_TUH_HID 0
#endif