mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-20 07:55:22 +00:00
Add driver for U(S)ART ports on STM32 MCUs. The driver implements basic RX/TX functionality. Data transmission is implemented using polling. The driver configures the port to use 8bit data transmission, 1 stop bit, no parity control. The driver exposes a public uart driver API and registers a single UART device 'UART_0'. The device binds to USART1 peripheral and performs required pinmux and clock control configuration. The device can be initialized at the PRIMARY level, with default device priority. The driver has been verified to work with a sample Hello World application on a STM32F103 series MCU. Change-Id: Iae103fcd8d2fb0a6c173cf141a68e17791255aab Origin: Original Signed-off-by: Maciej Borzecki <maciek.borzecki@gmail.com>
11 lines
406 B
Makefile
11 lines
406 B
Makefile
ccflags-$(CONFIG_UART_QMSI) +=-I$(CONFIG_QMSI_INSTALL_PATH)/include
|
|
ccflags-y +=-I$(srctree)/drivers
|
|
|
|
obj-$(CONFIG_UART_NS16550) += uart_ns16550.o
|
|
obj-$(CONFIG_UART_K20) += uart_k20.o
|
|
obj-$(CONFIG_UART_STELLARIS) += uart_stellaris.o
|
|
obj-$(CONFIG_UART_NSIM) += uart_nsim.o
|
|
obj-$(CONFIG_UART_ATMEL_SAM3) += uart_atmel_sam3.o
|
|
obj-$(CONFIG_UART_QMSI) += uart_qmsi.o
|
|
obj-$(CONFIG_UART_STM32) += uart_stm32.o
|