Skip to content

Commit ad8df96

Browse files
committed
Update os_cpu_a.S
Fixed missing .thumb_func in ARMv7-M GNU port.
1 parent 2926d13 commit ad8df96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Ports/ARM-Cortex-M/ARMv7-M/GNU/os_cpu_a.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ OSStartHighRdy:
157157

158158
.thumb_func
159159
OSCtxSw:
160+
.thumb_func
160161
OSIntCtxSw:
161162
LDR R0, =NVIC_INT_CTRL @ Trigger the PendSV exception (causes context switch)
162163
LDR R1, =NVIC_PENDSVSET

0 commit comments

Comments
 (0)