stm32:l4: enable usart peripheral

Tests in https://github.com/karlp/libopencm3-tests/tree/master/tests/uart-basic
This commit is contained in:
Karl Palsson
2017-10-25 23:54:32 +00:00
parent c119ee7f9a
commit f67966046a
2 changed files with 3 additions and 0 deletions

View File

@@ -34,6 +34,8 @@
# include <libopencm3/stm32/l0/usart.h>
#elif defined(STM32L1)
# include <libopencm3/stm32/l1/usart.h>
#elif defined(STM32L4)
# include <libopencm3/stm32/l4/usart.h>
#else
# error "stm32 family not defined."
#endif