diff options
author | Scott Worley <scott.worley@microchip.corp-partner.google.com> | 2017-12-21 16:04:38 -0500 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-08 23:41:18 -0800 |
commit | 178e18a164d5b9b440d8823f659b8e995bb0f358 (patch) | |
tree | ce99d76fad598c390db7bed2df7d7ecc83f28c30 /board/mchpevb1/ec.tasklist | |
parent | bbbef02a6368fce9949860146363f8b433730fde (diff) | |
download | chrome-ec-178e18a164d5b9b440d8823f659b8e995bb0f358.tar.gz |
mchpevb1: Add MCHP EVB board build files
Add Microchip MEC17xx eval board build
makefile rules, GPIO file, and tasklist.
EVB connected to Intel SKL RVBP is eSPI
mode. EVB has smart battery and temperature
sensor on I2C and a BMI160 gyro connected
to GPSPI0.
BRANCH=none
BUG=
TEST=Review only.
CQ-DEPEND=CL:841022,CL:841043
Change-Id: Ie17b896766b80130e3cf2812f6239030027983d8
Signed-off-by: Scott Worley <scott.worley@microchip.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/840654
Commit-Ready: Randall Spangler <rspangler@chromium.org>
Tested-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/mchpevb1/ec.tasklist')
-rw-r--r-- | board/mchpevb1/ec.tasklist | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/board/mchpevb1/ec.tasklist b/board/mchpevb1/ec.tasklist new file mode 100644 index 0000000000..81be3349f1 --- /dev/null +++ b/board/mchpevb1/ec.tasklist @@ -0,0 +1,28 @@ +/* Copyright 2017 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, LARGER_TASK_STACK_SIZE) \ + TASK_NOTEST(CHIPSET, chipset_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_ALWAYS(MOTIONSENSE, motion_sense_task, NULL, LARGER_TASK_STACK_SIZE) \ + TASK_NOTEST(KEYPROTO, keyboard_protocol_task, NULL, TASK_STACK_SIZE) \ + TASK_ALWAYS(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ + TASK_ALWAYS(CONSOLE, console_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) + |