summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:08:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-15 09:08:02 +0000
commit45a3b3031ebe796e16966a962be4b8efdcd8306a (patch)
tree5f94af914835cc85a0336d0e7bdb1d17c6c91fa2 /c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
parent2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-45a3b3031ebe796e16966a962be4b8efdcd8306a.tar.bz2
2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/rtl22xx.cfg: New (relocated from /make/custom). * make/custom/rtl22xx_t.cfg: New (relocated from /make/custom).
Diffstat (limited to 'c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg')
-rw-r--r--c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg24
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg b/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
new file mode 100644
index 0000000000..c8778463cb
--- /dev/null
+++ b/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
@@ -0,0 +1,24 @@
+#
+# Config file for LPC22xx board
+#
+# $Id$
+#
+
+include $(RTEMS_ROOT)/make/custom/default.cfg
+
+RTEMS_CPU=arm
+RTEMS_CPU_MODEL=lpc22xx
+
+# This is the actual bsp directory used during the build process.
+RTEMS_BSP_FAMILY=rtl22xx
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+CPU_CFLAGS = -mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame
+
+# optimize flag: typically -0, could use -O4 or -fast
+# -O4 is ok for RTEMS
+# NOTE2: some level of -O may be actually required by inline assembler (at least
+# -O2 so far.
+CFLAGS_OPTIMIZE_V = -Os -g -DNDEBUG