Mbed build vs clean build

Hello,

for speed up you can try this

My basic understanding…

  • When you first time press build then all .cpp files are precompiled and that take long time.
  • When you you press it second time then it will be compiled only changed files, if the changes are not huge like a configuration and so on. That compilation is much faster because most of content is precompiled from first compilation.
  • The Clean Build will “delete” all precompiled sources and it is re- builded again from start like with first compilation, and of course it take long time. Anyway it is useful. Sometimes happens, it occurs to some error during changing a configuration or something similar. And then you need to use clean build.

BR, Jan

1 Like