Kconfig files: All USB-related options depend on CONFIG_LIB_BOARDCTRL and now set CONFIG_BOARDCTL_USBDEVCTL=y

This commit is contained in:
Gregory Nutt 2016-03-26 07:13:57 -06:00
parent 6951366eca
commit 0943afd2f9
5 changed files with 10 additions and 4 deletions

View File

@ -6,6 +6,8 @@
config EXAMPLES_USBSERIAL
bool "USB serial test example"
default n
depends on LIB_BOARDCTL
select BOARDCTL_USBDEVCTRL
---help---
Enable the USB serial test example

View File

@ -767,7 +767,8 @@ config NSH_CONSOLE
config NSH_USBCONSOLE
bool "Use a USB serial console"
default n
depends on NSH_CONSOLE && USBDEV && (CDCACM || PL2303)
depends on LIB_BOARDCTL && NSH_CONSOLE && USBDEV && (CDCACM || PL2303)
select BOARDCTL_USBDEVCTRL
---help---
If defined, then the an arbitrary USB serial device may be used
to as the NSH console. In this case, NSH_USBCONDEV must be defined

View File

@ -6,7 +6,8 @@
menuconfig SYSTEM_CDCACM
bool "USB CDC/ACM Device Commands"
default n
depends on CDCACM && !KERNEL_BUILD
depends on LIB_BOARDCTL && CDCACM
select BOARDCTL_USBDEVCTRL
---help---
Enable the USB CDC/ACM class controls. These controls include:

View File

@ -6,7 +6,8 @@
menuconfig SYSTEM_COMPOSITE
bool "USB Composite Device Commands"
default n
depends on USBDEV_COMPOSITE && !KERNEL_BUILD
depends on LIB_BOARDCTL && USBDEV_COMPOSITE && !KERNEL_BUILD
select BOARDCTL_USBDEVCTRL
---help---
Enable the USB composite class controls. These controls include:

View File

@ -6,7 +6,8 @@
menuconfig SYSTEM_USBMSC
bool "USB Mass Storage Device Commands"
default n
depends on USBMSC && !KERNEL_BUILD
depends on LIB_BOARDCTL && USBMSC && !KERNEL_BUILD
select BOARDCTL_USBDEVCTRL
---help---
Enable the USB mass storage class controls. These controls include: