mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #10835 from OpenNuvoton/nuvoton_m23_fault-handler
M23: Fix compile error with mbed fault handlerpull/10896/head
commit
3d88bdde30
|
@ -98,7 +98,7 @@ MBED_NOINLINE void print_context_info(void)
|
||||||
//Capture CPUID to get core/cpu info
|
//Capture CPUID to get core/cpu info
|
||||||
mbed_error_printf("\nCPUID: %08" PRIX32, SCB->CPUID);
|
mbed_error_printf("\nCPUID: %08" PRIX32, SCB->CPUID);
|
||||||
|
|
||||||
#if !defined(TARGET_M0) && !defined(TARGET_M0P)
|
#if !defined(TARGET_M0) && !defined(TARGET_M0P) && !defined(TARGET_M23)
|
||||||
//Capture fault information registers to infer the cause of exception
|
//Capture fault information registers to infer the cause of exception
|
||||||
mbed_error_printf("\nHFSR : %08" PRIX32
|
mbed_error_printf("\nHFSR : %08" PRIX32
|
||||||
"\nMMFSR: %08" PRIX32
|
"\nMMFSR: %08" PRIX32
|
||||||
|
|
Loading…
Reference in New Issue