diff options
author | Yuval Peress <peress@chromium.org> | 2020-10-23 12:05:48 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-08 19:06:07 +0000 |
commit | 6f0894886e4d15c60430b380001156b5292438cb (patch) | |
tree | 7b26a03738d1640fd610506fbfbb40004297d9f4 /test/build.mk | |
parent | 9760abbefee06a7ffa214dd477665b8c9476061e (diff) | |
download | chrome-ec-6f0894886e4d15c60430b380001156b5292438cb.tar.gz |
common:online_calibration: Spoof sensor data
This change allows the `accelspoof` ec command to also
override the calibration data (bypassing the calibration
module). This config flag should be used when testing
layers above the EC (kernel and up)'s handling of the
calibration values.
BRANCH=none
BUG=none
TEST=Built on eve and added unit tests.
TEST=make run-online_calibration_spoof -j
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I4735b9613c152af5559661a91565b05635d6495e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2494986
Diffstat (limited to 'test/build.mk')
-rw-r--r-- | test/build.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/build.mk b/test/build.mk index e994695ab0..fa0e3500cf 100644 --- a/test/build.mk +++ b/test/build.mk @@ -60,6 +60,7 @@ test-list-host += motion_sense_fifo test-list-host += mutex test-list-host += newton_fit test-list-host += online_calibration +test-list-host += online_calibration_spoof test-list-host += pingpong test-list-host += power_button test-list-host += printf @@ -145,7 +146,7 @@ flash_write_protect-y=flash_write_protect.o fpsensor-y=fpsensor.o fpsensor_crypto-y=fpsensor_crypto.o fpsensor_state-y=fpsensor_state.o -gyro_cal-y=gyro_cal.o +gyro_cal-y=gyro_cal.o gyro_cal_init_for_test.o hooks-y=hooks.o host_command-y=host_command.o i2c_bitbang-y=i2c_bitbang.o @@ -165,6 +166,7 @@ motion_angle_tablet-y=motion_angle_tablet.o motion_angle_data_literals_tablet.o motion_lid-y=motion_lid.o motion_sense_fifo-y=motion_sense_fifo.o online_calibration-y=online_calibration.o +online_calibration_spoof-y=online_calibration_spoof.o gyro_cal_init_for_test.o kasa-y=kasa.o mpu-y=mpu.o mutex-y=mutex.o |