Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
main.c File Reference
#include <ztest.h>

Functions

void test_mheap_malloc_free (void)
 Test to demonstrate k_malloc() and k_free() API usage. More...
 
void test_mheap_calloc (void)
 Test to demonstrate k_calloc() API functionality. More...
 
void test_mheap_malloc_align4 (void)
 The test validates k_calloc() API. More...
 
void test_mheap_threadsafe (void)
 Verify alloc from multiple equal priority threads. More...
 
void test_k_aligned_alloc (void)
 
void test_sys_heap_mem_pool_assign (void)
 Validate allocation and free from system heap memory pool. More...
 
void test_malloc_in_isr (void)
 Validate allocation and free from system heap memory pool in isr context. More...
 
void test_malloc_in_thread (void)
 Validate allocation and free failure when thread's resource pool is not assigned. More...
 
void test_main (void)
 

Function Documentation

◆ test_k_aligned_alloc()

void test_k_aligned_alloc ( void  )

◆ test_main()

void test_main ( void  )

test case main entry