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] [June 2007 Threads] portYIELD_FROM_ISRPosted 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_ISRPosted 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_ISRPosted 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_ISRPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|