summaryrefslogtreecommitdiff
path: root/nuttx/examples/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-12-11 14:24:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-12-11 14:24:49 +0000
commit71d243809b6f25b4d1d4265c74a5ea6f5d763490 (patch)
tree3ed44272a5f09444097e1c9dff416eb0f93967a8 /nuttx/examples/README.txt
parent795f8ff4f8135c5daf68a52ebadcef61b63be04d (diff)
downloadpx4-nuttx-71d243809b6f25b4d1d4265c74a5ea6f5d763490.tar.gz
px4-nuttx-71d243809b6f25b4d1d4265c74a5ea6f5d763490.tar.bz2
px4-nuttx-71d243809b6f25b4d1d4265c74a5ea6f5d763490.zip
Add ifconfig command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@441 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/README.txt')
-rw-r--r--nuttx/examples/README.txt28
1 files changed, 24 insertions, 4 deletions
diff --git a/nuttx/examples/README.txt b/nuttx/examples/README.txt
index eda3d5510..345c8e384 100644
--- a/nuttx/examples/README.txt
+++ b/nuttx/examples/README.txt
@@ -26,11 +26,31 @@ examples/ostest
examples/nsh
^^^^^^^^^^^^
- This directory containst the NuttShell (NSH). This is a primitive
+ This directory containst the NuttShell (NSH). This is a simple
shell-like application. With some additional development, NSH will
- someday be a great NuttX application debugger.
-
- The behavior of NSH can be modified with the following settings in
+ someday be a great NuttX application debugger. At present, NSH
+ supports the following commands:
+
+ Command Depends on Configuration
+ ---------- --------------------------
+ cat CONFIG_NFILE_DESCRIPTORS > 0
+ cp CONFIG_NFILE_DESCRIPTORS > 0
+ echo --
+ exec --
+ exit --
+ help --
+ ifconfig CONFIG_NET && CONFIG_NSOCKET_DESCRIPTORS > 0
+ ls CONFIG_NFILE_DESCRIPTORS > 0
+ mkdir !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0
+ mount !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0
+ ps --
+ set !CONFIG_DISABLE_ENVIRON
+ rm !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0
+ rmdir !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0
+ umount !CONFIG_DISABLE_MOUNTPOINT && CONFIG_NFILE_DESCRIPTORS > 0
+ unset !CONFIG_DISABLE_ENVIRON
+
+ Other behavior of NSH can be modified with the following settings in
the configs/<board-name>/defconfig file:
* CONFIG_NSH_IOBUFFERSIZE