summaryrefslogtreecommitdiff
path: root/src/tusb_option.h
diff options
context:
space:
mode:
authorJeremiah McCarthy <[email protected]>2021-03-26 15:30:43 -0400
committerJeremiah McCarthy <[email protected]>2021-03-26 15:30:43 -0400
commit1138f8cc704e09af3335e253e5f244fde90d982f (patch)
tree568e5878d290888678f9f0d281752547970d2170 /src/tusb_option.h
parent161b8587bd435ae2dc6f0aafac41019a09580b80 (diff)
Add DFU Class per Version 1.1 Spec
Diffstat (limited to 'src/tusb_option.h')
-rw-r--r--src/tusb_option.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 6cbdefbf1..1af3ee672 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -237,6 +237,10 @@
#define CFG_TUD_DFU_RUNTIME 0
#endif
+#ifndef CFG_TUD_DFU_TRANSFER_BUFFER_SIZE
+ #define CFG_TUD_DFU_TRANSFER_BUFFER_SIZE 64
+#endif
+
#ifndef CFG_TUD_NET
#define CFG_TUD_NET 0
#endif