We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54fb40e commit 247cc36Copy full SHA for 247cc36
tinyusb/tusb_config.h
@@ -95,7 +95,11 @@
95
96
//------------- CLASS -------------//
97
#define CFG_TUD_CDC 1
98
-#define CFG_TUD_MSC 1
+#if defined(PICORUBY_NO_MSC)
99
+ #define CFG_TUD_MSC 0
100
+#else
101
+ #define CFG_TUD_MSC 1
102
+#endif
103
#define CFG_TUD_HID 2
104
#define CFG_TUD_MIDI 0
105
#define CFG_TUD_VENDOR 0
@@ -108,7 +112,9 @@
108
112
#elif defined(PICORUBY_MSC_SD)
109
113
#define CFG_TUD_MSC_EP_BUFSIZE 512
110
114
#else
111
- #error PICORUBY_MSC_devicename must be defined
115
+ #if !defined(PICORUBY_NO_MSC)
116
+ #error PICORUBY_MSC_FLASH or PICORUBY_MSC_SD must be defined
117
+ #endif
118
#endif
119
120
// CDC FIFO size of TX and RX
0 commit comments