diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-03 16:25:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-03 16:25:02 -0600 |
commit | e64b7e3367eb7356bc7699a6d82c37eb0ec2fade (patch) | |
tree | 0126cfaa285b12bfcb2ca2a5cdc51b011e4b21ee /apps/nshlib/README.txt | |
parent | e196cbac058b891f899a57e05383e911e848c1b8 (diff) | |
download | px4-nuttx-e64b7e3367eb7356bc7699a6d82c37eb0ec2fade.tar.gz px4-nuttx-e64b7e3367eb7356bc7699a6d82c37eb0ec2fade.tar.bz2 px4-nuttx-e64b7e3367eb7356bc7699a6d82c37eb0ec2fade.zip |
NSH: Add an option to take stdin from a USB keyboard device
Diffstat (limited to 'apps/nshlib/README.txt')
-rw-r--r-- | apps/nshlib/README.txt | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt index d894c9deb..91cb19983 100644 --- a/apps/nshlib/README.txt +++ b/apps/nshlib/README.txt @@ -1183,8 +1183,7 @@ NSH-Specific Configuration Settings 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". + read-/write-able USB driver. Default: "/dev/ttyACM0". If there are more than one USB devices, then a USB device minor number may also need to be provided: @@ -1192,6 +1191,20 @@ NSH-Specific Configuration Settings CONFIG_NSH_USBDEV_MINOR The minor device number of the USB device. Default: 0 + CONFIG_NSH_USBKBD + Normally NSH uses the same device for stdin, stdout, and stderr. By + default, that device is /dev/console. If this option is selected, + then NSH will use a USB HID keyboard for stdin. In this case, the + keyboard is connected directly to the target (via a USB host + interface) and the data from the keyboard will drive NSH. NSH + output (stdout and stderr) will still go to /dev/console. + + CONFIG_NSH_USBKBD_DEVNAME + If NSH_USBKBD is set to 'y', then NSH_USBKBD_DEVNAME must also be + set to select the USB keyboard device used to support the NSH + console input. This should be set to the quoted name of a read- + able keyboard driver. Default: "/dev/kbda". + CONFIG_NSH_USBDEV_TRACE If USB tracing is enabled (CONFIG_USBDEV_TRACE), then NSH can be configured to show the buffered USB trace data afer each |