summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-06 22:54:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-06 22:54:59 +0000
commit42fff325eb6b1d08f4680ec224c5c3e68a24054d (patch)
tree7e673cadd30c8c48c571fdb0f9cf69b4ac4f53ce /make/custom
parent2007-11-03 Ray Xu <rayx.cn@gmail.com> (diff)
downloadrtems-42fff325eb6b1d08f4680ec224c5c3e68a24054d.tar.bz2
2007-11-03 Ray Xu <rayx.cn@gmail.com>
* custom/rtl22xx_t.cfg: New file, rtl22xx_t is a new bsp compiled with THUMB enabled
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/rtl22xx_t.cfg20
1 files changed, 20 insertions, 0 deletions
diff --git a/make/custom/rtl22xx_t.cfg b/make/custom/rtl22xx_t.cfg
new file mode 100644
index 0000000000..c12f9f148b
--- /dev/null
+++ b/make/custom/rtl22xx_t.cfg
@@ -0,0 +1,20 @@
+#
+# Config file for LPC22xx board in Thumb mode
+#
+# $Id$
+#
+set USE_THUMB_MODE=YES
+
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
+#
+
+include $(RTEMS_ROOT)/make/custom/rtl22xx.cfg
+
+CPU_CFLAGS += -mthumb
+
+#CFLAG: -mthumb-interwork can add veneer between ARM and Thumb code.
+#CPU_CFLAGS += -mthumb-interwork -D __THUMB_INTERWORK__ -mthumb
+#CPU_ASFLAGS += -D __THUMB_INTERWORK__ -mthumb-interwork
+
+# Miscellaneous additions go here