aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc17xx
diff options
context:
space:
mode:
authorchrysn2012-10-19 19:05:27 +0200
committerchrysn2012-10-19 19:10:42 +0200
commit99d7b210323be1d87dd6cc34c9bb5c53e401b5c3 (patch)
tree4f6d3ec01951d2d16f7076329f557e909d4ebb91 /lib/lpc17xx
parent75c216582774549aede37db1d5d6b8485acfce17 (diff)
define platform specific constants for all chips
previously, only stm32 chips passed the information about which chip to build on into the compiler. this information is essential to dispatch, thus defining LPC13XX, LPC17XX, LPC43XX and LM3S in analogy to STM32F1..4.
Diffstat (limited to 'lib/lpc17xx')
-rw-r--r--lib/lpc17xx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lpc17xx/Makefile b/lib/lpc17xx/Makefile
index f5fa792..19fc152 100644
--- a/lib/lpc17xx/Makefile
+++ b/lib/lpc17xx/Makefile
@@ -25,7 +25,7 @@ CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
CFLAGS = -O0 -g -Wall -Wextra -I../../include -fno-common \
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
- -ffunction-sections -fdata-sections -MD
+ -ffunction-sections -fdata-sections -MD -DLPC17XX
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = gpio.o