summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-04-27 15:20:04 +0700
committerhathach <[email protected]>2023-04-27 15:20:04 +0700
commit85d9925d24feb41bd355a9248207acaf853b70ff (patch)
tree886962ea659b5226d737857ad9b2cbc289650a2a /src/tusb_option.h
parent293a6222f81ac1085f8b34730f1907f899ce17cf (diff)
refactor ftdi driver
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index a372e9950..4f3f3a985 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -440,10 +440,15 @@
#endif
#ifndef CFG_TUH_CDC_FTDI
- // FTDI is not part of CDC class, CDC is used for Serial-over-USB here
+ // FTDI is not part of CDC class, only to re-use CDC driver API
#define CFG_TUH_CDC_FTDI 0
#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
+#endif
+
#ifndef CFG_TUH_HID
#define CFG_TUH_HID 0
#endif