I was able to solve it using this pattern: # Convention for compile time configuration of PlatformIO projects | Arik Yavilevich's blog
Basically a pre build script that sets the environment variables
I was able to solve it using this pattern: # Convention for compile time configuration of PlatformIO projects | Arik Yavilevich's blog
Basically a pre build script that sets the environment variables