summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh_main.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-10-15 17:26:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-10-15 17:26:05 +0000
commit2edd5de0e827fe992580f528e5b7181d55d3b587 (patch)
tree0b0ff87e933a2f86b8c10f92408f2931064a1756 /nuttx/examples/nsh/nsh_main.c
parentde69e9a67bddcb0f59cce0ca1c0d7277c854261c (diff)
downloadpx4-nuttx-2edd5de0e827fe992580f528e5b7181d55d3b587.tar.gz
px4-nuttx-2edd5de0e827fe992580f528e5b7181d55d3b587.tar.bz2
px4-nuttx-2edd5de0e827fe992580f528e5b7181d55d3b587.zip
Add NXP LPC214x-specific NSH support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1044 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh_main.c')
-rw-r--r--nuttx/examples/nsh/nsh_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/examples/nsh/nsh_main.c b/nuttx/examples/nsh/nsh_main.c
index 6acf48d53..7579c9fa3 100644
--- a/nuttx/examples/nsh/nsh_main.c
+++ b/nuttx/examples/nsh/nsh_main.c
@@ -856,9 +856,11 @@ int user_start(int argc, char *argv[])
/* Mount the /etc filesystem */
-#ifdef CONFIG_EXAMPLES_NSH_ROMFSETC
(void)nsh_romfsetc();
-#endif
+
+ /* Perform architecture-specific initialization (if available) */
+
+ (void)nsh_archinitialize();
/* Set the priority of this task to something in the middle so that 'nice'
* can both raise and lower the priority.