cortexm::syscall

Static APP_HARD_FAULT

Source
#[no_mangle]
pub static mut APP_HARD_FAULT: usize
Expand description

This is called in the hard fault handler. When set to 1 this means the hard fault handler was called. Marked pub because it is used in the cortex-m* specific handler.

n.b. If the kernel hard faults, it immediately panic’s. This flag is only for handling application hard faults.