Expand description
Panic message handling utilities.
Because doing something complicated in panic_handler is difficult (eg. async function can’t be called), alternatively you can reboot the device in panic_handler. By saving panic info in uninit section, you can display panic message on display after reboot.
Note that this module depends on .uninit section, which is handled by cortex_m_rt.
Structs§
Functions§
- display_
mes - display_
message_ if_ panicked - Display panic message on display is exists.
This is intended to be called before
rktk::task::start
and takes a display builder. - save_
panic_ info - Save panic info to uninit section.