summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorguo <[email protected]>2021-10-25 09:57:20 +0800
committerGitHub <[email protected]>2021-10-25 09:57:20 +0800
commit574e11f62a1fb4561b9402572ed05bb470952497 (patch)
tree43e14e420ac431c97ac612e5403acaf3162202a8 /components
parentdf634978f223cfc78273c8928539a48ebcaaa913 (diff)
parentc1d3d874948985f8f9c4f374e9b9858c9d54f220 (diff)
Merge pull request #5183 from tfx2001/tinyusb_stm32
[bsp][stm32] add TinyUSB support
Diffstat (limited to 'components')
-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"