1 /* 2 * Copyright (c) 2015-2016 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef __TEST_MSGQ_H__ 8 #define __TEST_MSGQ_H__ 9 10 #include <zephyr/kernel.h> 11 #include <zephyr/irq_offload.h> 12 #include <zephyr/ztest.h> 13 #include <limits.h> 14 15 #define TIMEOUT_MS 100 16 #define TIMEOUT K_MSEC(TIMEOUT_MS) 17 #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) 18 #define MSG_SIZE 4 19 #define MSGQ_LEN 2 20 #define MSG0 0xABCD 21 #define MSG1 0x1234 22 #define OVERFLOW_SIZE_MSG SIZE_MAX 23 #endif /* __TEST_MSGQ_H__ */ 24