Quality RTOS & Embedded Software

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


Loading

portYIELD_FROM_ISR

Posted by DaveH on June 8, 2007
There are some examples in the documentation that use a macro named portYIELD_FROM_ISR. I can't find this macro anywhere. Can someone explain what I'm doing wrong?

Regards,

Dave

RE: portYIELD_FROM_ISR

Posted by embeddedc on June 8, 2007
It depends on which port you are using. Normally it is defined in portmacro.h. Sometimes in portasm.s. These files are in the FreeRTOS\Source\portable\[compiler]\[processor] folder.

RE: portYIELD_FROM_ISR

Posted by DaveH on June 8, 2007
OK, so it's not defined for the AVR (or most other ports). Does that mean I can just use the taskYield macro from the ISR?

Thanks,

Dave

RE: portYIELD_FROM_ISR

Posted by embeddedc on June 8, 2007
Your best bet is to look at the sample serial port driver that comes with a demo for the port you are using. There is one for each port. Copy what ever that does.


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


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner