Fix Linker bug copy ROM to RAM & exec from RAM (need more test).

This commit is contained in:
TitanMKD
2012-06-13 01:05:49 +02:00
parent da27adcf1c
commit c65ca01044
4 changed files with 11 additions and 7 deletions

View File

@@ -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