summaryrefslogtreecommitdiff
path: root/test/kb_mkbp.tasklist
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-05 14:31:53 +0800
committerChromeBot <chrome-bot@google.com>2013-05-06 11:36:21 -0700
commitb02c7b461740c457c6904a5d9d9f445afaa849cb (patch)
tree036a355f14aac4bb731b05ccb7a9aa1a60a51402 /test/kb_mkbp.tasklist
parent2dfccc7d28af188cdd7cb6e422bc09173caa3de9 (diff)
downloadchrome-ec-b02c7b461740c457c6904a5d9d9f445afaa849cb.tar.gz
Add test for keyboard MKBP protocol
A test that check keyboard MKBP module using keyboard scanning module and host commands. BUG=chrome-os-partner:19236 TEST=Pass the test BRANCH=None Change-Id: Ic22a2c8f3069d8e72c1222882073d428b733bca3 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50132
Diffstat (limited to 'test/kb_mkbp.tasklist')
-rw-r--r--test/kb_mkbp.tasklist19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/kb_mkbp.tasklist b/test/kb_mkbp.tasklist
new file mode 100644
index 0000000000..2368d7bc52
--- /dev/null
+++ b/test/kb_mkbp.tasklist
@@ -0,0 +1,19 @@
+/* Copyright (c) 2013 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_TEST(n, r, d, s) 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_TEST_TASK_LIST \
+ TASK_TEST(KEYSCAN, keyboard_scan_task, NULL, 256) \
+ TASK_TEST(CHIPSET, chipset_task, NULL, TASK_STACK_SIZE)