This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-M23: Dumping values on the stack

I am trying to debug a Hard fault caused by some inline assembly code in my program. I have tried the two approaches here: https://www.freertos.org/Debugging-Hard-Faults-On-Cortex-M-Microcontrollers.html and https://blog.feabhas.com/2013/02/developing-a-generic-hard-fault-handler-for-arm-cortex-m3cortex-m4/ but seem to be running into errors when building. Is there an equivalent code for Cortex-M23 processor?

Below is my Hardfault handler

The following errors come up when I try to build my code:

0