I am using the Nordik SDK 17 and want to capture all soft and hardware faults.
In the sdk_config.h I set:
I was able to implement (override) the app_error_handler and app_error_fault_handler. But adding HardFault_process and HardFault_Handler to the same app_error_handler_gcc.c file seems not to work.
When creating a test function like:
and or
will stop the attached Segger studio debugger, but neither one of the routines is ever called.
What could be the reason for this?