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"