Along with the dynamic memory manager, I also had to implement a thread system on that embedded project. We weren’t using any library and we didn’t know yet about the amazing FreeRTOS, so in order to have threads we had to implement them. You can find here an explanation of how I did this.
Dynamic Memory Manager in C
I once had to implement a dynamic memory manager in C for an embedded project. This wasn’t an easy task because we also wanted to optimize memory usage. So I went to it, I analized another framework we had in our hands and saw what we needed and what we didn’t. The solution I got…