diff options
| author | hathach <[email protected]> | 2023-04-26 22:35:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-04-26 22:36:17 +0700 |
| commit | cf95b4400167f6e523d8e5d1762a78744f63e2a9 (patch) | |
| tree | 14ada6a0066b3812121839a0aa0e97237627e4b8 /examples | |
| parent | 45169d833d05ec8b64d0ce11a5ff1efbea0b7917 (diff) | |
enable CDC FTDI
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/tusb_config.h | 3 |
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 1152e4910..2baf2b1ac 100644 --- a/examples/host/cdc_msc_hid/src/tusb_config.h +++ b/examples/host/cdc_msc_hid/src/tusb_config.h @@ -96,7 +96,8 @@ #define CFG_TUH_ENUMERATION_BUFSIZE 256 #define CFG_TUH_HUB 1 // number of supported hubs -#define CFG_TUH_CDC 1 +#define CFG_TUH_CDC 1 // CDC ACM +#define CFG_TUH_CDC_FTDI 1 // FTDI UART #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 |
