diff options
| author | qiuyiuestc <[email protected]> | 2013-05-12 01:00:11 -0700 |
|---|---|---|
| committer | heyuanjie87 <[email protected]> | 2013-05-16 17:19:26 +0800 |
| commit | 713b1f00a6a02a488f4c3d05bcec48c77bddf38f (patch) | |
| tree | 52c69dfea7996514fa1c2391c3ef25199ed7c46b /components/drivers/include | |
| parent | f1e34eef113791bcade4befaa60b347e8cbc4ba7 (diff) | |
| parent | b3e38f53b49d616731bdfd47be6f35dfb8a6e18f (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.h | 14 |
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 |
