summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-04-27 17:09:21 +0700
committerhathach <[email protected]>2023-04-27 17:09:21 +0700
commit86f6fd17edec73c6c7f19ece19fe1dba8575985a (patch)
tree41a3c903edc922a382da74b169162aff124a0232 /examples
parenta32ef1cde124251d86696ed980a87eb25739c6a8 (diff)
cp210x seems to work well
Diffstat (limited to 'examples')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index 2baf2b1ac..cc3775a76 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -97,7 +97,8 @@
#define CFG_TUH_HUB 1 // number of supported hubs
#define CFG_TUH_CDC 1 // CDC ACM
-#define CFG_TUH_CDC_FTDI 1 // FTDI UART
+#define CFG_TUH_CDC_FTDI 1 // FTDI Serial
+#define CFG_TUH_CDC_CP210X 1 // CP210x Serial
#define CFG_TUH_HID (3*CFG_TUH_DEVICE_MAX) // typical keyboard + mouse device can have 3-4 HID interfaces
#define CFG_TUH_MSC 1
#define CFG_TUH_VENDOR 0