summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/usbd_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/usbd_conf.h')
-rw-r--r--stmhal/usbd_conf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stmhal/usbd_conf.h b/stmhal/usbd_conf.h
index 8c02ad0ec2..cc3ad73f98 100644
--- a/stmhal/usbd_conf.h
+++ b/stmhal/usbd_conf.h
@@ -48,6 +48,9 @@
#define USBD_SELF_POWERED 0
#define USBD_DEBUG_LEVEL 0
+// for MSC device
+#define MSC_MEDIA_PACKET 8192
+
/* Exported macro ------------------------------------------------------------*/
/* Memory management macros */
#define USBD_malloc gc_alloc