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] [February 2009 Threads] portYIELD_FROM_ISRPosted by avi asaf on February 18, 2009
hello all,
I am working on atmel at91sam7s256 base on IAR workbench 5.00.
the semaphore example which appears in FreeRtos Web site uses portYIELD_FROM_ISR macro,
its being called after xSemaphoreGiveFromISR and if xHigherPriorityTaskWoken was set to true.
first of all, I would like to understand, what is the Yield macro role ? is it uses in order to force a context switch after the interrupt routine is ended?
second, I didn't found portYIELD_FROM_ISR macro at all, so I was trying to use "taskYIELD" but the OS was crashed.
what am I doing wrong?
does any one can help me with that problem?
thanks,
RE: portYIELD_FROM_ISRPosted by Dave on February 18, 2009 There is an example given under "interrupt service routines" on this page http://www.freertos.org/portsam7iar.html and most likely in the demo for your port as well.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|