summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/rtl22xx/make/custom/rtl22xx_t.cfg
blob: 9f260433beb32defab8c71fd072d776124421762 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#  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

#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