3 ms·
The allocator that comes with free rtos (I assume he's using it as he mentions pvPortMalloc) can be extended to support realloc efficiently without too much tro
by plasticchris 11y ago
The allocator that comes with free rtos (I assume he's using it as he mentions pvPortMalloc) can be extended to support realloc efficiently without too much trouble so that it will resize if possible. For example https://github.com/hello/heap_6 https://github.com/hello/heap_6
- dimonomid 11y agoIn this case, pvPortMalloc and friends is what Espressif SDK provides in their binaries; it doesn't provide sources. So we can't just extend existing allocator, without actually replacing functions with our implementations by objdump. We could replace them with whatever, but umm_malloc is still the most efficient allocator for memory-constrained devices that I'm aware of.