统一 SW_Handler 命名为wch官方sdk标准

This commit is contained in:
walker2048
2022-10-27 10:09:12 +08:00
parent a6e4cf7719
commit ec74b30bb0
2 changed files with 5 additions and 5 deletions

View File

@@ -143,8 +143,8 @@ restore_context:
/* just switch at Software interrupt */
.align 2
.global SW_handler
SW_handler:
.global SW_Handler
SW_Handler:
#if ARCH_RISCV_FPU
addi sp, sp, -128
fsw f0, __reg_f0_OFFSET(sp)

View File

@@ -42,7 +42,7 @@ _vector_base:
.word 0
.word SysTick_Handler /* SysTick */
.word 0
.word SW_handler /* SW */
.word SW_Handler /* SW */
.word 0
/* External Interrupts */
.word WWDG_IRQHandler /* Window Watchdog */
@@ -143,7 +143,7 @@ _vector_base:
.weak Ecall_U_Mode_Handler /* Ecall U Mode */
.weak Break_Point_Handler /* Break Point */
.weak SysTick_Handler /* SysTick */
.weak SW_handler /* SW */
.weak SW_Handler /* SW */
.weak WWDG_IRQHandler /* Window Watchdog */
.weak PVD_IRQHandler /* PVD through EXTI Line detect */
.weak TAMPER_IRQHandler /* TAMPER */
@@ -239,7 +239,7 @@ Ecall_M_Mode_Handler: 1: j 1b
Ecall_U_Mode_Handler: 1: j 1b
Break_Point_Handler: 1: j 1b
SysTick_Handler: 1: j 1b
SW_handler: 1: j 1b
SW_Handler: 1: j 1b
WWDG_IRQHandler: 1: j 1b
PVD_IRQHandler: 1: j 1b
TAMPER_IRQHandler: 1: j 1b