The way I was doing this was main.h would #include “lib1.h”. lib1.h would #include lib2.h. On and on.
In this design, lib 1 has access to the lower levels.
Up until recently, that worked very well. Dependency graph would generate accurately in about a second.
However, (as of this morning, which I think it updated to 6.1.0 recently) now what I’m getting is that every library is linked as dependent to every library in a sort of explicit everything touches everything at every level, that is exponentially larger. It takes minutes to get through the dependency graph.
Everything ends up compiling fine, and the bin files don’t seem larger.
Below is an example of what it looks like. I think… It’s impossible to screen capture the top of it because it scrolls so fast. I have ~60 libraries so it appears to be exponentially longer.
I can confirm the cause is 6.1.0. I was able to get 6.0.2 installed via
pip install -U "platform<6.1"
Then changing the Platformio Extension Settings to a Custom install with “Platformio-ide: Custom PATH”, and turning off “Platformio-ide: Use Builtin PIOCore”
VSCode raises an error when I open it. But everything compiles quickly and the dependency graph is back to normal.