rust-embedded / cortex-m-quickstart

Template to develop bare metal applications for Cortex-M microcontrollers
782 stars 164 forks source link

Add a user-defined HardFault handler to print ExceptionFrame in crash… #125

Closed 30Wedge closed 1 month ago

30Wedge commented 3 months ago

The doc comment at the top of crash.rs makes it seem like the target hardware should print out the ExceptionFrame to the semihosting console on crash.

I was following along with the examples and noticed the target app doesn't print that bit of text out without this patch.