Tagged articles
1 articles
Page 1 of 1
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 14, 2022 · Fundamentals

FreeRTOS Memory Allocation Methods, Interfaces, and Management Schemes

FreeRTOS supports both static and dynamic memory allocation, allowing tasks, timers, semaphores and mutexes to use either a pre‑allocated region or the system heap, provides pvPortMalloc/vPortFree APIs, and offers five heap schemes (heap_1‑5) ranging from simple non‑freeing allocation to multi‑region coalescing management for flexible embedded applications.

FreeRTOSStatic Allocationdynamic allocation
0 likes · 8 min read
FreeRTOS Memory Allocation Methods, Interfaces, and Management Schemes