summaryrefslogtreecommitdiff
path: root/board/volteer/ec.tasklist
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-12-12 11:15:02 -0700
committerCommit Bot <commit-bot@chromium.org>2020-01-07 03:27:39 +0000
commit9ba4e7abf779f8309cb96e67348861336ca7c4cc (patch)
tree5acbdbd6ce9b220173ad6f8d35395b46e0f4e27c /board/volteer/ec.tasklist
parente53c197711efdd5f884714a1af12dc6134f88be5 (diff)
downloadchrome-ec-9ba4e7abf779f8309cb96e67348861336ca7c4cc.tar.gz
volteer: add motionsense support
Enable the accelerometer, ALS, and sync sensors for Volteer. The IMU sensor will be enabled in a separate changelist. BUG=b:140557015 BRANCH=none TEST=make buildall TEST=Verify lid accelerometer data matches reference frame. TEST=Using CL:1580449, verify raw values from ALS change in response to changes in ambient light. TEST=VSYNC not yet tested, camera board not yet available. See b:146452722 Change-Id: Ie7b4ecaa543b55030a9223a2cda9fec53a8f4620 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1965647 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'board/volteer/ec.tasklist')
-rw-r--r--board/volteer/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/volteer/ec.tasklist b/board/volteer/ec.tasklist
index 18853b5220..a352231434 100644
--- a/board/volteer/ec.tasklist
+++ b/board/volteer/ec.tasklist
@@ -12,6 +12,7 @@
TASK_ALWAYS(USB_CHG_P0, usb_charger_task, 0, TASK_STACK_SIZE) \
TASK_ALWAYS(USB_CHG_P1, 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_NOTEST(PDCMD, pd_command_task, NULL, LARGER_TASK_STACK_SIZE) \