Hi,
I would like to implement a buffer of structures. The code will make use of malloc and Free functions, to allocate memory and free memory during run-time.
Is this possible? memory efficient?
Thanks for your feedback.
regards
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The original post mentioned that the user will use Free as well as Malloc.
An example of a memory-pool implementation can be found at:
https://github.com/quarkng/MemPool_MSP430
Please note, there are MANY different ways to implement mem-pools. The above is just an example, not necessarily the best for all applications.
**Attention** This is a public forum