summaryrefslogtreecommitdiff
path: root/apps/examples/usbserial
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-09-02 12:25:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-09-02 12:25:17 -0600
commit03a3769c31fc38a1924f09ff73e2ac0184394edd (patch)
tree481197b435727d84e241ca886f8f415d283046cc /apps/examples/usbserial
parentd9c168ba948cce7aae564420bc7e4334b8164020 (diff)
downloadpx4-nuttx-03a3769c31fc38a1924f09ff73e2ac0184394edd.tar.gz
px4-nuttx-03a3769c31fc38a1924f09ff73e2ac0184394edd.tar.bz2
px4-nuttx-03a3769c31fc38a1924f09ff73e2ac0184394edd.zip
Add example configurations that enable USB trace options must have Kconfig options to select the trace output
Diffstat (limited to 'apps/examples/usbserial')
-rw-r--r--apps/examples/usbserial/Kconfig51
1 files changed, 51 insertions, 0 deletions
diff --git a/apps/examples/usbserial/Kconfig b/apps/examples/usbserial/Kconfig
index 33a0243eb..2154eb39d 100644
--- a/apps/examples/usbserial/Kconfig
+++ b/apps/examples/usbserial/Kconfig
@@ -10,4 +10,55 @@ config EXAMPLES_USBSERIAL
Enable the USB serial test example
if EXAMPLES_USBSERIAL
+
+config EXAMPLES_USBSERIAL_TRACEINIT
+ bool "USB Trace Initialization"
+ default n
+ depends on USBDEV_TRACE || DEBUG_USB
+ ---help---
+ If USBDEV_TRACE is enabled (or DEBUG and DEBUG_USB),
+ 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---
+ If USBDEV_TRACE is enabled (or DEBUG and DEBUG_USB),
+ 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---
+ If USBDEV_TRACE is enabled (or DEBUG and DEBUG_USB),
+ 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---
+ If USBDEV_TRACE is enabled (or DEBUG and DEBUG_USB),
+ 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---
+ If USBDEV_TRACE is enabled (or DEBUG and DEBUG_USB),
+ 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.
+
endif