summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-02-12 23:25:34 -0700
committerCommit Bot <commit-bot@chromium.org>2022-02-18 06:10:28 +0000
commitecfaa471c2fafab98967fbd6282b2d25ccff5143 (patch)
treef5d7baa051f1c35482f4f5643dd22232cf0c4de4
parent94bded51c57db4ea51dbc473914127eb62a23a5f (diff)
downloadchrome-ec-ecfaa471c2fafab98967fbd6282b2d25ccff5143.tar.gz
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 <peress@google.com> Change-Id: I2a408605b734c10e872177f751bae4ad47ca8902 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3459943 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--docs/zephyr/zephyr_motionsense.md8
1 files 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