summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzyh <[email protected]>2018-04-23 20:09:01 +0800
committerzyh <[email protected]>2018-04-23 20:09:01 +0800
commit4c0be8c7767acc9c82a5f7cd0ca99ab9c190b8f6 (patch)
tree87f3b6c7278ce8cb2bc6ef35af5a6747abcd4eb9
parentd5da0601a70adb9e53e04db25944c74335b03145 (diff)
[Components][USB]Add stack size config
-rwxr-xr-xcomponents/drivers/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 800b382b97..cec1b72cdf 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -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"