55s69 device work with usb0

This commit is contained in:
hathach
2019-09-05 16:12:13 +07:00
parent dd07e743d8
commit a90e2aa2ce
6 changed files with 60 additions and 31 deletions

View File

@@ -74,10 +74,10 @@
//------------- CLASS -------------//
#define CFG_TUD_CDC 1
#define CFG_TUD_MSC 1
#if CFG_TUSB_MCU == OPT_MCU_STM32F4
// STM32F4 does not have enough endpoints (4, including hardcoded control
// endpoint) to enable CDC, MSC, and HID simultaneously, so disable HID as a
// compromise.
// endpoint) to enable CDC, MSC, and HID simultaneously, so disable HID as a compromise.
#define CFG_TUD_HID 0
#else
#define CFG_TUD_HID 1