crash¶
Utilities to check why (if) last execution crashed.
Warning
Only works on Cortex-M microcontrollers, but apparently, not on M4F.
-
struct crash_info_t¶
[source] Information about a crash.
-
bool get_crash(crash_info_t *info)¶
[source] Get information about last execution.
- Parameters:
info – Pointer where the information will be written.
- Return: Whether previous execution crashed
true
: Call stack that lead to crashing has been copied toinfo
.false
:info
left untouched.