summaryrefslogtreecommitdiff
path: root/board/plankton/ec.tasklist
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2014-07-13 17:42:32 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-07-28 21:53:13 +0000
commit537432085a3e818cff99ce82efdaa92f3fd11c1c (patch)
tree1e54d18dfd88bfb2805c614a385444ec4ea27173 /board/plankton/ec.tasklist
parent3ac281f270790ab0e333ef557e4faacf12412c6b (diff)
downloadchrome-ec-537432085a3e818cff99ce82efdaa92f3fd11c1c.tar.gz
Add board support for Plankton
Board support for Planton, the Raiden testing board for type-C functional testing. BUG=none BRANCH=none TEST=make BOARD=plankton, load onto a plankton, and verify buttons are read correctly, and connect raiden to samus and verify that PD communication is successful Change-Id: I40922d5627d62f7f3540ac6a307596428d40baf5 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/207724
Diffstat (limited to 'board/plankton/ec.tasklist')
-rw-r--r--board/plankton/ec.tasklist22
1 files changed, 22 insertions, 0 deletions
diff --git a/board/plankton/ec.tasklist b/board/plankton/ec.tasklist
new file mode 100644
index 0000000000..e9c8c1cc1f
--- /dev/null
+++ b/board/plankton/ec.tasklist
@@ -0,0 +1,22 @@
+/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * List of enabled tasks in the priority order
+ *
+ * The first one has the lowest priority.
+ *
+ * For each task, use the macro TASK_ALWAYS(n, r, d, s) for base tasks and
+ * TASK_NOTEST(n, r, d, s) for tasks that can be excluded in test binaries,
+ * where :
+ * 'n' in the name of the task
+ * 'r' in the main routine of the task
+ * 'd' in an opaque parameter passed to the routine at startup
+ * 's' is the stack size in bytes; must be a multiple of 8
+ */
+#define CONFIG_TASK_LIST \
+ TASK_ALWAYS(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \
+ TASK_ALWAYS(PD, pd_task, NULL, TASK_STACK_SIZE)