summaryrefslogtreecommitdiff
path: root/components/drivers/Kconfig
diff options
context:
space:
mode:
authortfx2001 <[email protected]>2021-10-14 19:40:01 +0800
committertfx2001 <[email protected]>2021-10-15 00:49:11 +0800
commitc1d3d874948985f8f9c4f374e9b9858c9d54f220 (patch)
tree3ecb2e5d84e0c62da0ca62ee1316b08ff7f10bfa /components/drivers/Kconfig
parent7fe03a76e6fe6bf1f97d37202754353f76d5b359 (diff)
[bsp][stm32] add TinyUSB support
Diffstat (limited to 'components/drivers/Kconfig')
-rwxr-xr-xcomponents/drivers/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index d3fd14b52d..159a6cbda3 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -623,9 +623,14 @@ menuconfig RT_USING_WIFI
endif
menu "Using USB"
+ config RT_USING_USB
+ bool
+ default n
+
config RT_USING_USB_HOST
bool "Using USB host"
default n
+ select RT_USING_USB
if RT_USING_USB_HOST
config RT_USBH_MSTORAGE
@@ -648,6 +653,8 @@ menu "Using USB"
config RT_USING_USB_DEVICE
bool "Using USB device"
default n
+ select RT_USING_USB
+
if RT_USING_USB_DEVICE || RT_USING_USB_HOST
config RT_USBD_THREAD_STACK_SZ
int "usb thread stack size"