summaryrefslogtreecommitdiff
path: root/nuttx/configs/z16f2800100zcog
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-10 21:10:30 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-10 21:10:30 +0000
commit1b270afcda91bcebe2674487eabde088993adc38 (patch)
tree6fe6b7e76905f2642b7ec4d8120811bd286451ae /nuttx/configs/z16f2800100zcog
parent42ce22d7fff7ccce602bb8d96f476fe93de20b92 (diff)
downloadpx4-nuttx-1b270afcda91bcebe2674487eabde088993adc38.tar.gz
px4-nuttx-1b270afcda91bcebe2674487eabde088993adc38.tar.bz2
px4-nuttx-1b270afcda91bcebe2674487eabde088993adc38.zip
Add Z16F head assembly
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@548 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z16f2800100zcog')
-rw-r--r--nuttx/configs/z16f2800100zcog/ostest/Make.defs8
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/configs/z16f2800100zcog/ostest/Make.defs b/nuttx/configs/z16f2800100zcog/ostest/Make.defs
index 3dd0ae9eb..758416249 100644
--- a/nuttx/configs/z16f2800100zcog/ostest/Make.defs
+++ b/nuttx/configs/z16f2800100zcog/ostest/Make.defs
@@ -92,6 +92,10 @@ ARCHINCLUDES = $(ARCHSTDINCLUDES) $(ARCHUSRINCLUDES)
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) \
$(ARCHCPUFLAGS) $(ARCHINCLUDES) $(ARCHDEFINES)
+CPPDEFINES = -D_Z16F2811AL -D_Z16K_SERIES -D_Z16F_SERIES -D__ASSEMBLY__
+CPPINCLUDES = -I$(TOPDIR)/include
+CPPFLAGS = $(CPPDEFINES) $(CPPINCLUDES)
+
# Librarian definitions
ARFLAGS = -quiet -warn
@@ -104,7 +108,7 @@ LINKCMDTEMPLATE = $(TOPDIR)/configs/z16f2800100zcog/ostest/ostest.linkcmd
CROSSDEV =
CC = $(ZDSBINDIR)/zneocc.exe
-CPP = $(ZDSBINDIR)/zneoasm.exe
+CPP = gcc -E
LD = $(ZDSBINDIR)/zneolink.exe
AS = $(ZDSBINDIR)/zneoasm.exe
AR = $(ZDSBINDIR)/zneolib.exe
@@ -136,7 +140,7 @@ define ARCHIVE
endef
define CLEAN
- @rm -f *.obj *.src *.lib *.hex
+ @rm -f *.obj *.src *.lib *.hex *.lst
endef
# This is the tool to use for dependencies (i.e., none)