summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRob Barnes <robbarnes@google.com>2021-08-06 14:15:56 -0600
committerCommit Bot <commit-bot@chromium.org>2021-08-25 16:48:00 +0000
commit65e82a3f49ab5077021e8dd16e1816d71f3d96cc (patch)
treee94a62595672e81f0087bdd26470f7ec269f13bf /common
parenta21cecdf596ea520de514ca632303c0d0188b179 (diff)
downloadchrome-ec-65e82a3f49ab5077021e8dd16e1816d71f3d96cc.tar.gz
tmp112: Support reading TMP112 in millikelvin
TMP112 supports .0625 degrees of resolution. Retain this resolution and support reading the temp in degrees millikelvin. BUG=b:176994331 TEST=Build and run on guybrush BRANCH=None Change-Id: I2802016b1edb08678953238e7f01acdd320c37cf Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3001391 Commit-Queue: Diana Z <dzigterman@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/build.mk b/common/build.mk
index 7c505c066f..2ba81f6006 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -28,6 +28,7 @@ common-$(CONFIG_ACCEL_LIS2DH)+=math_util.o
common-$(CONFIG_ACCEL_LIS2DS)+=math_util.o
common-$(CONFIG_ACCEL_KXCJ9)+=math_util.o
common-$(CONFIG_ACCEL_KX022)+=math_util.o
+common-$(CONFIG_TEMP_SENSOR_TMP112)+=math_util.o
ifneq ($(CORE),cortex-m)
common-$(CONFIG_AES)+=aes.o
endif