Simple memory allocator code based on Miguel Masmano strategy TLSF, which has the advantage do allocate or desallocate a memory block with constant O(1) time regard the block size, being it suitable for use in resource constrained embedded systems.
Original credits filled at source files.
Enjoy it!