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
|
|
|
|
|
|
|
config EXAMPLES_USBSERIAL
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "USB serial test example"
|
2012-04-13 04:14:09 +02:00
|
|
|
default n
|
2021-08-01 08:59:37 +02:00
|
|
|
depends on BOARDCTL
|
2016-03-26 14:13:57 +01:00
|
|
|
select BOARDCTL_USBDEVCTRL
|
2012-04-13 04:14:09 +02:00
|
|
|
---help---
|
|
|
|
Enable the USB serial test example
|
|
|
|
|
|
|
|
if EXAMPLES_USBSERIAL
|
2013-09-02 20:25:17 +02:00
|
|
|
|
2015-08-20 18:40:31 +02:00
|
|
|
config EXAMPLES_USBSERIAL_BUFSIZE
|
|
|
|
int "Target I/O Buffer Size"
|
|
|
|
default 512
|
|
|
|
---help---
|
|
|
|
The size of the array that is used as an I/O buffer for USB serial
|
|
|
|
data transfers.
|
|
|
|
|
2013-09-02 20:25:17 +02:00
|
|
|
config EXAMPLES_USBSERIAL_TRACEINIT
|
|
|
|
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-02 20:25:17 +02:00
|
|
|
then the example 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 EXAMPLES_USBSERIAL_TRACECLASS
|
|
|
|
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-02 20:25:17 +02:00
|
|
|
then the example 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 EXAMPLES_USBSERIAL_TRACETRANSFERS
|
|
|
|
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-02 20:25:17 +02:00
|
|
|
then the example 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 EXAMPLES_USBSERIAL_TRACECONTROLLER
|
|
|
|
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-02 20:25:17 +02:00
|
|
|
then the example 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 EXAMPLES_USBSERIAL_TRACEINTERRUPTS
|
|
|
|
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-02 20:25:17 +02:00
|
|
|
then the example 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.
|
|
|
|
|
2012-04-13 04:14:09 +02:00
|
|
|
endif
|