I'd like to disable the -Werror=unused-variables flag while I am debugging something. I tried to set
build_flags = -w
in platformio.ini but that has no effect.
How about http://docs.platformio.org/en/stable/projectconf.html#build-unflags ?
Sorry, I was very much in a rush at the time and didn't reply. I think that did work for me in the end.