Cannot enable exceptions for the Sam D21

I'm using the Arduino IDE, and I've edited the platform.txt file to include the compiler option '-fexceptions', but still it doesn't work when I go to compile. I've also made sure to remove '-fno-exceptions'.

Is it possible to have exception handling for the Sam D21?

The platform.txt file has about three or five places where you should edited the compile options, because it contains several recipes for different source files and stages of compilation process.

Please show your platform.txt after editing

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.