Skip to content

Commit d8fef20

Browse files
committed
remove obsolete CFG in tusb_config.h
1 parent 6063828 commit d8fef20

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

supervisor/shared/usb/tusb_config.h

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,13 @@
5858
#define CFG_TUSB_OS OPT_OS_NONE
5959
#endif
6060
//#define CFG_TUD_TASK_QUEUE_SZ 16
61-
//#define CFG_TUD_TASK_PRIO 0
62-
//#define CFG_TUD_TASK_STACK_SZ 150
6361

6462
//--------------------------------------------------------------------+
6563
// DEVICE CONFIGURATION
6664
//--------------------------------------------------------------------+
6765

6866
#define CFG_TUD_ENDOINT0_SIZE 64
6967

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-
7868
//------------- CLASS -------------//
7969
#define CFG_TUD_CDC 1
8070
#define CFG_TUD_MSC 1
@@ -86,23 +76,6 @@
8676
/* CLASS DRIVER
8777
*------------------------------------------------------------------*/
8878

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-
10679
// Product revision string included in Inquiry response, max 4 bytes
10780
#define CFG_TUD_MSC_PRODUCT_REV "1.0"
10881

0 commit comments

Comments
 (0)