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] [July 2011 Threads] using portSAVE_CONTEXT in IAR v850 Posted by Alessandro on July 4, 2011 Hi, I'm having linking problems using portSAVE_CONTEXT and portRESTORE_CONTEXT. I'm using IAR for V850. I included in the cpp file that contains calls to these functions. I have also declared them as extern "C" functions but linker says: Error[e46]: Undefined external "portSAVE_CONTEXT" referred in main
What 's wrong with that? Does it happens to anybody? Does anyone know the solution?
Thank you
RE: using portSAVE_CONTEXT in IAR v850 Posted by Richard on July 4, 2011 You should never have to include portmacro.h in an application file, just FreeRTOS.h, then the header file that includes the API function you are using (tasks.h, queue.h, semphr.h or timers.h).
Does the project that comes in the FreeRTOS zip file download build, unmodified?
Regards.
RE: using portSAVE_CONTEXT in IAR v850 Posted by Alessandro on July 4, 2011 Yes, it builds unmodified.
Thanks
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|