Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Output compiled size and static memory usage with 'platformio run' #59
(This just an enhancement request)
One minor feature I find useful from the Arduino IDE is that it outputs the size of the program being updated and (in the 1.5 branch) the total size of static variables. These are both useful both to be careful about approaching the limits, but also for optimizing code during development.
'platformio run -t upload' already outputs the size, but since I'm not always uploading it would be useful if that was output for each environment during a build.
For the static variable usage, I have a recollection that theres a tool in the avr tool chain that produces this info, but I'm not immediately seeing it. Regardless this sort of info is hugely valuable when developing for a chip that may only have 1k of memory.