From ecfaa471c2fafab98967fbd6282b2d25ccff5143 Mon Sep 17 00:00:00 2001 From: Yuval Peress Date: Sat, 12 Feb 2022 23:25:34 -0700 Subject: docs: zephyr: Add information about motionsense Include documentation detailing that motionsense requires no board specific code as well as how to configure the motionsense task. BRANCH=none BUG=b:208437221 TEST=none Signed-off-by: Yuval Peress Change-Id: I2a408605b734c10e872177f751bae4ad47ca8902 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3459943 Reviewed-by: Keith Short --- docs/zephyr/zephyr_motionsense.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/zephyr/zephyr_motionsense.md b/docs/zephyr/zephyr_motionsense.md index 5c2a90d93f..b03804f097 100644 --- a/docs/zephyr/zephyr_motionsense.md +++ b/docs/zephyr/zephyr_motionsense.md @@ -125,12 +125,14 @@ directly query these sensors instead of waiting for an interrupt). ## Board Specific Code -*Document any board specific routines that a user must create to successfully -compile and run. For many features, this can section can be empty.* +Motionsense requires no board specific code. ## Threads -*Document any threads enabled by this feature.* +When enabled, the `motion_sense_task` will be created. The task's stack size can +be set using `CONFIG_TASK_MOTIONSENSE_STACK_SIZE`, but the priority is fixed. +Additional information about the task priority can be found in +[shimmed_task_id.h](https://source.chromium.org/chromium/chromiumos/platform/ec/+/HEAD:zephyr/shim/include/shimmed_task_id.h). ## Testing and Debugging -- cgit v1.2.1