simple cdc host demo work

This commit is contained in:
hathach
2018-12-07 17:37:54 +07:00
parent 13d08cd636
commit e6e3679136
3 changed files with 11 additions and 5 deletions

View File

@@ -82,10 +82,10 @@
#define CFG_TUH_HUB 1 // not tested
#define CFG_TUH_CDC 1
#define CFG_TUH_HID_KEYBOARD 1
#define CFG_TUH_HID_MOUSE 1
#define CFG_TUH_HID_KEYBOARD 0
#define CFG_TUH_HID_MOUSE 0
#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
#define CFG_TUH_MSC 1
#define CFG_TUH_MSC 0
#define CFG_TUSB_HOST_DEVICE_MAX (CFG_TUH_HUB ? 5 : 1) // normal hub has 4 ports