Updating to FreeRTOS 8.2.2

dinobrn wrote on Friday, August 28, 2015:

I’m using STM32F107VC microcontroller

I’m using Ride7 ver 7.42.12.0305 compiler
RKit-ARM for Ride7 ver 1.46.12.0305

I have updated my project with RTOS from FreeRTOS 7.1.1 to FreeRTOS 8.2.2

I noted the following:

In FreeRTOS 7.1.1 the function vPortYieldFromISR() was defined in the file port.c. Its prototype was in portmacro.h
I used vPortYieldFromISR() inside a my IRQ routine (interrupt request).

In FreeRTOS 8.2.2 vPortYieldFromISR() wasn’t defined and so I replaced vPortYieldFromISR() with vPortYield().
It seems all ok.
Is the replacement correct ?

rtel wrote on Friday, August 28, 2015:

vPortYieldFromISR() is not intended for direct use, which means, as you have found out, as it it not part of the public API it can change.

Please use the portEND_SWITCHING_ISR( x ) / portYIELF_FROM_ISR( x ) macro instead, as demonstrated on various API documentation pages, for example:
http://www.freertos.org/xTaskNotifyFromISR.html