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).
This commit is contained in:
Ralf Corsepius
2009-10-15 09:08:02 +00:00
parent 64e08ab36e
commit 45a3b3031e
3 changed files with 49 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
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).
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.

View File

@@ -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

View File

@@ -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