This commit is contained in:
hathach 2019-05-15 22:51:49 +07:00
parent 6e9324e29c
commit bcf9718f9a
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 14 additions and 16 deletions

View File

@ -131,33 +131,32 @@
#endif #endif
#ifndef CFG_TUSB_MEM_ALIGN #ifndef CFG_TUSB_MEM_ALIGN
#define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4) #define CFG_TUSB_MEM_ALIGN ATTR_ALIGNED(4)
#endif #endif
#ifndef CFG_TUSB_OS #ifndef CFG_TUSB_OS
#define CFG_TUSB_OS OPT_OS_NONE #define CFG_TUSB_OS OPT_OS_NONE
#endif #endif
//-------------------------------------------------------------------- //--------------------------------------------------------------------
// DEVICE OPTIONS // DEVICE OPTIONS
//-------------------------------------------------------------------- //--------------------------------------------------------------------
#if TUSB_OPT_DEVICE_ENABLED
#ifndef CFG_TUD_ENDOINT0_SIZE #ifndef CFG_TUD_ENDOINT0_SIZE
#define CFG_TUD_ENDOINT0_SIZE 64 #define CFG_TUD_ENDOINT0_SIZE 64
#endif #endif
#ifndef CFG_TUD_CTRL_BUFSIZE #ifndef CFG_TUD_CDC
#define CFG_TUD_CTRL_BUFSIZE 256 #define CFG_TUD_CDC 0
#endif #endif
#ifndef CFG_TUD_CDC #ifndef CFG_TUD_MSC
#define CFG_TUD_CDC 0 #define CFG_TUD_MSC 0
#endif #endif
#ifndef CFG_TUD_MSC #ifndef CFG_TUD_HID
#define CFG_TUD_MSC 0 #define CFG_TUD_HID 0
#endif #endif
#ifndef CFG_TUD_MIDI #ifndef CFG_TUD_MIDI
#define CFG_TUD_MIDI 0 #define CFG_TUD_MIDI 0
@ -167,7 +166,6 @@
#define CFG_TUD_CUSTOM_CLASS 0 #define CFG_TUD_CUSTOM_CLASS 0
#endif #endif
#endif // TUSB_OPT_DEVICE_ENABLED
//-------------------------------------------------------------------- //--------------------------------------------------------------------
// HOST OPTIONS // HOST OPTIONS