summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh_main.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-07 13:42:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-09-07 13:42:55 +0000
commit33ebc18c23173530e25b9585010e3411530f4940 (patch)
tree3168654f7c9ee4ffb5124dd9f0990369c5e79852 /nuttx/examples/nsh/nsh_main.c
parenta5f7cf98731bec3e33558a7805c37463e0d634ae (diff)
downloadpx4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.tar.gz
px4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.tar.bz2
px4-nuttx-33ebc18c23173530e25b9585010e3411530f4940.zip
Add NSH xd command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@892 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh_main.c')
-rw-r--r--nuttx/examples/nsh/nsh_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/examples/nsh/nsh_main.c b/nuttx/examples/nsh/nsh_main.c
index e58836fcc..68de85285 100644
--- a/nuttx/examples/nsh/nsh_main.c
+++ b/nuttx/examples/nsh/nsh_main.c
@@ -210,7 +210,8 @@ static const struct cmdmap_s g_cmdmap[] =
#ifndef CONFIG_DISABLE_SIGNALS
{ "usleep", cmd_usleep, 2, 2, "<usec>" },
#endif /* CONFIG_DISABLE_SIGNALS */
- { NULL, NULL, 1, 1, NULL }
+ { "xd", cmd_xd, 3, 3, "<hex-address> <byte-count>" },
+ { NULL, NULL, 1, 1, NULL }
};
/****************************************************************************