I am currently trying to use an Arduino open source library (a touch display one) and I am fairly certain that I am missing some arm-none-eabi-g++ compiler flags.
In the Arduino IDE, it works and uses the missing flags,"-w -x c++ -E -CC"
However, when I try to include these flags in platformio.ini, it does not recognize the language c++ after -x.
So inside the .json file I am left with simply
-w -x -E -CC
and the compiler says:
arm-none-eabi-g++: error: language -E not recognized
How do I get the compiler flag to recognize the -x c++ flag (along with the rest of them) if I can’t manually modify the .json file?
Thank you