summaryrefslogtreecommitdiff
path: root/board/pico/ec.tasklist
diff options
context:
space:
mode:
authorSue Chen <sue.chen@quanta.corp-partner.google.com>2021-07-30 10:14:11 +0800
committerCommit Bot <commit-bot@chromium.org>2021-08-02 08:29:21 +0000
commit1cbae5e8a9ff1a39e753b4ba58851fff71bba156 (patch)
tree3a89cf1ce02997787dec30e4536fe2e32f5db409 /board/pico/ec.tasklist
parent5fced4898423ff6b4bceeb73fd8da51b4f83b923 (diff)
downloadchrome-ec-1cbae5e8a9ff1a39e753b4ba58851fff71bba156.tar.gz
Pico: Support motion sensors
Lid Accel: KX022 BASE Accelgyro: BMI160 BUG=none BRANCH=icarus TEST=EC can read sensors' data and lig angle is correct. Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com> Change-Id: I07743c86a3d133dd96e499f23150fd4f20340470 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3062062 Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/pico/ec.tasklist')
-rw-r--r--board/pico/ec.tasklist1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/pico/ec.tasklist b/board/pico/ec.tasklist
index e8ad538bc2..5c272d04f4 100644
--- a/board/pico/ec.tasklist
+++ b/board/pico/ec.tasklist
@@ -11,6 +11,7 @@
TASK_ALWAYS(CHARGER, charger_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_ALWAYS(USB_CHG_P0, usb_charger_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_ALWAYS_RW(MOTIONSENSE, motion_sense_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, 1024) \
TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \
TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, LARGER_TASK_STACK_SIZE) \