MemInit() is only used within cmsis_rtos_threadx.
 
Symbols
loading...
Files
loading...

MemInit() function

The function MemInit creates memory pools for stack and heap. The stack pool is used for threads and queues stacks allocations. The heap pool is used for threads, timers, mutex, semaphores, message queues and events flags control block object memory allocations. The size of stack and heap pools are user configured using the RTOS2_BYTE_POOL_STACK_SIZE and RTOS2_BYTE_POOL_HEAP_SIZE flags.

Syntax

static osStatus_t MemInit(void);

Return value

status code that indicates the execution status of the function.

References

LocationReferrerText
cmsis_os2.c:238
static osStatus_t MemInit(void)
cmsis_os2.c:332osKernelInitialize()
if (MemInit() == osOK)

Call Tree

Functions calling MemInit()
Functions called by MemInit()
all items filtered out
MemInit()
all items filtered out
Data read by MemInit()
Data written by MemInit()
MemInit()::bytepool_size
MemInit()::unused_memory
all items filtered out
MemInit()
MemInit()::bytepool_size
MemInit()::unused_memory
all items filtered out
Type of MemInit()
MemInit()
uint32_t
all items filtered out