Hello,
Is there a compiler setting that I could enable to generate a divide by 0 abort exception?
I don't see an exception is generated by default with the following code.
uint32_t x = 1000;
uint32_t y = 0;
uint32_t z = 0;
z = x / y;
Thanks,
Hong