diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-09 14:54:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-09 14:54:29 +0000 |
commit | d04ce723f0872cda3ebcc496efd45965a6ec3a70 (patch) | |
tree | 5dec10051ddb12ddf1d6d7f02c69d09ad2a27895 /apps/nshlib/nsh_parse.c | |
parent | bf340e0ab5a30b324ce56d09f6be0fa630990327 (diff) | |
download | px4-firmware-d04ce723f0872cda3ebcc496efd45965a6ec3a70.tar.gz px4-firmware-d04ce723f0872cda3ebcc496efd45965a6ec3a70.tar.bz2 px4-firmware-d04ce723f0872cda3ebcc496efd45965a6ec3a70.zip |
Several patches from Petteri Aimonen (mostly NxWidgets)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5324 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_parse.c')
-rw-r--r-- | apps/nshlib/nsh_parse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c index bf2b8a4a4..abdf5c321 100644 --- a/apps/nshlib/nsh_parse.c +++ b/apps/nshlib/nsh_parse.c @@ -226,6 +226,12 @@ static const struct cmdmap_s g_cmdmap[] = { "help", cmd_help, 1, 3, "[-v] [<cmd>]" }, # endif #endif + +#if CONFIG_NFILE_DESCRIPTORS > 0 +#ifndef CONFIG_NSH_DISABLE_HEXDUMP + { "hexdump", cmd_hexdump, 2, 2, "<file or device>" }, +#endif +#endif #ifdef CONFIG_NET # ifndef CONFIG_NSH_DISABLE_IFCONFIG |