aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f2
diff options
context:
space:
mode:
authorchrysn2012-10-19 18:56:39 +0200
committerchrysn2012-10-19 18:56:39 +0200
commit75c216582774549aede37db1d5d6b8485acfce17 (patch)
tree4e0ca5aa8f6bc2e488154fd252ac278b3c6700ca /lib/stm32/f2
parent670689955165fdb336d3da491904b656e5788b43 (diff)
build common .o files everywhere (fixes issue #29)
vector.o, nvic.o, scb.o and assert.o are available on every platform, but at least some of them differ between the implementations. they already got built explicityly on some platforms; now adding them to the common Makefile.include.
Diffstat (limited to 'lib/stm32/f2')
-rw-r--r--lib/stm32/f2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stm32/f2/Makefile b/lib/stm32/f2/Makefile
index c127d61..69521da 100644
--- a/lib/stm32/f2/Makefile
+++ b/lib/stm32/f2/Makefile
@@ -28,8 +28,8 @@ CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
-ffunction-sections -fdata-sections -MD -DSTM32F2
# ARFLAGS = rcsv
ARFLAGS = rcs
-OBJS = vector.o rcc.o gpio.o usart.o spi.o flash.o nvic.o \
- i2c.o systick.o exti.o scb.o timer.o assert.o
+OBJS = rcc.o gpio.o usart.o spi.o flash.o nvic.o \
+ i2c.o exti.o timer.o
VPATH += ../../usb:../:../../cm3