From 03a3769c31fc38a1924f09ff73e2ac0184394edd Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 2 Sep 2013 12:25:17 -0600 Subject: Add example configurations that enable USB trace options must have Kconfig options to select the trace output --- apps/examples/usbserial/Kconfig | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'apps/examples/usbserial') 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 -- cgit v1.2.3