summaryrefslogtreecommitdiff
path: root/nuttx/configs/vsn/nsh
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-08 00:27:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-08 00:27:35 +0000
commit8f66f424602e26f0a43a62beaa3c2aec7775c890 (patch)
tree28249f121ebc9fd071e24222304b4c0770b6fd86 /nuttx/configs/vsn/nsh
parentddd126cb2969bec42a4430b7d8fcdd45de4a42c1 (diff)
downloadpx4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.tar.gz
px4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.tar.bz2
px4-nuttx-8f66f424602e26f0a43a62beaa3c2aec7775c890.zip
Add support for platoform specific ROMFS startup files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3350 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/vsn/nsh')
-rw-r--r--nuttx/configs/vsn/nsh/Make.defs4
-rwxr-xr-xnuttx/configs/vsn/nsh/defconfig3
2 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/configs/vsn/nsh/Make.defs b/nuttx/configs/vsn/nsh/Make.defs
index d343a07c8..1bdc55d09 100644
--- a/nuttx/configs/vsn/nsh/Make.defs
+++ b/nuttx/configs/vsn/nsh/Make.defs
@@ -167,6 +167,10 @@ define CLEAN
@rm -f *.o *.a
endef
+define DOWNLOAD
+ @armst /dev/ttyUSB0 nuttx.srec
+endef
+
HOSTCC = gcc
HOSTINCLUDES = -I.
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe
diff --git a/nuttx/configs/vsn/nsh/defconfig b/nuttx/configs/vsn/nsh/defconfig
index a1eb5ed94..0f1d946b5 100755
--- a/nuttx/configs/vsn/nsh/defconfig
+++ b/nuttx/configs/vsn/nsh/defconfig
@@ -716,6 +716,8 @@ CONFIG_EXAMPLES_OSTEST_NBARRIER_THREADS=3
# CONFIG_EXAMPLES_NSH_NOMAC - Use a bogus MAC address
#
# If CONFIG_EXAMPLES_NSH_ROMFSETC is selected:
+# CONFIG_EXAMPLES_NSH_ARCHROMFS - May be defined to specify an alternative
+# ROMFS image that can be found at configs/<board>/include/nsh_romfsimg.h.
# CONFIG_EXAMPLES_NSH_ROMFSMOUNTPT - ROMFS mountpoint
# CONFIG_EXAMPLES_NSH_INITSCRIPT - Relative path to init script
# CONFIG_EXAMPLES_NSH_ROMFSDEVNO - ROMFS RAM device minor
@@ -742,6 +744,7 @@ CONFIG_EXAMPLES_NSH_NOMAC=n
CONFIG_EXAMPLES_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
CONFIG_EXAMPLES_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
+CONFIG_EXAMPLES_NSH_ARCHROMFS=y
CONFIG_EXAMPLES_NSH_ROMFSMOUNTPT="/etc"
CONFIG_EXAMPLES_NSH_INITSCRIPT="init.d/rcS"
CONFIG_EXAMPLES_NSH_ROMFSDEVNO=0