Missing vTaskYield from port.c in FreeRTOS v10 (GCC ARM CM4)

uyeop wrote on Friday, November 30, 2018:

Hi All,

I am upgrading my freertos (GCC ARM CM4 port) from version V8.0.1 to V10.1.0 but I found out that vPortYield() is missing from port.c file. My taskYield() function does not work currently because it is supposed to be vPortYield() (through macro definitions).

I can just copy vPortYield() from my older port.c version, but afraid that this is not the right way.
Can anyone point me the right way to get taskYield() working?

Thanks

rtel wrote on Friday, November 30, 2018:

I’m not sure why you can’t just call the public API function (actually
macro) taskYIELD(). Perhaps if you could explain why you have your own
version or show its implementation - then I may be able to make a
suggestion.