summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-01 19:08:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-01 19:08:04 +0000
commit00b2545e9e3cc760255aa7b4fc953ad5ab97ba62 (patch)
tree90f908d15691555fdf19c21eeae7b55187b73803 /nuttx/arch/sim
parent6e09d7aab47a47e36f56d9b33bd6e87e96e2af2c (diff)
downloadpx4-nuttx-00b2545e9e3cc760255aa7b4fc953ad5ab97ba62.tar.gz
px4-nuttx-00b2545e9e3cc760255aa7b4fc953ad5ab97ba62.tar.bz2
px4-nuttx-00b2545e9e3cc760255aa7b4fc953ad5ab97ba62.zip
Add support for accessing printf, sprintf, puts, etc. strings that do not lie in the MCU data space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3738 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim')
-rw-r--r--nuttx/arch/sim/src/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/arch/sim/src/Makefile b/nuttx/arch/sim/src/Makefile
index 8e2fc56de..f32f17b01 100644
--- a/nuttx/arch/sim/src/Makefile
+++ b/nuttx/arch/sim/src/Makefile
@@ -64,9 +64,15 @@ HOSTSRCS = up_stdio.c up_hostusleep.c
ifeq ($(USEX),y)
HOSTSRCS += up_x11framebuffer.c
endif
+
ifeq ($(CONFIG_FS_FAT),y)
CSRCS += up_blockdevice.c up_deviceimage.c
endif
+
+ifeq ($(CONFIG_ARCH_ROMGETC),y)
+CSRCS += up_romgetc.c
+endif
+
ifeq ($(CONFIG_NET),y)
CSRCS += up_uipdriver.c
HOSTCFLAGS += -DNETDEV_BUFSIZE=$(CONFIG_NET_BUFSIZE)