Hint

Refer to QMK’s documentation for details on how to use community modules

crash

Utilities to check why (if) last execution crashed.

Warning

Only works on Cortex-M microcontrollers, but apparently, not on M4F.

Option(crash_info_t) get_crash(void)[source]

Get information about last execution.

Returns:

Optional stack trace.
  • Some(trace): Call stack that crashed the program. Use unwrap() to get the value.

  • None: Previous execution did not crash.