add Auto descriptor endpoint num config to support lpc17xx

CFG_TUD_DESC_*_EPNUM
This commit is contained in:
hathach
2018-11-28 16:10:31 +07:00
parent a3cc52829b
commit 8b03b6d3b4
3 changed files with 57 additions and 31 deletions

View File

@@ -71,16 +71,6 @@ TU_VERIFY_STATIC(CFG_TUD_MSC_BUFSIZE < UINT16_MAX, "Size is not correct");
#error CFG_TUD_MSC_PRODUCT_REV 4-byte string must be defined
#endif
// TODO highspeed device is 512
#ifndef CFG_TUD_MSC_EPSIZE
#if TUD_OPT_HIGH_SPEED
#define CFG_TUD_MSC_EPSIZE 512
#else
#define CFG_TUD_MSC_EPSIZE 64
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif