FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2015 Threads]
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 ?
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 portENDSWITCHINGISR( x ) / portYIELFFROMISR( x ) macro instead, as demonstrated on various API documentation pages, for example:
http://www.freertos.org/xTaskNotifyFromISR.html
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.