Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
main.c File Reference
#include <zephyr/ztest.h>
#include "test_queue.h"

Macros

#define MAX_SZ   96
 

Functions

 K_HEAP_DEFINE (test_pool, 96 *4+128)
 
void * queue_test_setup (void)
 
 ZTEST_SUITE (queue_api, NULL, queue_test_setup, NULL, NULL, NULL)
 
 ZTEST_SUITE (queue_api_1cpu, NULL, queue_test_setup, ztest_simple_1cpu_before, ztest_simple_1cpu_after, NULL)
 

Macro Definition Documentation

◆ MAX_SZ

#define MAX_SZ   96

Function Documentation

◆ K_HEAP_DEFINE()

K_HEAP_DEFINE ( test_pool  ,
96 *4+  128 
)

◆ queue_test_setup()

void * queue_test_setup ( void  )

◆ ZTEST_SUITE() [1/2]

ZTEST_SUITE ( queue_api  ,
NULL  ,
queue_test_setup  ,
NULL  ,
NULL  ,
NULL   
)

◆ ZTEST_SUITE() [2/2]

ZTEST_SUITE ( queue_api_1cpu  ,
NULL  ,
queue_test_setup  ,
ztest_simple_1cpu_before  ,
ztest_simple_1cpu_after  ,
NULL   
)