Merge pull request #104 from DavidLin1577/patch-1

Fixed typo 'swich' in port_s.S
This commit is contained in:
Arthur
2020-02-28 00:13:14 +08:00
committed by GitHub
6 changed files with 6 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ port_sched_start
CPSID I CPSID I
; set pendsv priority lowest ; set pendsv priority lowest
; otherwise trigger pendsv in port_irq_context_switch will cause a context swich in irq ; otherwise trigger pendsv in port_irq_context_switch will cause a context switch in irq
; that would be a disaster ; that would be a disaster
MOV32 R0, NVIC_SYSPRI14 MOV32 R0, NVIC_SYSPRI14
MOV32 R1, NVIC_PENDSV_PRI MOV32 R1, NVIC_PENDSV_PRI

View File

@@ -66,7 +66,7 @@ port_sched_start:
CPSID I CPSID I
@ set pendsv priority lowest @ set pendsv priority lowest
@ otherwise trigger pendsv in port_irq_context_switch will cause a context swich in irq @ otherwise trigger pendsv in port_irq_context_switch will cause a context switch in irq
@ that would be a disaster @ that would be a disaster
MOVW R0, #:lower16:NVIC_SYSPRI14 MOVW R0, #:lower16:NVIC_SYSPRI14
MOVT R0, #:upper16:NVIC_SYSPRI14 MOVT R0, #:upper16:NVIC_SYSPRI14

View File

@@ -56,7 +56,7 @@ port_sched_start
CPSID I CPSID I
; set pendsv priority lowest ; set pendsv priority lowest
; otherwise trigger pendsv in port_irq_context_switch will cause a context swich in irq ; otherwise trigger pendsv in port_irq_context_switch will cause a context switch in irq
; that would be a disaster ; that would be a disaster
MOV32 R0, NVIC_SYSPRI14 MOV32 R0, NVIC_SYSPRI14
MOV32 R1, NVIC_PENDSV_PRI MOV32 R1, NVIC_PENDSV_PRI

View File

@@ -64,7 +64,7 @@ port_sched_start
CPSID I CPSID I
; set pendsv priority lowest ; set pendsv priority lowest
; otherwise trigger pendsv in port_irq_context_switch will cause a context swich in irq ; otherwise trigger pendsv in port_irq_context_switch will cause a context switch in irq
; that would be a disaster ; that would be a disaster
MOV32 R0, NVIC_SYSPRI14 MOV32 R0, NVIC_SYSPRI14
MOV32 R1, NVIC_PENDSV_PRI MOV32 R1, NVIC_PENDSV_PRI

View File

@@ -66,7 +66,7 @@ port_sched_start:
CPSID I CPSID I
@ set pendsv priority lowest @ set pendsv priority lowest
@ otherwise trigger pendsv in port_irq_context_switch will cause a context swich in irq @ otherwise trigger pendsv in port_irq_context_switch will cause a context switch in irq
@ that would be a disaster @ that would be a disaster
MOVW R0, #:lower16:NVIC_SYSPRI14 MOVW R0, #:lower16:NVIC_SYSPRI14
MOVT R0, #:upper16:NVIC_SYSPRI14 MOVT R0, #:upper16:NVIC_SYSPRI14

View File

@@ -56,7 +56,7 @@ port_sched_start
CPSID I CPSID I
; set pendsv priority lowest ; set pendsv priority lowest
; otherwise trigger pendsv in port_irq_context_switch will cause a context swich in irq ; otherwise trigger pendsv in port_irq_context_switch will cause a context switch in irq
; that would be a disaster ; that would be a disaster
MOV32 R0, NVIC_SYSPRI14 MOV32 R0, NVIC_SYSPRI14
MOV32 R1, NVIC_PENDSV_PRI MOV32 R1, NVIC_PENDSV_PRI