Merging pull request #37 Adds hard-float support to stm32f4, with a nice mandelbrot example

Merge remote-tracking branch 'schodet/hard-float'
This commit is contained in:
Piotr Esden-Tempski
2012-10-05 13:03:58 -07:00
7 changed files with 243 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ PREFIX ?= arm-none-eabi
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 \
-Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD -DSTM32F4
# ARFLAGS = rcsv
ARFLAGS = rcs