File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
platform/source/TARGET_CORTEX_M Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,8 @@ Fault_Handler_Continue2
150
150
MRS R2 , CONTROL ; Get CONTROL Reg
151
151
STR R2 ,[ R1 ]
152
152
MOV R0 , R12
153
- LDR R1 , =mbed_fault_context
153
+ LDR R3 , =mbed_fault_context
154
+ LDR R1 ,[ R3 ]
154
155
BL mbed_fault_handler
155
156
#endif
156
157
B . ; Just in case we come back here
Original file line number Diff line number Diff line change @@ -183,7 +183,8 @@ Fault_Handler_Continue2:
183
183
MRS R2 , CONTROL // Get CONTROL Reg
184
184
STR R2 ,[ R1 ]
185
185
MOV R0 , R12
186
- LDR R1 , =mbed_fault_context
186
+ LDR R3 , =mbed_fault_context
187
+ LDR R1 ,[ R3 ]
187
188
BL mbed_fault_handler
188
189
#endif
189
190
B . // Just in case we come back here
Original file line number Diff line number Diff line change @@ -145,7 +145,8 @@ Fault_Handler_Continue2
145
145
MRS R2 , CONTROL ; Get CONTROL Reg
146
146
STR R2 ,[ R1 ]
147
147
MOV R0 , R12
148
- LDR R1 , =mbed_fault_context
148
+ LDR R3 , =mbed_fault_context
149
+ LDR R1 ,[ R3 ]
149
150
BL mbed_fault_handler
150
151
#endif
151
152
B . ; Just in case we come back here
You can’t perform that action at this time.
0 commit comments