Hello all,
I have noticed that PIO ignores #include statements. I have added (connected?) several libraries to my project that I intend to implement in the future. They are not yet configured, so I have commented them out as below. However, during compilation, PIO includes these libraries (which throw errors that prevent compilation).
Is there a setting that I can use to make PIO respect this, please?
I suspect your problem is that PlatformIO will attempt to compile any C/C++ source files that it finds in the src and/or lib/* directories. My advice would be, don’t put incomplete libraries into lib if they have any C/C++ source files p[resent.