summaryrefslogtreecommitdiff
path: root/zephyr/test/tasks/shimmed_test_tasks.h
blob: b7d72b59d57427d2abf3ace44ab1803a7b56db64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2020 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.
 */

#ifndef __CROS_EC_SHIMMED_TEST_TASKS_H
#define __CROS_EC_SHIMMED_TEST_TASKS_H

/*
 * Manually define these HAS_TASK_* defines. There is a build time assert
 * to at least verify we have the minimum set defined correctly. */
#define HAS_TASK_TASK_1 1
#define HAS_TASK_TASK_2 1
#define HAS_TASK_TASK_3 1

/* Highest priority on bottom same as in platform/ec */
#define CROS_EC_TASK_LIST \
	CROS_EC_TASK(TASK_1, task1_entry, 0, 512) \
	CROS_EC_TASK(TASK_2, task2_entry, 0, 512) \
	CROS_EC_TASK(TASK_3, task3_entry, 0, 512)

#endif /* __CROS_EC_SHIMMED_TEST_TASKS_H */