This is the custom implementation of function malloc for embedded systems, that defragmentate memory after using it. Good solution when you need to allocate memory dynamically, but memory fragmentation is the problem.
c avr microcontroller embedded memory stm32 allocator malloc embedded-systems memory-allocation memory-leak alloc custom-allocator defragmentation dalloc
-
Updated
Jan 11, 2026 - C++