[Components][USB]Add stack size config

This commit is contained in:
zyh 2018-04-23 20:09:01 +08:00
parent d5da0601a7
commit 4c0be8c776
1 changed files with 5 additions and 1 deletions

View File

@ -180,7 +180,11 @@ menu "Using USB"
config RT_USING_USB_DEVICE
bool "Using USB device"
default n
if RT_USING_USB_DEVICE || RT_USING_USB_HOST
config RT_USBD_THREAD_STACK_SZ
int "usb thread stack size"
default 4096
endif
if RT_USING_USB_DEVICE
config USB_VENDOR_ID
hex "USB Vendor ID"