ESP32 with ESP-IDF: Build dependencies


#1

Hello,
how are build dependencies for the ESP-IDF frameworks computed? Currently using ESP-IDF in PlatformIO is rather annoying as building the whole IDF take ~5 minutes to compile. This would be fine, if it compiled once, however it recompiles on:

  • adding a file to a project (why? There is no dependency of IDF on project files)
  • modifying platformio.ini (it would be nice not to recompile if e.g. only upload or debug options are changed, however I get is is quite complicated)
  • IDE restart

Also, if a dependency is triggered, the whole IDF gets recompiled even it is not necessary (e.g., on modification of a header file).

Would it be possible to implement build dependencies properly or at least to disable build of some parts of IDF (e.g., bluetooh)?