for my next project I wanted to pick different variable_xxx.h configurations in platformio ini and include them into the main code file.
I found a perfect hint at https://docs.platformio.org/en/latest/projectconf/section_env_build.html#projectconf-build-flags
-include file Process file as if
#include "file" appeared as the first line of the primary source file.)
i tried every possible path configuration so far but the compiler never finds the relevant file.
Which then expands to:
cc1plus.exe: fatal error: ./ D:\GIT\Projectname\readerconfigs\variables_815.h: Invalid argument
… where does this ./ come from on windows? can I change something to get rid of it in platformio.ini?
Thanks a lot