From 4c0be8c7767acc9c82a5f7cd0ca99ab9c190b8f6 Mon Sep 17 00:00:00 2001 From: zyh Date: Mon, 23 Apr 2018 20:09:01 +0800 Subject: [PATCH] [Components][USB]Add stack size config --- components/drivers/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"