summaryrefslogtreecommitdiff
path: root/apps/examples/usbterm
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/usbterm
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/usbterm')
-rw-r--r--apps/examples/usbterm/Kconfig51
1 files changed, 51 insertions, 0 deletions
diff --git a/apps/examples/usbterm/Kconfig b/apps/examples/usbterm/Kconfig
index 622b7ad88..cf891c905 100644
--- a/apps/examples/usbterm/Kconfig
+++ b/apps/examples/usbterm/Kconfig
@@ -10,4 +10,55 @@ config EXAMPLES_USBTERM
Enable the USB serial terminal example
if EXAMPLES_USBTERM
+
+config EXAMPLES_USBTERM_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_USBTERM_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_USBTERM_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_USBTERM_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_USBTERM_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