summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2013-05-12 01:00:11 -0700
committerqiuyiuestc <[email protected]>2013-05-12 01:00:11 -0700
commitf7d1097e6ba5aa1960afd9b8e1670d141678dc9c (patch)
tree52c69dfea7996514fa1c2391c3ef25199ed7c46b /components/drivers/include
parentf1e34eef113791bcade4befaa60b347e8cbc4ba7 (diff)
parentb3e38f53b49d616731bdfd47be6f35dfb8a6e18f (diff)
Merge pull request #87 from grissiom/static-usbd
Static usbd
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/usb_common.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/usb_common.h b/components/drivers/include/drivers/usb_common.h
index 5881e11dc6..9b7f3873e1 100644
--- a/components/drivers/include/drivers/usb_common.h
+++ b/components/drivers/include/drivers/usb_common.h
@@ -374,6 +374,20 @@ typedef struct ustorage_csw* ustorage_csw_t;
#pragma pack()
+/*
+ * USB device event loop thread configurations
+ */
+/* the stack size of USB thread */
+#ifndef RT_USBD_THREAD_STACK_SZ
+#define RT_USBD_THREAD_STACK_SZ 2048
+#endif
+
+/* the priority of USB thread */
+#ifndef RT_USBD_THREAD_PRIO
+#define RT_USBD_THREAD_PRIO 8
+#endif
+
+
#ifdef __cplusplus
}
#endif