Fixes the bug of having &mbed_fault_context argument instead of mbed_fault_context in mbed_fault_handler.

pull/11272/head
Andrew Chong 2019-08-21 16:38:36 +09:00
parent e4e6c645fa
commit e90c5674d4
3 changed files with 6 additions and 3 deletions

View File

@ -150,7 +150,8 @@ Fault_Handler_Continue2
MRS R2,CONTROL ; Get CONTROL Reg
STR R2,[R1]
MOV R0,R12
LDR R1,=mbed_fault_context
LDR R3,=mbed_fault_context
LDR R1,[R3]
BL mbed_fault_handler
#endif
B . ; Just in case we come back here

View File

@ -183,7 +183,8 @@ Fault_Handler_Continue2:
MRS R2,CONTROL // Get CONTROL Reg
STR R2,[R1]
MOV R0,R12
LDR R1,=mbed_fault_context
LDR R3,=mbed_fault_context
LDR R1,[R3]
BL mbed_fault_handler
#endif
B . // Just in case we come back here

View File

@ -145,7 +145,8 @@ Fault_Handler_Continue2
MRS R2,CONTROL ; Get CONTROL Reg
STR R2,[R1]
MOV R0,R12
LDR R1,=mbed_fault_context
LDR R3,=mbed_fault_context
LDR R1,[R3]
BL mbed_fault_handler
#endif
B . ; Just in case we come back here