Old FreeRTOS, problem with From_ISR api functions
Hi, I am using a STM32F415 with V7.4.0 of FreeRTOS. I am working on an old project and can’t change the FreeRTOS Version.
I am actualy having difficulties with FromISR functions, cause taskYIELDFROMISR and portYIELDFROMISR are defined nowhere. It seems that I can’t use those. Here is an example of when I use them :
xSemaphoreGiveFromISR (FinEnvSemaphore, &xHigherPriorityTaskWoken);
taskYIELDFROM_ISR(xHigherPriorityTaskWoken);
I have looked into many FreeRTOS files and I only seen them in examples /* … */. How could I use those, then ?
Old FreeRTOS, problem with From_ISR api functions
It might be that you need to use portENDSWITCHINGISR() instead – it
does exactly the same thing – just a different name. Is that defined?
Old FreeRTOS, problem with From_ISR api functions
The only definition of it is that one (in portmacro.h) :
“#define portYIELD() vPortYieldFromISR()
“#define portENDSWITCHINGISR( xSwitchRequired ) if( xSwitchRequired ) vPortYieldFromISR()
I looked a bit deeper and it’s totaly it, thanks !