Merge pull request #10835 from OpenNuvoton/nuvoton_m23_fault-handler

M23: Fix compile error with mbed fault handler
pull/10896/head
Martin Kojtal 2019-06-25 11:03:32 +01:00 committed by GitHub
commit 3d88bdde30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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