From 71d243809b6f25b4d1d4265c74a5ea6f5d763490 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 11 Dec 2007 14:24:49 +0000 Subject: Add ifconfig command to NSH git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@441 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/examples/README.txt | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'nuttx/examples/README.txt') 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//defconfig file: * CONFIG_NSH_IOBUFFERSIZE -- cgit v1.2.3