summaryrefslogtreecommitdiff
path: root/board/grunt/ec.tasklist
diff options
context:
space:
mode:
authorJustin TerAvest <teravest@chromium.org>2017-11-28 12:48:53 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-01-08 19:56:43 -0800
commit084af6386f819fa8111dc0998bd28c86e5093e17 (patch)
tree559b2c8dfc5a5fcfae0b1199c1f39f558e0b9a9c /board/grunt/ec.tasklist
parentc49334f1433e15ca2549c06b7aa283896249dd25 (diff)
downloadchrome-ec-084af6386f819fa8111dc0998bd28c86e5093e17.tar.gz
grunt: Add accel, gyro, and motion_sense task.
This adds support for the KX022 and BMI160 sensors. It also enables the motion_sense task so that the keyboard can be disabled in tablet mode. BUG=b:69379570,b:69379621 BRANCH=None TEST=Build Change-Id: I72cc8f86ddd8d466b4208ff583e93fd51da63c49 Signed-off-by: Justin TerAvest <teravest@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/794525 Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'board/grunt/ec.tasklist')
-rw-r--r--board/grunt/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/grunt/ec.tasklist b/board/grunt/ec.tasklist
index 0ce94f2da3..be1dbcc21f 100644
--- a/board/grunt/ec.tasklist
+++ b/board/grunt/ec.tasklist
@@ -25,6 +25,7 @@
TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, TASK_STACK_SIZE) \
TASK_ALWAYS(USB_CHG_P1, usb_charger_task, 1, TASK_STACK_SIZE) \
TASK_ALWAYS(CHARGER, charger_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
TASK_NOTEST(PDCMD, pd_command_task, NULL, LARGER_TASK_STACK_SIZE) \