C_Allocator

Fixed block memory allocator in C: static pools, no heap, deterministic, with malloc/free style use.

Author
David Lafreniere
Website
https://github.com/endurodave/C_Allocator
Category
Data Processing
License
MIT
Library Type
Contributed
Architectures
Any

fb_allocator hands out fixed-size blocks from a static pool; x_allocator combines several pools into a malloc/free/realloc style API that picks the smallest block that fits. No heap fragmentation, constant-time allocation. Thread-safe on FreeRTOS, ThreadX, Zephyr and CMSIS-RTOS2 with a build option.

Downloads

Filename Release Date File Size
C_Allocator-2.1.0.zip 2026-11-15 32.67 KiB