summaryrefslogtreecommitdiffstats
path: root/make
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
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')
-rw-r--r--make/ChangeLog5
-rw-r--r--make/custom/rtl22xx_t.cfg20
2 files changed, 25 insertions, 0 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index 3cda076d41..8cb14fdcaa 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,3 +1,8 @@
+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
+
2007-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/icecube.cfg: Rename EP5200 to IceCube since that is the
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