Merge pull request #1379 from uestczyh222/master

[Components][USB]Add stack size config
This commit is contained in:
ZYH 2018-04-23 20:13:08 +08:00 committed by GitHub
commit f05e74061f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -180,7 +180,11 @@ menu "Using USB"
config RT_USING_USB_DEVICE config RT_USING_USB_DEVICE
bool "Using USB device" bool "Using USB device"
default n 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 if RT_USING_USB_DEVICE
config USB_VENDOR_ID config USB_VENDOR_ID
hex "USB Vendor ID" hex "USB Vendor ID"