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

Functions

void dummy_fn (struct k_timer *timer)
 
 K_TIMER_DEFINE (timer_s, dummy_fn, NULL)
 
 K_MEM_SLAB_DEFINE (slab_s, 8, 2, 8)
 
 K_SEM_DEFINE (sem_s, 0, 1)
 
 K_MUTEX_DEFINE (mutex_s)
 
 K_STACK_DEFINE (stack_s, 64)
 
 K_MSGQ_DEFINE (msgq_s, sizeof(int), 2, 4)
 
 K_MBOX_DEFINE (mbox_s)
 
 K_PIPE_DEFINE (pipe_s, 64, 4)
 
 K_QUEUE_DEFINE (queue_s)
 
 K_EVENT_DEFINE (event_s)
 
 ZTEST (obj_tracking, test_obj_tracking_sanity)
 
 ZTEST_SUITE (obj_tracking, NULL, NULL, NULL, NULL, NULL)
 

Variables

unsigned char pipe_buffer [64]
 
char slab_buffer [8 *4]
 
stack_data_t stack_array [8 *4]
 
int msgq_buffer [64]
 

Function Documentation

◆ dummy_fn()

void dummy_fn ( struct k_timer *  timer)

◆ K_EVENT_DEFINE()

K_EVENT_DEFINE ( event_s  )

◆ K_MBOX_DEFINE()

K_MBOX_DEFINE ( mbox_s  )

◆ K_MEM_SLAB_DEFINE()

K_MEM_SLAB_DEFINE ( slab_s  ,
,
,
 
)

◆ K_MSGQ_DEFINE()

K_MSGQ_DEFINE ( msgq_s  ,
sizeof(int)  ,
,
 
)

◆ K_MUTEX_DEFINE()

K_MUTEX_DEFINE ( mutex_s  )

◆ K_PIPE_DEFINE()

K_PIPE_DEFINE ( pipe_s  ,
64  ,
 
)

◆ K_QUEUE_DEFINE()

K_QUEUE_DEFINE ( queue_s  )

◆ K_SEM_DEFINE()

K_SEM_DEFINE ( sem_s  ,
,
 
)

◆ K_STACK_DEFINE()

K_STACK_DEFINE ( stack_s  ,
64   
)

◆ K_TIMER_DEFINE()

K_TIMER_DEFINE ( timer_s  ,
dummy_fn  ,
NULL   
)

◆ ZTEST()

ZTEST ( obj_tracking  ,
test_obj_tracking_sanity   
)

◆ ZTEST_SUITE()

ZTEST_SUITE ( obj_tracking  ,
NULL  ,
NULL  ,
NULL  ,
NULL  ,
NULL   
)

Variable Documentation

◆ msgq_buffer

int msgq_buffer[64]

◆ pipe_buffer

unsigned char pipe_buffer[64]

◆ slab_buffer

char slab_buffer[8 *4]

◆ stack_array

stack_data_t stack_array[8 *4]