summaryrefslogtreecommitdiff
path: root/chip/stm32/build.mk
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2014-07-23 14:25:35 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-09-23 00:04:56 +0000
commit0a147973bb6a16714925cc7d701b9b6cffc73cb2 (patch)
tree94e385317bdff8ccc5d06082429b50d62ae7a2d5 /chip/stm32/build.mk
parentccb45ff8a2285fbee6d87c02789dc7b00250dc82 (diff)
downloadchrome-ec-0a147973bb6a16714925cc7d701b9b6cffc73cb2.tar.gz
stm32-USART: Add generic stream based usart driver
This driver can be used to access multiple usarts using an abstract stream interface. The stream interface can also be used in drivers for the host interface and USB console interface, providing a consistent API across all character stream style IO. Signed-off-by: Anton Staaf <robotboy@chromium.org> BRANCH=None BUG=None TEST=make buildall -j Change-Id: Icf567f0b0fa4eb0e9ad4cdb0be8edc31c937a7de Reviewed-on: https://chromium-review.googlesource.com/209671 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Anton Staaf <robotboy@chromium.org> Commit-Queue: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r--chip/stm32/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk
index d4fe146197..8c6b0cd2e6 100644
--- a/chip/stm32/build.mk
+++ b/chip/stm32/build.mk
@@ -30,6 +30,7 @@ chip-$(CONFIG_SPI_MASTER_PORT)+=spi_master.o
chip-$(CONFIG_COMMON_GPIO)+=gpio.o gpio-$(CHIP_FAMILY).o
chip-$(CONFIG_COMMON_TIMER)+=hwtimer$(TIMER_TYPE).o
chip-$(CONFIG_I2C)+=i2c-$(CHIP_FAMILY).o i2c.o
+chip-$(CONFIG_STREAM_USART)+=usart.o usart-$(CHIP_FAMILY).o
chip-$(CONFIG_WATCHDOG)+=watchdog.o
chip-$(HAS_TASK_CONSOLE)+=uart.o
chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o