summaryrefslogtreecommitdiffstats
path: root/bsps/arm/rtl22xx/config/rtl22xx_t.cfg
blob: b89ad7bc834990f320ee0667277e8182c844399d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
#  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

CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

LDFLAGS = -Wl,--gc-sections