|
58 | 58 | #define CFG_TUSB_OS OPT_OS_NONE |
59 | 59 | #endif |
60 | 60 | //#define CFG_TUD_TASK_QUEUE_SZ 16 |
61 | | -//#define CFG_TUD_TASK_PRIO 0 |
62 | | -//#define CFG_TUD_TASK_STACK_SZ 150 |
63 | 61 |
|
64 | 62 | //--------------------------------------------------------------------+ |
65 | 63 | // DEVICE CONFIGURATION |
66 | 64 | //--------------------------------------------------------------------+ |
67 | 65 |
|
68 | 66 | #define CFG_TUD_ENDOINT0_SIZE 64 |
69 | 67 |
|
70 | | -/*------------- Descriptors -------------*/ |
71 | | -/* Enable auto generated descriptor, tinyusb will try its best to create |
72 | | - * descriptor ( device, configuration, hid ) that matches enabled CFG_* in this file |
73 | | - * |
74 | | - * Note: All CFG_TUD_DESC_* are relevant only if CFG_TUD_DESC_AUTO is enabled |
75 | | - */ |
76 | | -#define CFG_TUD_DESC_AUTO 0 |
77 | | - |
78 | 68 | //------------- CLASS -------------// |
79 | 69 | #define CFG_TUD_CDC 1 |
80 | 70 | #define CFG_TUD_MSC 1 |
|
86 | 76 | /* CLASS DRIVER |
87 | 77 | *------------------------------------------------------------------*/ |
88 | 78 |
|
89 | | -/* TX is sent automatically on every Start of Frame event ~ 1ms. |
90 | | - * If not enabled, application must call tud_cdc_flush() periodically |
91 | | - * Note: Enabled this could overflow device task, if it does, define |
92 | | - * CFG_TUD_TASK_QUEUE_SZ with large value |
93 | | - */ |
94 | | -#define CFG_TUD_CDC_FLUSH_ON_SOF 0 |
95 | | - |
96 | | - |
97 | | -/*------------- MSC -------------*/ |
98 | | -// Number of supported Logical Unit Number (At least 1) |
99 | | -#define CFG_TUD_MSC_MAXLUN 1 |
100 | | - |
101 | | -// Number of Blocks |
102 | | -#define CFG_TUD_MSC_BLOCK_NUM (256*1024)/512 |
103 | | - |
104 | | - |
105 | | - |
106 | 79 | // Product revision string included in Inquiry response, max 4 bytes |
107 | 80 | #define CFG_TUD_MSC_PRODUCT_REV "1.0" |
108 | 81 |
|
|
0 commit comments