2013-09-26 02:50:14 +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.
|
2013-09-26 02:50:14 +02:00
|
|
|
#
|
|
|
|
|
2015-04-07 21:23:39 +02:00
|
|
|
menuconfig SYSTEM_COMPOSITE
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "USB Composite Device Commands"
|
2013-09-26 02:50:14 +02:00
|
|
|
default n
|
2019-10-07 10:45:02 +02:00
|
|
|
depends on LIB_BOARDCTL && USBDEV_COMPOSITE && !BUILD_PROTECTED && !BUILD_KERNEL
|
2016-03-26 14:13:57 +01:00
|
|
|
select BOARDCTL_USBDEVCTRL
|
2013-09-26 02:50:14 +02:00
|
|
|
---help---
|
|
|
|
Enable the USB composite class controls. These controls include:
|
|
|
|
|
|
|
|
conn: Connect the mass storage device to the host
|
|
|
|
disconn: Disconnect the mass storage device to the host
|
|
|
|
|
|
|
|
if SYSTEM_COMPOSITE
|
2017-07-15 20:13:17 +02:00
|
|
|
|
|
|
|
config SYSTEM_COMPOSITE_DEFCONFIG
|
|
|
|
int "Default composite configuration"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Boards may support multiple composite configurations. If so, then
|
|
|
|
this is the default configuration that the conn command will use if
|
|
|
|
no configuration ID is provided on the command line.
|
|
|
|
|
2013-09-26 02:50:14 +02:00
|
|
|
if USBDEV_TRACE || DEBUG_USB
|
|
|
|
|
|
|
|
config SYSTEM_COMPOSITE_TRACEINIT
|
|
|
|
bool "USB Trace Initialization"
|
|
|
|
default n
|
|
|
|
---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 02:50:14 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB initialization events
|
|
|
|
|
|
|
|
config SYSTEM_COMPOSITE_TRACECLASS
|
|
|
|
bool "USB Trace Class"
|
|
|
|
default n
|
|
|
|
---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 02:50:14 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB class driver events
|
|
|
|
|
|
|
|
config SYSTEM_COMPOSITE_TRACETRANSFERS
|
|
|
|
bool "USB Trace Transfers"
|
|
|
|
default n
|
|
|
|
---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 02:50:14 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB data transfer events
|
|
|
|
|
|
|
|
config SYSTEM_COMPOSITE_TRACECONTROLLER
|
|
|
|
bool "USB Trace Device Controller Events"
|
|
|
|
default n
|
|
|
|
---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 02:50:14 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB device controller events
|
|
|
|
|
|
|
|
config SYSTEM_COMPOSITE_TRACEINTERRUPTS
|
|
|
|
bool "USB Trace Device Controller Interrupt Events"
|
|
|
|
default n
|
|
|
|
---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 02:50:14 +02:00
|
|
|
then the add-on code will also manage the USB trace output. The
|
|
|
|
amount of trace output can be controlled this configuration value:
|
|
|
|
This setting will show USB device controller interrupt-related events.
|
|
|
|
|
|
|
|
endif # USBDEV_TRACE || DEBUG_USB
|
|
|
|
|
|
|
|
config SYSTEM_COMPOSITE_DEBUGMM
|
|
|
|
bool "Memory usage debug"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables some debug tests to check for memory usage and memory leaks.
|
|
|
|
|
|
|
|
endif
|