Sterling
Sterling
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
I'm working on a uC/OS-III application for a Microchip SAMD21 microcontroller that allocates memory for fixed-size buffers used for sensor data. The SAMD21 only has 32KB SRAM, so I'm facing memory fragmentation, which is causing issues with allocating new buffers later in the program. Can anyone share techniques or best practices for memory management in uC/OS-III, specifically to avoid fragmentation when dealing with fixed-size buffer allocation on a resource-constrained MCU? @Middleware & OS
4 replies