Warning, /bsps/arm/rtl22xx/config/rtl22xx.cfg is written in an unsupported language. File is not indexed.
0001 #
0002 # Config file for LPC22xx board
0003 #
0004
0005 include $(RTEMS_ROOT)/make/custom/default.cfg
0006
0007 RTEMS_CPU=arm
0008
0009 # This contains the compiler options necessary to select the CPU model
0010 # and (hopefully) optimize for it.
0011 #
0012 CPU_CFLAGS = -mcpu=arm7tdmi
0013
0014 # optimize flag: typically -0, could use -O4 or -fast
0015 # -O4 is ok for RTEMS
0016 # NOTE2: some level of -O may be actually required by inline assembler (at least
0017 # -O2 so far.
0018 CFLAGS_OPTIMIZE_V = -Os -g
0019 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0020
0021 LDFLAGS = -Wl,--gc-sections