I want to override the _unhandled_exception handler, by defining this handler in my own code. For this to work, the ChibiOS vectors.c file should be modified to apply the "weak" attribute to the _unhandled_exception function:
Code: Select all
void _unhandled_exception(void) __attribute__((weak));
I think this could be applied to the ChibiOS mainline. Or maybe there is another way for me to do this, without modifying vectors.c?
Thanks!!
Diego.