blob: 3ef0855719f1bb9b8469b8563b5c6cb32eb4109a [file] [log] [blame]
/*
* Copyright (c) 2020 BayLibre, SAS
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef THREAD_DEF_H
#define THREAD_DEF_H
#include <zephyr/kernel.h>
#define THREAD_STACKSIZE 2048
struct k_thread user_thread;
K_THREAD_STACK_DEFINE(user_stack, THREAD_STACKSIZE);
void supervisor_thread_function(void *p1, void *p2, void *p3);
struct k_thread supervisor_thread;
K_THREAD_STACK_DEFINE(supervisor_stack, THREAD_STACKSIZE);
void user_thread_function(void *p1, void *p2, void *p3);
#endif /* THREAD_DEF_H */