summaryrefslogtreecommitdiff
path: root/common/build.mk
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-07-19 18:02:21 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-07-27 15:44:01 -0700
commit19bd0659b3f4c00c9826b3b0005649f8f716d32a (patch)
treec3c941e3125fdfd310300f6dc3390f7e6ce72964 /common/build.mk
parent2fe0acefdd8293ca7e7f34ff6da5811b76e01c7d (diff)
downloadchrome-ec-19bd0659b3f4c00c9826b3b0005649f8f716d32a.tar.gz
battery/max17055: Add max17055 fuel gauge driver
BUG=chromium:736603 BRANCH=none TEST=Follow the steps below 1) add MAX17055 config to Scarlet and build the code 2) hook up max17055 eval board and a single cell battery 3) battery command from ec console shows reasonable numbers for temperature, voltage, and charge percentage Change-Id: I3f838ff92c591665e9f1d0a7ba636ff83d9b7612 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/578300 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'common/build.mk')
-rw-r--r--common/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/build.mk b/common/build.mk
index 792fcd8138..d533f8fb9b 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -27,6 +27,7 @@ common-$(CONFIG_BASE32)+=base32.o
# command?
common-$(CONFIG_BATTERY_BQ27541)+=battery.o
common-$(CONFIG_BATTERY_BQ27621)+=battery.o
+common-$(CONFIG_BATTERY_MAX17055)+=battery.o
common-$(CONFIG_BATTERY_SMART)+=battery.o
common-$(CONFIG_BLUETOOTH_LE)+=bluetooth_le.o
common-$(CONFIG_BLUETOOTH_LE_STACK)+=btle_hci_controller.o btle_ll.o