diff options
author | Anton Staaf <robotboy@chromium.org> | 2015-07-15 15:03:40 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-21 18:30:40 +0000 |
commit | 1e3d00ff7ae32d58ac9c27ef09b22df58e48b1c4 (patch) | |
tree | 190ad8a9e3b463fb7acc6068b1cf73f0286baadd /chip/stm32/build.mk | |
parent | ff9934264163dd0d7e795f32144c6c1082fdf040 (diff) | |
download | chrome-ec-1e3d00ff7ae32d58ac9c27ef09b22df58e48b1c4.tar.gz |
USART: Add DMA based transmitter
This adds a new transmission implementation for the multi UART driver.
It is a DMA based transmitter that can directly read from the TX queue
with zero copy overhead. The DMA channel used as well as the maximum
DMA transmission size are configurable per UART at the board level.
This also updates the Ryu AP UART to use DMA transmission.
Signed-off-by: Anton Staaf <robotboy@chromium.org>
BRANCH=None
BUG=None
TEST=make buildall -j
Manually verify that the AP UART forwarding works
Change-Id: I3cb27d0f9015043d75a38c12919388afe90dc4af
Reviewed-on: https://chromium-review.googlesource.com/286274
Trybot-Ready: Anton Staaf <robotboy@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Commit-Queue: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r-- | chip/stm32/build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk index d4a8152897..8ec6191397 100644 --- a/chip/stm32/build.mk +++ b/chip/stm32/build.mk @@ -36,6 +36,7 @@ chip-$(CONFIG_COMMON_TIMER)+=hwtimer$(TIMER_TYPE).o chip-$(CONFIG_I2C)+=i2c-$(CHIP_FAMILY).o chip-$(CONFIG_STREAM_USART)+=usart.o usart-$(CHIP_FAMILY).o chip-$(CONFIG_STREAM_USART)+=usart_rx_interrupt.o usart_tx_interrupt.o +chip-$(CONFIG_STREAM_USART)+=usart_tx_dma.o chip-$(CONFIG_STREAM_USB)+=usb-stream.o chip-$(CONFIG_WATCHDOG)+=watchdog.o chip-$(HAS_TASK_CONSOLE)+=uart.o |