stm32:l4: enable usart peripheral
Tests in https://github.com/karlp/libopencm3-tests/tree/master/tests/uart-basic
This commit is contained in:
parent
c119ee7f9a
commit
f67966046a
|
@ -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
|
||||
|
|
|
@ -47,6 +47,7 @@ OBJS += adc_common_v2.o adc_common_v2_multi.o
|
|||
OBJS += rng_common_v1.o
|
||||
OBJS += timer_common_all.o
|
||||
OBJS += i2c_common_v2.o
|
||||
OBJS += usart_common_all.o usart_common_v2.o
|
||||
|
||||
VPATH += ../../usb:../:../../cm3:../common
|
||||
VPATH += ../../ethernet
|
||||
|
|
Loading…
Reference in New Issue