diff options
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/stm32/fault_rvds.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcpu/arm/stm32/fault_rvds.S b/libcpu/arm/stm32/fault_rvds.S index e4f0aaa964..90419337ad 100644 --- a/libcpu/arm/stm32/fault_rvds.S +++ b/libcpu/arm/stm32/fault_rvds.S @@ -22,10 +22,12 @@ rt_hw_hard_fault PROC
EXPORT rt_hw_hard_fault
- ; get current context
+ ; get current context
MRS r0, psp ; get fault thread stack pointer
BL rt_hw_hard_fault_exception
ORR lr, lr, #0x04
BX lr
-
\ No newline at end of file + ENDP
+
+ END
|
