refine
This commit is contained in:
@@ -188,6 +188,13 @@ void HardFault_Handler_C(ContextStateFrame_t* frame, uint32_t lr_value){
|
||||
uint32_t dfsr = SCB->DFSR;
|
||||
uint32_t afsr = SCB->AFSR;
|
||||
|
||||
OS_UNUSED(bus_fault_address);
|
||||
OS_UNUSED(mem_manage_fault_address);
|
||||
OS_UNUSED(cfsr);
|
||||
OS_UNUSED(hfsr);
|
||||
OS_UNUSED(dfsr);
|
||||
OS_UNUSED(afsr);
|
||||
|
||||
#if defined(AUTO_REBOOT_ENABLE)
|
||||
const uint32_t usage_fault_mask = 0xffff0000;
|
||||
const bool non_usage_fault_occurred =
|
||||
|
||||
Reference in New Issue
Block a user