summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/usbd_conf.h
diff options
context:
space:
mode:
authorRachel Dowdall <rjdowdall@gmail.com>2014-03-22 12:17:36 +0000
committerRachel Dowdall <rjdowdall@gmail.com>2014-03-22 12:17:36 +0000
commit17f45d41fefdb75fb76fca00ce4d7d5e158b6ea5 (patch)
tree36077e73d30aa91f94ed74b707facc86b7ed7937 /stmhal/usbd_conf.h
parent300c8bd4c2c0c6d626a6aaeb873c22a8f8b9fc3f (diff)
parentda8d21e0dd236ae5e31bfac4ff8d5b73ddd49282 (diff)
downloadmicropython-17f45d41fefdb75fb76fca00ce4d7d5e158b6ea5.tar.gz
micropython-17f45d41fefdb75fb76fca00ce4d7d5e158b6ea5.zip
Merge remote-tracking branch 'upstream/master'
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