summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg
blob: f2f54d4fccb3030d75394729e72d8a5f0cc0486c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
#  Config file for LPC22xx board in Thumb mode
#
#  $Id$
#

#  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 \
	-fno-schedule-insns2

#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