aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/l1/Makefile
diff options
context:
space:
mode:
authorKarl Palsson2012-10-22 23:32:42 +0000
committerKarl Palsson2012-11-07 21:54:18 +0000
commitce8f47e7df8e0bc8abaaec79058cc08bc297f0c9 (patch)
tree0e57fd8897d46f39c2d90e2fb7f13c74e199fcdd /lib/stm32/l1/Makefile
parentb860504fed3244f96d9a7ab6d400fb0c133fc3bb (diff)
Enable nvic and exti support for L1
And include an example that uses it.
Diffstat (limited to 'lib/stm32/l1/Makefile')
-rw-r--r--lib/stm32/l1/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stm32/l1/Makefile b/lib/stm32/l1/Makefile
index f852239..71a6505 100644
--- a/lib/stm32/l1/Makefile
+++ b/lib/stm32/l1/Makefile
@@ -25,10 +25,10 @@ CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes \
- -ffunction-sections -fdata-sections -MD -DSTM32F1
+ -ffunction-sections -fdata-sections -MD -DSTM32L1
# ARFLAGS = rcsv
ARFLAGS = rcs
-OBJS = rcc.o gpio.o desig.o crc.o usart.o
+OBJS = rcc.o gpio.o desig.o crc.o usart.o exti2.o
VPATH += ../../usb:../:../../cm3