aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f1/Makefile
diff options
context:
space:
mode:
authorKen Sarkies2012-11-30 13:13:41 +1030
committerKen Sarkies2013-01-08 18:07:28 +1030
commit61f2cb3f993c0f00504e46be48de8c535c9408b4 (patch)
tree8850527c5cdb4976d12b4d17386abb28c0eb2fe1 /lib/stm32/f1/Makefile
parenta60ae5044c9d885d6d0152b0907c21977e8a0d6b (diff)
Move STM32F1 DMA files to respective common directories
This sets the stage for adding DMA to STM32F3xx (when added) and STM32L1xx as the controller appears to be identical in these.
Diffstat (limited to 'lib/stm32/f1/Makefile')
-rw-r--r--lib/stm32/f1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stm32/f1/Makefile b/lib/stm32/f1/Makefile
index 2572554..b236c72 100644
--- a/lib/stm32/f1/Makefile
+++ b/lib/stm32/f1/Makefile
@@ -24,7 +24,7 @@ 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-m3 -msoft-float -mthumb -Wstrict-prototypes \
-ffunction-sections -fdata-sections -MD -DSTM32F1
# ARFLAGS = rcsv
ARFLAGS = rcs
@@ -33,7 +33,7 @@ OBJS = rcc.o gpio.o usart.o adc.o spi.o flash.o \
usb_f103.o usb.o usb_control.o usb_standard.o can.o \
timer.o usb_f107.o desig.o crc.o dac.o iwdg.o pwr.o \
usb_fx07_common.o \
- gpio_common_all.o
+ gpio_common_all.o dma_common_f13.o
VPATH += ../../usb:../:../../cm3:../common