forked from Imagelibrary/rtems
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:
@@ -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.
|
||||
|
||||
24
c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
Normal file
24
c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx.cfg
Normal 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
|
||||
20
c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg
Normal file
20
c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg
Normal 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
|
||||
Reference in New Issue
Block a user