Entire MBED recompiles every time

I found atleast one older post about this but figured I’d bring the issue up again as I don’t believe it’s been resolved, and it’s growing increasingly frustrating for myself and a few co-workers.

Basically, every single time an MBED project is compiled, the system re-compiles EVERY MBED file in in existence on the system. This sometimes takes multiple minutes on certain computers and makes development frustrating.

Is there any way to make the compiler more intelligent in the background so only necessary files are compiled? If not, anyone working on this or plan to work on this?


The standard behaviour is exactly that, only recompile changed files. Do you modify the platformio.ini in between? If you do that, PIO will do a full recompile.