I’ve been searching through the docs and forums for a while now and struggled to find anything on how to pass configuration options through the platformio.ini file for arduino compilation.
I have an ESP8266 which until now I was developing on using the Arduino extension in VSC but have seen the light and come to the platformio side of things. This transition was very painless, however the only thing I’m unable to find is how to add or specify arduino config flags.
For example in the arduino config you’d set:
“programmer”: “AVRISP mkII”
I’m aware that there is no esp8266 debug support however I want to pass in dbg=Serial, as I’ve built debug messaging around this flat.
I tried using build_flags and upload_flags but neither yielded a positive result.
What am I missing here? Any help is appreciated.