summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-07-07 16:53:15 -0600
committerCommit Bot <commit-bot@chromium.org>2020-07-10 01:29:47 +0000
commitf137f2493db5b5ee27ffc784538b766d5192704d (patch)
treeaddc8e85b248c66d650883142aa46a56b4e2e245 /third_party
parentbf7c46cfad31de55f62133c1e19c4d9e5e92d799 (diff)
downloadchrome-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.tbinbin0 -> 8192 bytes
-rw-r--r--third_party/bmi260/accelgyro_bmi260_config_compressed.binbin0 -> 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
new file mode 100644
index 0000000000..b09241b79b
--- /dev/null
+++ b/third_party/bmi260/BMI260_main.tbin
Binary files differ
diff --git a/third_party/bmi260/accelgyro_bmi260_config_compressed.bin b/third_party/bmi260/accelgyro_bmi260_config_compressed.bin
new file mode 100644
index 0000000000..38e528c7f2
--- /dev/null
+++ b/third_party/bmi260/accelgyro_bmi260_config_compressed.bin
Binary files differ