1 /* 2 * Copyright (c) 2019 Jan Van Winkel <jan.van_winkel@dxplore.eu> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_TESTS_KERNEL_THREADS_THREAD_APIS_SRC_TEST_THREAD_APIS_H_ 8 #define ZEPHYR_TESTS_KERNEL_THREADS_THREAD_APIS_SRC_TEST_THREAD_APIS_H_ 9 10 #include <zephyr/kernel.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) 17 K_THREAD_STACK_DECLARE(tstack, STACK_SIZE); 18 extern size_t tstack_size; 19 extern struct k_thread tdata; 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif /* ZEPHYR_TESTS_KERNEL_THREADS_THREAD_APIS_SRC_TEST_THREAD_APIS_H_ */ 26