aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc43xx/Makefile
diff options
context:
space:
mode:
authorTitanMKD2012-06-13 01:05:49 +0200
committerTitanMKD2012-06-13 01:05:49 +0200
commitc65ca01044495774ad51c26c16ea97cf60798ecb (patch)
tree4a704e2f3ac852cfb3b7eb97f0d54ba791b1cb67 /lib/lpc43xx/Makefile
parentda27adcf1ce15baa16435f3cc461ac2a08bb23e5 (diff)
Fix Linker bug copy ROM to RAM & exec from RAM (need more test).
Diffstat (limited to 'lib/lpc43xx/Makefile')
-rw-r--r--lib/lpc43xx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lpc43xx/Makefile b/lib/lpc43xx/Makefile
index e8bd8fc..91169d4 100644
--- a/lib/lpc43xx/Makefile
+++ b/lib/lpc43xx/Makefile
@@ -25,7 +25,7 @@ PREFIX ?= arm-none-eabi
#PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
-CFLAGS = -O2 -g -Wall -Wextra -I../../include -fno-common \
+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