summaryrefslogtreecommitdiff
path: root/board/volteer
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2019-10-04 14:26:35 -0600
committerKeith Short <keithshort@chromium.org>2019-10-11 20:54:53 +0000
commit3c569a2ef2f6458080248938198b05e19e96d2d4 (patch)
tree68d03fd9bcfcfa9abd460823575350613a80a16c /board/volteer
parentecc3027cdf35ecc7072c3ba3804ccd58032c2929 (diff)
downloadchrome-ec-3c569a2ef2f6458080248938198b05e19e96d2d4.tar.gz
volteer: Support keyboard
Configure keyboard features, enable keyboard-related tasks, and define a custom time period to wait for output to settle during key scan. BUG=b:139554320 TEST=make buildall BRANCH=none Change-Id: I0d28389361c87a868f62325b86b65fc5b2550a70 Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1841885 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/volteer')
-rw-r--r--board/volteer/ec.tasklist4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/volteer/ec.tasklist b/board/volteer/ec.tasklist
index f8b67701bf..aa43567270 100644
--- a/board/volteer/ec.tasklist
+++ b/board/volteer/ec.tasklist
@@ -9,6 +9,8 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(HOSTCMD, host_command_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, VENTI_TASK_STACK_SIZE) \
- TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE)
+ TASK_ALWAYS(POWERBTN, power_button_task, NULL, LARGER_TASK_STACK_SIZE) \
+ TASK_NOTEST(KEYSCAN, keyboard_scan_task, NULL, TASK_STACK_SIZE)