Is your feature request related to a problem? Please describe.
In my use case, when a MCU warm reset triggered by Watchdog occurred due to a MCU hang. UART logging is the only way for debugging. In order to increase debuggability for the MCU hang scenario, it would be great to have a feature to retrieve previous stack trace in current.
Describe the solution you'd like
I would like a function so that It could print out a buffer which logs the stack trace info for previous boot. so that this info could be used to help debuggability.
Describe alternatives you've considered
Additional context