Add usart support for L1.

Only tested with basic tx blocking, ie, the same example code as on
F2/F4, but the description of the block is almost identical.
This commit is contained in:
Karl Palsson
2012-10-22 21:29:42 +00:00
parent 2e5cfa39a5
commit 25acaa5878
6 changed files with 121 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
-ffunction-sections -fdata-sections -MD -DSTM32F1
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = rcc.o gpio.o desig.o crc.o
OBJS = rcc.o gpio.o desig.o crc.o usart.o
VPATH += ../../usb:../:../../cm3