summaryrefslogtreecommitdiff
path: root/components/drivers/KConfig
diff options
context:
space:
mode:
authoruestczyh222 <[email protected]>2017-11-21 22:37:22 +0800
committeruestczyh222 <[email protected]>2017-11-21 22:44:13 +0800
commitbd566e6a37a99f311e95e5bd2a0b8aac265aca4d (patch)
tree2c03a77253926b74f33cbb37c25b8df193f60bf2 /components/drivers/KConfig
parent334da974c37f2dbec5e5cdc5c59074f3425cd808 (diff)
[Components][Drivers][USB] Add CDC-ECM class (LWIP on USB)
Windows下没驱动 linux和mac下免驱
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