Hi everyone.
In my Platformio project I have a configuration file which will have all the internal configurations in this form
my_configuration1=“debug”
my_configuration2=“release”
I want to publicly share it on GitHub so that everyone that looks on my configuration file will see only the lefthand side of the configurations so that everyone will be able to insert their values to the file like this.
//what everyone sees on GitHub
my_configuration1=
my_configuration2=
the configurations have to be pushed to my C++ code via the CPPDEFINES argument in the script being called from platformio.ino via the extra_scripts directive. Another issue that arises is the necessity to provide the full path to the configuration file on my computer in the script (I know I could insert the configurations directly to the python file but this would not be an optimal solution) which is not a best practice when sharing code.
Does PlatformIO offer solutions for this case?
Thanks, Mark