summaryrefslogtreecommitdiff
path: root/components/drivers/KConfig
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-11-22 09:13:06 +0800
committerGitHub <[email protected]>2017-11-22 09:13:06 +0800
commit3be8cfa2abf20a7c22e9db5d10d1c3148aad2e5f (patch)
tree2c03a77253926b74f33cbb37c25b8df193f60bf2 /components/drivers/KConfig
parent334da974c37f2dbec5e5cdc5c59074f3425cd808 (diff)
parentbd566e6a37a99f311e95e5bd2a0b8aac265aca4d (diff)
Merge pull request #1024 from uestczyh222/master
[Components][Drivers][USB] Add CDC-ECM class (LWIP on USB)
Diffstat (limited to 'components/drivers/KConfig')
-rw-r--r--components/drivers/KConfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/drivers/KConfig b/components/drivers/KConfig
index d968f7837f..6770a7815d 100644
--- a/components/drivers/KConfig
+++ b/components/drivers/KConfig
@@ -132,6 +132,10 @@ menu "Using USB"
config _RT_USB_DEVICE_HID
bool "Enable to use device as HID device"
select RT_USB_DEVICE_HID
+ config _RT_USB_DEVICE_ECM
+ bool "Enable to use device as ecm device"
+ select RT_USB_DEVICE_ECM
+ depends on RT_USING_LWIP
endchoice
if RT_USB_DEVICE_COMPOSITE
config RT_USB_DEVICE_CDC
@@ -143,6 +147,10 @@ menu "Using USB"
config RT_USB_DEVICE_HID
bool "Enable to use device as HID device"
default n
+ config RT_USB_DEVICE_ECM
+ bool "Enable to use device as ecm device"
+ default n
+ depends on RT_USING_LWIP
endif
if RT_USB_DEVICE_HID