From 25acaa58783b4d046acbe961cb62efe0b39ec981 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 22 Oct 2012 21:29:42 +0000 Subject: 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. --- lib/stm32/usart.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/stm32/usart.c') diff --git a/lib/stm32/usart.c b/lib/stm32/usart.c index 5cf861b..1faf486 100644 --- a/lib/stm32/usart.c +++ b/lib/stm32/usart.c @@ -46,6 +46,8 @@ LGPL License Terms @ref lgpl_license # include #elif defined(STM32F4) # include +#elif defined(STM32L1) +# include #else # error "stm32 family not defined." #endif -- cgit v1.2.3