diff options
author | Keith Short <keithshort@chromium.org> | 2020-07-07 16:53:15 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-10 01:29:47 +0000 |
commit | f137f2493db5b5ee27ffc784538b766d5192704d (patch) | |
tree | addc8e85b248c66d650883142aa46a56b4e2e245 /third_party | |
parent | bf7c46cfad31de55f62133c1e19c4d9e5e92d799 (diff) | |
download | chrome-ec-f137f2493db5b5ee27ffc784538b766d5192704d.tar.gz |
util: add gen_bmi_config utility
Add the gen_bmi_config utility used to generate a compressed version
of the configuration file required by the BMI260 IMU sensor.
This is expected to be a temporary solution until the 8 KiB BMI
configuration file can be moved out of the EC code.
BUG=b:160330682
BRANCH=none
TEST=make utils
TEST=run "gen_bmi_config compress BMI260_main.tbin
bmi260_compressed.bin"
TEST=run "gen_bmi_config decrompress bmi260_compressed.bin
bmi260_uncompressed.bin", verify uncompressed file matches original
file.
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I7ef06414f84169f2e16f26df4f83455c3df37e51
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2289215
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/bmi260/BMI260_main.tbin | bin | 0 -> 8192 bytes |
-rw-r--r-- | third_party/bmi260/accelgyro_bmi260_config_compressed.bin | bin | 0 -> 6916 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/third_party/bmi260/BMI260_main.tbin b/third_party/bmi260/BMI260_main.tbin Binary files differnew file mode 100644 index 0000000000..b09241b79b --- /dev/null +++ b/third_party/bmi260/BMI260_main.tbin diff --git a/third_party/bmi260/accelgyro_bmi260_config_compressed.bin b/third_party/bmi260/accelgyro_bmi260_config_compressed.bin Binary files differnew file mode 100644 index 0000000000..38e528c7f2 --- /dev/null +++ b/third_party/bmi260/accelgyro_bmi260_config_compressed.bin |