diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-02 12:25:17 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-02 12:25:17 -0600 |
commit | 03a3769c31fc38a1924f09ff73e2ac0184394edd (patch) | |
tree | 481197b435727d84e241ca886f8f415d283046cc /apps/examples/composite | |
parent | d9c168ba948cce7aae564420bc7e4334b8164020 (diff) | |
download | nuttx-03a3769c31fc38a1924f09ff73e2ac0184394edd.tar.gz nuttx-03a3769c31fc38a1924f09ff73e2ac0184394edd.tar.bz2 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/composite')
-rw-r--r-- | apps/examples/composite/Kconfig | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/apps/examples/composite/Kconfig b/apps/examples/composite/Kconfig index d2d62043c..4d55d5548 100644 --- a/apps/examples/composite/Kconfig +++ b/apps/examples/composite/Kconfig @@ -10,5 +10,55 @@ config EXAMPLES_COMPOSITE Enable the USB compsite class driver example if EXAMPLES_COMPOSITE +config EXAMPLES_COMPOSITE_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_COMPOSITE_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_COMPOSITE_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_COMPOSITE_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_COMPOSITE_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 |