From ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 7 Mar 2013 01:52:30 +0000 Subject: More LPC1788 changes from Rommel Marcelo + a few kernel build fixes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5715 42af7a65-404d-4744-a932-0658087f49c3 --- apps/nshlib/nsh_parse.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/nshlib/nsh_parse.c') diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c index 4ee86b4cc..d5ffd81ee 100644 --- a/apps/nshlib/nsh_parse.c +++ b/apps/nshlib/nsh_parse.c @@ -302,7 +302,11 @@ static const struct cmdmap_s g_cmdmap[] = #if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_FS_READABLE) # ifndef CONFIG_NSH_DISABLE_MOUNT +# ifdef CONFIG_NUTTX_KERNEL + { "mount", cmd_mount, 5, 5, "-t [] " }, +# else { "mount", cmd_mount, 1, 5, "[-t [] ]" }, +# endif # endif #endif -- cgit v1.2.3