summaryrefslogtreecommitdiff
path: root/common/build.mk
diff options
context:
space:
mode:
authorYuval Peress <peress@chromium.org>2020-07-14 18:44:20 -0600
committerCommit Bot <commit-bot@chromium.org>2020-08-18 22:04:40 +0000
commit474c6a5321de1a56c0751963d20843a5d4eaf7c1 (patch)
tree7a05135570fd3919df069767a8f0db3dda4a5b47 /common/build.mk
parentbc932aea929e058ab7561fc341fbea59d18240a0 (diff)
downloadchrome-ec-474c6a5321de1a56c0751963d20843a5d4eaf7c1.tar.gz
common: gyro_cal: Implement gyroscope calibration
Implement the calibration code for the gyroscope which is ported over from AOSP's https://android.googlesource.com/device/google/contexthub/+/refs/heads/master/firmware/os/algos/calibration/gyroscope/ BUG=b:138303429,b:137204366,chromium:1023858 TEST=Added unit tests BRANCH=None Signed-off-by: Yuval Peress <peress@chromium.org> Change-Id: Ic1ab2efb66565cda0a96c9c06722136fb184df77 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2244934 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'common/build.mk')
-rw-r--r--common/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk
index 0a7fbe86cc..21a268f507 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -120,7 +120,7 @@ common-$(CONFIG_RWSIG_TYPE_RWSIG)+=vboot/vb21_lib.o
common-$(CONFIG_MATH_UTIL)+=math_util.o
common-$(CONFIG_ONLINE_CALIB)+=stillness_detector.o kasa.o math_util.o \
mat44.o vec3.o newton_fit.o accel_cal.o online_calibration.o \
- mkbp_event.o mag_cal.o math_util.o mat33.o
+ mkbp_event.o mag_cal.o math_util.o mat33.o gyro_cal.o gyro_still_det.o
common-$(CONFIG_SHA1)+= sha1.o
common-$(CONFIG_SHA256)+=sha256.o
common-$(CONFIG_SOFTWARE_CLZ)+=clz.o