Skip to content

Commit 3d88bdd

Browse files
authored
Merge pull request #10835 from OpenNuvoton/nuvoton_m23_fault-handler
M23: Fix compile error with mbed fault handler
2 parents 4b438ac + 97dd302 commit 3d88bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/TARGET_CORTEX_M/mbed_fault_handler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ MBED_NOINLINE void print_context_info(void)
9898
//Capture CPUID to get core/cpu info
9999
mbed_error_printf("\nCPUID: %08" PRIX32, SCB->CPUID);
100100

101-
#if !defined(TARGET_M0) && !defined(TARGET_M0P)
101+
#if !defined(TARGET_M0) && !defined(TARGET_M0P) && !defined(TARGET_M23)
102102
//Capture fault information registers to infer the cause of exception
103103
mbed_error_printf("\nHFSR : %08" PRIX32
104104
"\nMMFSR: %08" PRIX32

0 commit comments

Comments
 (0)