aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc43xx
diff options
context:
space:
mode:
authorchrysn2012-10-19 19:05:27 +0200
committerchrysn2012-10-19 19:10:42 +0200
commit99d7b210323be1d87dd6cc34c9bb5c53e401b5c3 (patch)
tree4f6d3ec01951d2d16f7076329f557e909d4ebb91 /lib/lpc43xx
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/lpc43xx')
-rw-r--r--lib/lpc43xx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lpc43xx/Makefile b/lib/lpc43xx/Makefile
index a3a5361..efbba0d 100644
--- a/lib/lpc43xx/Makefile
+++ b/lib/lpc43xx/Makefile
@@ -28,7 +28,7 @@ AR = $(PREFIX)-ar
CFLAGS = -O2 -g3 -Wall -Wextra -I../../include -fno-common \
-mcpu=cortex-m4 -mthumb -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD \
- -mfloat-abi=hard -mfpu=fpv4-sp-d16
+ -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = gpio.o scu.o i2c.o ssp.o