2021-09-01 05:54 AM
Hi, I am attaching a simple .ioc configuration file with which I generated a new project using stm32 cubeide which when compiled generates a footprint of about 12kB.
Frankly, it seems excessive to me, to the point of making this platform unusable for projects with limited memory resources.
This problem has escalated in the latest versions of stm32 Cubeide.
Is there a way to have greater control over the resources used?
Solved! Go to Solution.
2021-09-01 06:09 AM
You are using the build configuration Debug, which requires additional memory.
You can easily reduce this memory requirement below 5KB if you set the build configuration to Release and also set C/C++ Build > Settings > Optimization to Optimize for size.
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
Good luck!
/Peter
2021-09-01 06:09 AM
You are using the build configuration Debug, which requires additional memory.
You can easily reduce this memory requirement below 5KB if you set the build configuration to Release and also set C/C++ Build > Settings > Optimization to Optimize for size.
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
Good luck!
/Peter
2021-09-01 07:57 AM