Skip to content

Commit b400537

Browse files
fix: make vPortYield weak in ARM_CRx_No_GIC port (#1414)
Mark vPortYield as a weak symbol so chips with a dedicated software interrupt register can substitute their own yield trigger. Default behaviour is unchanged when no strong override is linked. Signed-off-by: Maxim De Clercq <maximdeclercq00@gmail.com>
1 parent d3b074a commit b400537

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

portable/GCC/ARM_CRx_No_GIC/portASM.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
.global vPortRestoreTaskContext
5151
.global vPortInitialiseFPSCR
5252
.global ulReadAPSR
53-
.global vPortYield
53+
.weak vPortYield
5454
.global vPortEnableInterrupts
5555
.global vPortDisableInterrupts
5656
.global ulPortSetInterruptMaskFromISR

0 commit comments

Comments
 (0)