Hi,
I’m looking at the examples and the projects created by the python tool and trying to understand how the toolchain works. I’m trying to achieve 2 simple things:
- Turn off optimisations in DEBUG builds
- Enable C++ 17
I see that the VS Code tasks.json diverts all building to a supplied makefile. If I try to add flags in the makefile though (e.g. CXXFLAGS += -std=c++17), they are not picked up.
Where is the compiler actually specified? From the output I can see that arm-none-eabi-gcc is being used, but I can’t see this specified anywhere. Where does this tool path come from? I see in c_cpp_properties.json that arm-none-eabi-g++.exe is specified, and c++17 is already defined but this clearly isn’t being used.
Any clarity on how the VS Code jsons and the makefile work together would be much appreciated!