Open zfields opened 4 months ago
arduino-cli compile --verbose --warnings=all --build-property "build.extra_flags=-Wno-unused-variable -Wno-implicit-fallthrough -Wno-psabi -Wno-deprecated-copy -Wno-missing-field-initializers -Wno-delete-non-virtual-dtor -Wno-sign-compare -Og -g" --fqbn arduino:mbed_opta:opta <dev folder>
It makes me sad I have to do the same sort of thing as you to get a clean builder, particularly because of of the things that get suppressed are aliasing violations and other undefined behaviour which often become crashes in later versions of the compiler.