electro_coco
DIIDevHeads IoT Integration Server
•Created by Sterling on 6/7/2024 in #middleware-and-os
Can anyone share techniques or best practices for memory management in uC/OS-III
First of all how you were able to check that heap is getting fragmented
Btw to stop heap from fragmentation you can use deterministic approach where each block of memory allocated is of pre determined fixed size
And is popped out in sequence
2nd if us/os -lll allows static allocation of functions then use that because it will allocate memory at compile time
4 replies