summaryrefslogtreecommitdiffstats
path: root/make/custom/rtl22xx_t.cfg
blob: c12f9f148b5009e4ed291012fb7f9ca99cb3c5b6 (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$
#
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