Thank you both,
I tried to find taskYIELD_FROM_ISR() API on the freeRTOS website and also in the book but couldn’t. The compiler does not recognise it and cannot find it in all the freeRTOS files I can search. So not sure which header I need to include?
To find the taskYIELD_FROM_ISR() details, I also tried Google (specifying the freeRTOS site) but it provides only results from the forum. A number of times previously has been difficult to find some macros description. What is the best/easiest way to do that? There must be a simple organized logic but cannot see one at the moment.
Also it seems that portYIELD_FROM_ISR() and portEND_SWITCHING_ISR() are the same thing just for different ports. And taskYIELD_FROM_ISR() would call the appropriate one automatically. Is that correct?
Thank you