File tree 1 file changed +8
-0
lines changed
components/arduino_tinyusb/include
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,10 @@ extern "C" {
64
64
# define CONFIG_TINYUSB_DFU_RT_ENABLED 0
65
65
#endif
66
66
67
+ #ifndef CONFIG_TINYUSB_DFU_ENABLED
68
+ # define CONFIG_TINYUSB_DFU_ENABLED 0
69
+ #endif
70
+
67
71
#ifndef CONFIG_TINYUSB_VENDOR_ENABLED
68
72
# define CONFIG_TINYUSB_VENDOR_ENABLED 0
69
73
#endif
@@ -106,6 +110,7 @@ extern "C" {
106
110
#define CFG_TUD_VIDEO CONFIG_TINYUSB_VIDEO_ENABLED
107
111
#define CFG_TUD_CUSTOM_CLASS CONFIG_TINYUSB_CUSTOM_CLASS_ENABLED
108
112
#define CFG_TUD_DFU_RUNTIME CONFIG_TINYUSB_DFU_RT_ENABLED
113
+ #define CFG_TUD_DFU CONFIG_TINYUSB_DFU_ENABLED
109
114
#define CFG_TUD_VENDOR CONFIG_TINYUSB_VENDOR_ENABLED
110
115
111
116
// CDC FIFO size of TX and RX
@@ -126,6 +131,9 @@ extern "C" {
126
131
#define CFG_TUD_VIDEO_STREAMING CONFIG_TINYUSB_VIDEO_STREAMING_IFS
127
132
#define CFG_TUD_VIDEO_STREAMING_EP_BUFSIZE CONFIG_TINYUSB_VIDEO_STREAMING_BUFSIZE
128
133
134
+ // DFU buffer size
135
+ #define CFG_TUD_DFU_XFER_BUFSIZE CONFIG_TINYUSB_DFU_BUFSIZE
136
+
129
137
// VENDOR FIFO size of TX and RX
130
138
#define CFG_TUD_VENDOR_RX_BUFSIZE CONFIG_TINYUSB_VENDOR_RX_BUFSIZE
131
139
#define CFG_TUD_VENDOR_TX_BUFSIZE CONFIG_TINYUSB_VENDOR_TX_BUFSIZE
You can’t perform that action at this time.
0 commit comments