-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Milestone
Description
Now that we've just released version 1.0 of this project, I think it would be useful to take some time to analyze the memory (RAM and FLASH) usage.
Indeed, both memory are nearly full right now : firmware is ~410KB out of the 460KB available, and it's becoming harder and harder to find RAM memory to allocate buffers when needed.
FLASH memory usage should be fairly easy to map using the .map file.
RAM memory usage is a bit more difficult to figure out. I've already done a bit of researches :
- There is a global stack and heap regions allocated by the linker script. I think both are 8KB. How full are they? Can we shrink or are they already full?
- FreeRTOS use a 16KB buffer as a heap for its own use (memory allocation, stack for tasks,...)
- LVGL has its own 14KB memory buffer.
- NimBLE probably use a good amount of RAM memory too. How much? And where is it allocated?
Mapping memory usage will allow us to see what's need to be optimized and which solutions we can implement to be able to continue to add new features and applications.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels