aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc43xx
diff options
context:
space:
mode:
authorMichael Ossmann2012-05-22 14:20:39 -0600
committerMichael Ossmann2012-05-22 14:20:39 -0600
commit61e162e3d218f45f77121fd784b459a53803dc3a (patch)
tree21e60309b1899f65986bbb60c46059b50de3555e /lib/lpc43xx
parent7d434c3ebc17aa8007a15cb924c92994a8084b6d (diff)
Makefile updates
Diffstat (limited to 'lib/lpc43xx')
-rw-r--r--lib/lpc43xx/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/lpc43xx/Makefile b/lib/lpc43xx/Makefile
index c29f690..4b8eae4 100644
--- a/lib/lpc43xx/Makefile
+++ b/lib/lpc43xx/Makefile
@@ -2,6 +2,7 @@
## This file is part of the libopencm3 project.
##
## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+## Copyright (C) 2012 Michael Ossmann <mike@ossmann.com>
##
## This library is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published by
@@ -17,15 +18,16 @@
## along with this library. If not, see <http://www.gnu.org/licenses/>.
##
-LIBNAME = libopencm3_lpc17xx
+LIBNAME = libopencm3_lpc43xx
PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
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
+ -mcpu=cortex-m4 -mthumb -Wstrict-prototypes \
+ -ffunction-sections -fdata-sections -MD \
+ -mfloat-abi=hard -mfpu=fpv4-sp-d16
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = gpio.o vector.o