Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Updating to FreeRTOS 8.2.2

Posted by dinobrn on 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 ?


Updating to FreeRTOS 8.2.2

Posted by rtel on 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 portENDSWITCHINGISR( x ) / portYIELFFROMISR( x ) macro instead, as demonstrated on various API documentation pages, for example: http://www.freertos.org/xTaskNotifyFromISR.html


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS