summaryrefslogtreecommitdiff
path: root/nuttx/configs/ntosd-dm320/udp
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-18 21:17:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-18 21:17:53 +0000
commit52fc121ac6444a506e2378225194faf5067008e4 (patch)
tree0cb19e0cbd0ca1deaeea6aba5022d4675a8b8111 /nuttx/configs/ntosd-dm320/udp
parente77fe99962337e339262ea579487eeb3ff50c4b4 (diff)
downloadpx4-nuttx-52fc121ac6444a506e2378225194faf5067008e4.tar.gz
px4-nuttx-52fc121ac6444a506e2378225194faf5067008e4.tar.bz2
px4-nuttx-52fc121ac6444a506e2378225194faf5067008e4.zip
Integrated mknxflat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1905 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ntosd-dm320/udp')
-rw-r--r--nuttx/configs/ntosd-dm320/udp/Make.defs4
-rw-r--r--nuttx/configs/ntosd-dm320/udp/defconfig4
2 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/ntosd-dm320/udp/Make.defs b/nuttx/configs/ntosd-dm320/udp/Make.defs
index 22b755237..0d183ad3a 100644
--- a/nuttx/configs/ntosd-dm320/udp/Make.defs
+++ b/nuttx/configs/ntosd-dm320/udp/Make.defs
@@ -59,7 +59,8 @@ ifeq ($(ARCHCCMAJOR),4)
else
ARCHCPUFLAGS = -mapcs-32 -mtune=arm9tdmi -march=armv5te -msoft-float -fno-builtin
endif
-ARCHPICFLAGS = -fpic
+
+ARCHPICFLAGS = -fpic -msingle-pic-base -mpic-register=r10
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
ARCHDEFINES =
ARCHINCLUDES = -I. -isystem $(TOPDIR)/include
@@ -67,6 +68,7 @@ ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/udp/ld.script
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES) -pipe
+CPICFLAGS = $(ARCHPICFLAGS) $(CFLAGS)
CPPFLAGS = $(ARCHINCLUDES) $(ARCHDEFINES)
AFLAGS = $(CFLAGS) -D__ASSEMBLY__
diff --git a/nuttx/configs/ntosd-dm320/udp/defconfig b/nuttx/configs/ntosd-dm320/udp/defconfig
index aae22728e..646611bd6 100644
--- a/nuttx/configs/ntosd-dm320/udp/defconfig
+++ b/nuttx/configs/ntosd-dm320/udp/defconfig
@@ -182,6 +182,9 @@ CONFIG_HAVE_LIBM=n
# CONFIG_SDCLONE_DISABLE. Disable cloning of all socket
# desciptors by task_create() when a new task is started. If
# set, all sockets will appear to be closed in the new task.
+# CONFIG_NXFLAT. Enable support for the NXFLAT binary format.
+# This format will support execution of NuttX binaries located
+# in a ROMFS filesystem (see examples/nxflat).
#
CONFIG_EXAMPLE=udp
CONFIG_DEBUG=n
@@ -204,6 +207,7 @@ CONFIG_SEM_NNESTPRIO=0
CONFIG_FDCLONE_DISABLE=n
CONFIG_FDCLONE_STDIO=n
CONFIG_SDCLONE_DISABLE=y
+CONFIG_NXFLAT=n
#
# The following can be used to disable categories of