Hi all,
I’m developing a PlatformIO library that needs some compile time configurations.
I’ve seen that in the platformio.ini file is possible to add some extra python scripts that should be run from the build system before or after the main platform script. So I want to run a script that takes a .ini file as input and generates a .hpp file as output.
The problem is that I’m developing a library so the file .ini will be in the directory of the project that will use my library not in the directory of the library itself.
So my question is: Is it possible to locate from the python API of PlatformIO the location of the project that is compiling my library?