summaryrefslogtreecommitdiff
path: root/board/keyborg/build.mk
diff options
context:
space:
mode:
authorVic (Chun-Ju) Yang <victoryang@chromium.org>2014-04-18 12:02:43 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-04-24 11:36:49 +0000
commit632d00509049884918abfc7fc275472592da2c2c (patch)
treef3085530dc5acb3063e947656238895fec004c28 /board/keyborg/build.mk
parentd02e8c2090f7cd57098016d520b538e61870beb5 (diff)
downloadchrome-ec-632d00509049884918abfc7fc275472592da2c2c.tar.gz
Keyborg: chip-to-chip SPI communication
This implements a simple SPI driver for the two chips to exchange packets. There are both sync interface and async interface. Sync interface is easier to use, and async interface frees the CPU while the DMA takes care of the communication. BUG=None TEST=Hello test passed BRANCH=None Change-Id: I9823bad5cae6d1fa8f3658d17af4b998d3735a3e Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/195533 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/keyborg/build.mk')
-rw-r--r--board/keyborg/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/keyborg/build.mk b/board/keyborg/build.mk
index 39eb64c284..c0ee425972 100644
--- a/board/keyborg/build.mk
+++ b/board/keyborg/build.mk
@@ -9,5 +9,5 @@ CHIP:=stm32
CHIP_FAMILY:=stm32f
CHIP_VARIANT:=stm32ts60
-board-y=board.o hardware.o runtime.o master_slave.o
+board-y=board.o hardware.o runtime.o master_slave.o spi_comm.o
board-$(CONFIG_DEBUG_PRINTF)+=debug.o