Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <ztest.h>
Macros | |
#define | TIMEOUT K_MSEC(100) |
#define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE) |
#define | MAIL_LEN 64 |
Variables | |
static struct k_mbox | mbox |
static k_tid_t | sender_tid |
static k_tid_t | receiver_tid |
static k_tid_t | random_tid |
static struct k_thread tdata rtdata async_tid | waiting_get_tid [5] |
static struct k_sem end_sema | sync_sema |
static enum mmsg_type | info_type |
static char | data [MAX_INFO_TYPE][64] |
static ZTEST_BMEM char | buffer [8] |
Test mailbox enhance capabilities. More... | |
#define MAIL_LEN 64 |
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACKSIZE) |
#define TIMEOUT K_MSEC(100) |
enum mmsg_type |
K_MBOX_DEFINE | ( | kmbox | ) |
TESTPOINT: init via K_MBOX_DEFINE
K_MBOX_DEFINE | ( | send_mbox | ) |
|
static |
|
static |
|
static |
|
static |
TESTPOINT: mbox sync get buffer
TESTPOINT: mbox sync get buffer
TESTPOINT: mbox async get buffer
TESTPOINT: mbox sync put empty message
TESTPOINT: mbox sync put buffer
TESTPOINT: mbox async put buffer
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |