summaryrefslogtreecommitdiff
path: root/apps/nshlib/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-25 22:10:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-25 22:10:40 +0000
commit7678a8287c4a198ba6811f45b9bba934b2a5716b (patch)
treefa1aaf27248cfc57d4bc9c9f1f066b98e93d0191 /apps/nshlib/README.txt
parent385b0fd6504ea1cb35b52cb425b5c37a62afa91d (diff)
downloadpx4-nuttx-7678a8287c4a198ba6811f45b9bba934b2a5716b.tar.gz
px4-nuttx-7678a8287c4a198ba6811f45b9bba934b2a5716b.tar.bz2
px4-nuttx-7678a8287c4a198ba6811f45b9bba934b2a5716b.zip
Fix packet size calculation in CDC/ACM and PL2303 USB serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4771 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/README.txt')
-rw-r--r--apps/nshlib/README.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt
index ee47767a9..42e831ddc 100644
--- a/apps/nshlib/README.txt
+++ b/apps/nshlib/README.txt
@@ -916,6 +916,33 @@ NSH-Specific Configuration Settings
CDC/ACM serial device as a console device at
dev/console.
+ CONFIG_NSH_USBCONSOLE
+ If defined, then the an arbitrary USB device may be used
+ to as the NSH console. In this case, CONFIG_NSH_USBCONDEV
+ must be defined to indicate which USB device to use as
+ the console.
+
+ CONFIG_NSH_USBCONDEV
+ If CONFIG_NSH_USBCONSOLE is set to 'y', then CONFIG_NSH_USBCONDEV
+ must also be set to select the USB device used to support
+ the NSH console. This should be set to the quoted name of a
+ readable/write-able USB driver such as:
+ CONFIG_NSH_USBCONDEV="/dev/ttyACM0".
+
+ If there are more than one USB devices, then a USB device
+ minor number may also need to be provided:
+
+ CONFIG_NSH_UBSDEV_MINOR
+ The minor device number of the USB device. Default: 0
+
+ If USB tracing is enabled, then NSH will initialize USB
+ tracing as requested by the following:
+
+ CONFIG_NSH_UBSDEV_TRACEINIT
+ Bit set with each bit enabling a trace option (see
+ include/nuttx/usb/usbdev_trace.h). Default: Only USB errors
+ are traced.
+
* CONFIG_NSH_CONDEV
If CONFIG_NSH_CONSOLE is set to 'y', then CONFIG_NSH_CONDEV
may also be set to select the serial device used to support