使用rtthread

This commit is contained in:
ranchuan
2023-06-25 15:30:36 +08:00
parent 3604192d8f
commit cdad432f8a
41 changed files with 6047 additions and 95 deletions

View File

@@ -217,13 +217,13 @@ rt_hw_interrupt_thread_switch PROC
BX lr
ENDP
IMPORT bk_reboot_hard_err
;IMPORT bk_reboot_hard_err
IMPORT rt_hw_hard_fault_exception
EXPORT HardFault_Handler
HardFault_Handler PROC
; get current context
BL bk_reboot_hard_err
;BL bk_reboot_hard_err
B .
TST lr, #0x04 ; if(!EXC_RETURN[2])
ITE EQ