2012-04-06 18:33:17 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 18:33:17 +02:00
|
|
|
#
|
2012-04-13 04:14:09 +02:00
|
|
|
|
2015-04-07 21:23:39 +02:00
|
|
|
menuconfig SYSTEM_CDCACM
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "USB CDC/ACM Device Commands"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2016-03-26 14:13:57 +01:00
|
|
|
depends on LIB_BOARDCTL && CDCACM
|
|
|
|
select BOARDCTL_USBDEVCTRL
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
2013-09-26 01:23:03 +02:00
|
|
|
Enable the USB CDC/ACM class controls. These controls include:
|
2012-04-13 04:14:09 +02:00
|
|
|
|
2013-09-26 01:23:03 +02:00
|
|
|
sercon: Connect the mass storage device to the host
|
|
|
|
serdis: Disconnect the mass storage device to the host
|
2013-09-02 20:25:17 +02:00
|
|
|
|
2013-09-26 01:23:03 +02:00
|
|
|
if SYSTEM_CDCACM
|
|
|
|
|
|
|
|
config SYSTEM_CDCACM_DEVMINOR
|
2013-09-02 20:25:17 +02:00
|
|
|
int "CDC/ACM Minor Device Number"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
The minor device number of the serial driver for the CDC/ACM device.
|
|
|
|
For example, N in /dev/ttyACMN. Used for registering the serial
|
|
|
|
driver. Default is zero.
|
|
|
|
|
2013-09-26 01:23:03 +02:00
|
|
|
config SYSTEM_CDCACM_TRACEINIT
|
2013-09-02 20:25:17 +02:00
|
|
|
bool "USB Trace Initialization"
|
|
|
|
default n
|
|
|
|
depends on USBDEV_TRACE || DEBUG_USB
|
|
|
|
---help---
|
2016-06-11 22:13:39 +02:00
|
|
|
If USBDEV_TRACE is enabled (or CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_USB),
|
2013-09-26 01:23:03 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
2013-09-02 20:25:17 +02:00
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB initialization events
|
|
|
|
|
2013-09-26 01:23:03 +02:00
|
|
|
config SYSTEM_CDCACM_TRACECLASS
|
2013-09-02 20:25:17 +02:00
|
|
|
bool "USB Trace Class"
|
|
|
|
default n
|
|
|
|
depends on USBDEV_TRACE || DEBUG_USB
|
|
|
|
---help---
|
2016-06-11 22:13:39 +02:00
|
|
|
If USBDEV_TRACE is enabled (or CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_USB),
|
2013-09-26 01:23:03 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
2013-09-02 20:25:17 +02:00
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB class driver events
|
|
|
|
|
2013-09-26 01:23:03 +02:00
|
|
|
config SYSTEM_CDCACM_TRACETRANSFERS
|
2013-09-02 20:25:17 +02:00
|
|
|
bool "USB Trace Transfers"
|
|
|
|
default n
|
|
|
|
depends on USBDEV_TRACE || DEBUG_USB
|
|
|
|
---help---
|
2016-06-11 22:13:39 +02:00
|
|
|
If USBDEV_TRACE is enabled (or CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_USB),
|
2013-09-26 01:23:03 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
2013-09-02 20:25:17 +02:00
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB data transfer events
|
|
|
|
|
2013-09-26 01:23:03 +02:00
|
|
|
config SYSTEM_CDCACM_TRACECONTROLLER
|
2013-09-02 20:25:17 +02:00
|
|
|
bool "USB Trace Device Controller Events"
|
|
|
|
default n
|
|
|
|
depends on USBDEV_TRACE || DEBUG_USB
|
|
|
|
---help---
|
2016-06-11 22:13:39 +02:00
|
|
|
If USBDEV_TRACE is enabled (or CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_USB),
|
2013-09-26 01:23:03 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
2013-09-02 20:25:17 +02:00
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB device controller events
|
|
|
|
|
2013-09-26 01:23:03 +02:00
|
|
|
config SYSTEM_CDCACM_TRACEINTERRUPTS
|
2013-09-02 20:25:17 +02:00
|
|
|
bool "USB Trace Device Controller Interrupt Events"
|
|
|
|
default n
|
|
|
|
depends on USBDEV_TRACE || DEBUG_USB
|
|
|
|
---help---
|
2016-06-11 22:13:39 +02:00
|
|
|
If USBDEV_TRACE is enabled (or CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_USB),
|
2013-09-26 01:23:03 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
2013-09-02 20:25:17 +02:00
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB device controller interrupt-related events.
|
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|