summaryrefslogtreecommitdiff
path: root/board/hatch/build.mk
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2018-12-18 11:03:44 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-29 21:35:05 -0800
commitd10286cc838c0a51266bd0c162f1cce49d036c2a (patch)
treeef6776845fc5256597a413dec645aef61ad65263 /board/hatch/build.mk
parentf71c06294fcfa383cefa52d8705b4443c16db8f4 (diff)
downloadchrome-ec-d10286cc838c0a51266bd0c162f1cce49d036c2a.tar.gz
hatch: Add support for 2 color LED
This CL adds board specific files/functions required to support the battery LED. Similar to Coral or Octopus, the LEDs are controlled by GPIO on/off instead of PWM. BRANCH=none BUG=b:122251649 TEST=make buildall. Verfied charging LED turns when external power is connected. Change-Id: Ic16d4192aaeba6e765e97743ded772d52ca47111 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1387586 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Zack Yang <zack_yang@compal.corp-partner.google.com>
Diffstat (limited to 'board/hatch/build.mk')
-rw-r--r--board/hatch/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hatch/build.mk b/board/hatch/build.mk
index dda2da02f0..733912454f 100644
--- a/board/hatch/build.mk
+++ b/board/hatch/build.mk
@@ -11,5 +11,5 @@ CHIP_FAMILY:=npcx7
CHIP_VARIANT:=npcx7m6fc
BASEBOARD:=hatch
-board-y=board.o
+board-y=board.o led.o
board-$(CONFIG_BATTERY_SMART)+=battery.o