summaryrefslogtreecommitdiff
path: root/board/brya/ec.tasklist
diff options
context:
space:
mode:
authorBoris Mittelberg <bmbm@google.com>2021-04-01 03:45:51 +0000
committerCommit Bot <commit-bot@chromium.org>2021-04-08 18:30:23 +0000
commited9b4784c53ca03de59d410341d477b43a78537a (patch)
tree084b5a7fe81c67fa6a64bbca10989a0d37c7d955 /board/brya/ec.tasklist
parent104abee3dd48ac133e16e9691efa8ad6883d92fb (diff)
downloadchrome-ec-ed9b4784c53ca03de59d410341d477b43a78537a.tar.gz
brya: add motionsense task and IMU sensors
Add motionsense task with following sensors: lid accel, base accel, base gyro. BRANCH=none BUG=b:179648721 TEST=manual tests were performed Base accel/gyro test on EC console: > accelread 1 Current data 1: -65461 65488 8163 > accelread 2 Current data 2: -2 2 65518 Lid accel test from AP console: $ ectool motionsense Sensor 0: 392 10548 12708 All the values above changed when I moved the boards Signed-off-by: Boris Mittelberg <bmbm@google.com> Change-Id: I03cddcf74611da6d2b5557a3998db6f0314a015a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2798977 Reviewed-by: caveh jalali <caveh@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/brya/ec.tasklist')
-rw-r--r--board/brya/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/brya/ec.tasklist b/board/brya/ec.tasklist
index dd4f31ffed..470a1fcdde 100644
--- a/board/brya/ec.tasklist
+++ b/board/brya/ec.tasklist
@@ -17,6 +17,7 @@
TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 0, TASK_STACK_SIZE) \
TASK_ALWAYS(USB_CHG_P2, usb_charger_task, 0, TASK_STACK_SIZE) \
TASK_ALWAYS(CHARGER, charger_task, NULL, VENTI_TASK_STACK_SIZE) \
+ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \