summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttShell.html
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-26 18:05:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-26 18:05:26 +0000
commit1caf0a84f85f55d2d34066797cd46ecea8c7627e (patch)
tree79d45d0fafaa9a0386e6c52ebcef2fc2d09233d4 /nuttx/Documentation/NuttShell.html
parent43a2d9869b3d779403c65fa99a8ba820af57ffa9 (diff)
downloadpx4-nuttx-1caf0a84f85f55d2d34066797cd46ecea8c7627e.tar.gz
px4-nuttx-1caf0a84f85f55d2d34066797cd46ecea8c7627e.tar.bz2
px4-nuttx-1caf0a84f85f55d2d34066797cd46ecea8c7627e.zip
Add support for the USB trace cability in NSH when a USB console is used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4774 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation/NuttShell.html')
-rw-r--r--nuttx/Documentation/NuttShell.html23
1 files changed, 19 insertions, 4 deletions
diff --git a/nuttx/Documentation/NuttShell.html b/nuttx/Documentation/NuttShell.html
index c601271c4..1a2a1da06 100644
--- a/nuttx/Documentation/NuttShell.html
+++ b/nuttx/Documentation/NuttShell.html
@@ -2218,13 +2218,28 @@ nsh>
</li>
</ul>
<p>
- If USB tracing is enabled, then NSH will initialize USB tracing as requested by the following:
+ If USB tracing is enabled (<code>CONFIG_USBDEV_TRACE</code>), then NSH will initialize USB tracing as requested by the following.
+ Default: Only USB errors are traced.
</p>
<ul>
<li>
- <code>CONFIG_NSH_UBSDEV_TRACEINIT</code>.
- Bit set with each bit enabling a trace option (see <code>include/nuttx/usb/usbdev_trace.h</code>).
- Default: Only USB errors are traced.
+ <code>CONFIG_NSH_USBDEV_TRACEINIT</code>.
+ Show initialization events
+ </li>
+ <li>
+ <code>CONFIG_NSH_USBDEV_TRACECLASS</code>.
+ Show class driver events
+ </li>
+ <li>
+ <code>CONFIG_NSH_USBDEV_TRACETRANSFERS</code>.
+ Show data transfer events
+ </li>
+ <li>
+ <code>CONFIG_NSH_USBDEV_TRACECONTROLLER</code>.
+ Show controller events
+ <li>
+ <code>CONFIG_NSH_USBDEV_TRACEINTERRUPTS</code>.
+ Show interrupt-related events.
</li>
</ul>
</td>