Merge pull request #354 from walker2048/walker_dev
统一 SW_Handler 命名为wch官方sdk标准
This commit is contained in:
@@ -143,8 +143,8 @@ restore_context:
|
|||||||
|
|
||||||
/* just switch at Software interrupt */
|
/* just switch at Software interrupt */
|
||||||
.align 2
|
.align 2
|
||||||
.global SW_handler
|
.global SW_Handler
|
||||||
SW_handler:
|
SW_Handler:
|
||||||
#if ARCH_RISCV_FPU
|
#if ARCH_RISCV_FPU
|
||||||
addi sp, sp, -128
|
addi sp, sp, -128
|
||||||
fsw f0, __reg_f0_OFFSET(sp)
|
fsw f0, __reg_f0_OFFSET(sp)
|
||||||
|
@@ -42,7 +42,7 @@ _vector_base:
|
|||||||
.word 0
|
.word 0
|
||||||
.word SysTick_Handler /* SysTick */
|
.word SysTick_Handler /* SysTick */
|
||||||
.word 0
|
.word 0
|
||||||
.word SW_handler /* SW */
|
.word SW_Handler /* SW */
|
||||||
.word 0
|
.word 0
|
||||||
/* External Interrupts */
|
/* External Interrupts */
|
||||||
.word WWDG_IRQHandler /* Window Watchdog */
|
.word WWDG_IRQHandler /* Window Watchdog */
|
||||||
@@ -143,7 +143,7 @@ _vector_base:
|
|||||||
.weak Ecall_U_Mode_Handler /* Ecall U Mode */
|
.weak Ecall_U_Mode_Handler /* Ecall U Mode */
|
||||||
.weak Break_Point_Handler /* Break Point */
|
.weak Break_Point_Handler /* Break Point */
|
||||||
.weak SysTick_Handler /* SysTick */
|
.weak SysTick_Handler /* SysTick */
|
||||||
.weak SW_handler /* SW */
|
.weak SW_Handler /* SW */
|
||||||
.weak WWDG_IRQHandler /* Window Watchdog */
|
.weak WWDG_IRQHandler /* Window Watchdog */
|
||||||
.weak PVD_IRQHandler /* PVD through EXTI Line detect */
|
.weak PVD_IRQHandler /* PVD through EXTI Line detect */
|
||||||
.weak TAMPER_IRQHandler /* TAMPER */
|
.weak TAMPER_IRQHandler /* TAMPER */
|
||||||
@@ -239,7 +239,7 @@ Ecall_M_Mode_Handler: 1: j 1b
|
|||||||
Ecall_U_Mode_Handler: 1: j 1b
|
Ecall_U_Mode_Handler: 1: j 1b
|
||||||
Break_Point_Handler: 1: j 1b
|
Break_Point_Handler: 1: j 1b
|
||||||
SysTick_Handler: 1: j 1b
|
SysTick_Handler: 1: j 1b
|
||||||
SW_handler: 1: j 1b
|
SW_Handler: 1: j 1b
|
||||||
WWDG_IRQHandler: 1: j 1b
|
WWDG_IRQHandler: 1: j 1b
|
||||||
PVD_IRQHandler: 1: j 1b
|
PVD_IRQHandler: 1: j 1b
|
||||||
TAMPER_IRQHandler: 1: j 1b
|
TAMPER_IRQHandler: 1: j 1b
|
||||||
|
Reference in New Issue
Block a user