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

#  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