Browse Source

Merge pull request #1379 from uestczyh222/master

[Components][USB]Add stack size config
ZYH 7 years ago
parent
commit
f05e74061f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      components/drivers/Kconfig

+ 5 - 1
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"