You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In freertos_bindings.c, _gnat_yield_from_isr() calls portEND_SWITCHING_ISR(), but there’s a suggestion on the FreeRTOS forums that portYIELD_FROM_ISR() would be appropriate.
The text was updated successfully, but these errors were encountered:
Each RTOS port provides a macro to request a context switch from within an ISR. The name of the macro is dependent on the port (for historic reasons). It will be either portYIELD_FROM_ISR() or portEND_SWITCHING_ISR.
The ARM CM ports I’ve looked at define
#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
so no worries; but the hint above indicates that maybe portYIELD_FROM_ISR() would be better. At least the name matches.
In
freertos_bindings.c
,_gnat_yield_from_isr()
callsportEND_SWITCHING_ISR()
, but there’s a suggestion on the FreeRTOS forums thatportYIELD_FROM_ISR()
would be appropriate.The text was updated successfully, but these errors were encountered: