Subversion Repositories Projects

Rev

Rev 316 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
316 dhylands 1
###########################################################################
2
#
3
#	lpc17xx.mk
4
#
5
#	Contains definitions specific to the NXP LPC17xx
6
#
7
###########################################################################
8
 
9
LPC17XX_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
10
 
11
CROSS_COMPILE	= arm-bare_newlib_cortex_m3_nommu-eabi-
12
 
13
LD_SCRIPT	= $(LPC17XX_DIR)/lpc17xx.ld
14
 
15
CPPFLAGS	= -I. -I$(LPC17XX_DIR) -I$(FREE_RTOS_SRC)/include -I$(FREE_RTOS_SRC)/portable/GCC/ARM_CM3
16
 
17
CFLAGS		= -mthumb         \
18
		  -mcpu=cortex-m3 \
19
		  -O1             \
317 dhylands 20
		  -g		  \
316 dhylands 21
		  -DPACK_STRUCT_END=__attribute\(\(packed\)\) \
22
		  -DALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) \
23
		  -MD
24
 
25
include $(LPC17XX_DIR)/../free-rtos.mk
26
 
27
vpath	%.c	$(LPC17XX_DIR) $(FREE_RTOS_SRC) $(FREE_RTOS_SRC)/portable/MemMang $(FREE_RTOS_SRC)/portable/GCC/ARM_CM3
28