diff options
author | Jeremy Bettis <jbettis@google.com> | 2021-04-12 09:49:53 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-12 20:08:03 +0000 |
commit | 196e749fc5e1c6c71fa426dafd7bd345ad3578c5 (patch) | |
tree | 9e516bf74366f1037de64b6d773862ff7b8fe819 /zephyr/test/drivers/src | |
parent | d86e4c7d7ebb16c79912b3ea500dd862cba8081f (diff) | |
download | chrome-ec-196e749fc5e1c6c71fa426dafd7bd345ad3578c5.tar.gz |
zephyr: Allow ztests to use shimmed tasks
There is no reason to prevent CONFIG_SHIMMED_TASKS and CONFIG_ZTEST from
being used together.
BUG=b:185118990
TEST=zmake testall
BRANCH=none
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I024ef0faea14fa9ddc38c5ca688e8fa4448691c2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2821357
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/test/drivers/src')
-rw-r--r-- | zephyr/test/drivers/src/stubs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/test/drivers/src/stubs.c b/zephyr/test/drivers/src/stubs.c index afa3f2f2d6..219fe73818 100644 --- a/zephyr/test/drivers/src/stubs.c +++ b/zephyr/test/drivers/src/stubs.c @@ -179,3 +179,8 @@ unsigned int ppc_cnt = ARRAY_SIZE(ppc_chips); void system_hibernate(uint32_t seconds, uint32_t microseconds) { } + +uint16_t tcpc_get_alert_status(void) +{ + return 0; +} |