Enable nvic and exti support for L1

And include an example that uses it.
This commit is contained in:
Karl Palsson
2012-10-22 23:32:42 +00:00
parent b860504fed
commit ce8f47e7df
12 changed files with 215 additions and 197 deletions

View File

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