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] [October 2012 Threads] Compile Errors - RTOSDemo ProjectPosted by rog57 on October 15, 2012 Hi,
I have searched through every possible avenue to find a solution to this seemingly simple issue, but unable to find an answer. I have downloaded and unzipped the RTOS files into a directory. I am using IAR version 5.5. Under project options, I have added these paths into the C/C++ directory: FreeRTOSV7.2.0\FreeRTOS\Source\include FreeRTOSV7.2.0\FreeRTOS\Demo\CORTEX_LPC1768_IAR
Yet, I am still getting errors. The latest: Fatal Error[Pe005]: could not open source file "core_cm3.h" New_Development\FreeRTOSV7.2.0\FreeRTOS\Demo\CORTEX_LPC1768_IAR\LPC17xx.h 238
I guess I'm at a bit of a loss to understand why I am having so much difficulty to locate the basic steps on how to set this "project" up in IAR, or any environment. Isn't there a README file explaining what paths should be added to the Project compiler paths? I love to "self-help", but there doesn't seem to be much out there I can find.
Can someone please point me in the right direction?
Thanks, Gary
RE: Compile Errors - RTOSDemo ProjectPosted by rog57 on October 16, 2012 OK, I almost give up. Something doesn't add up here. I read through the Ports info for the LPC1768 on the FreeRTOS site. It says if it doesn't build as-is, that the version is likely "too old". What does that mean? What version was the project file tested on, or can this information be made available...? I'm having a lot of difficulty, but no matter what I try, the compiler breaks without me patching .h files, now the linker is breaking.
Thanks for any help. Gary
RE: Compile Errors - RTOSDemo ProjectPosted by Richard on October 16, 2012 Different versions of IAR are not compatible with each other. The IAR version you are using is definitely too old. You need at least version 6, and probably version 6.2. I can think of two changes minimum between the version you are using and version 6.2 that will prevent you from being able to compile the project.
Once you have updated your compiler version you will need to get a clean installation of FreeRTOS and start again. Don't try using the project you have opened with IAR version 5.5 as it will have been corrupted.
Regards.
RE: Compile Errors - RTOSDemo ProjectPosted by rog57 on October 16, 2012 Richard Barry,
Thank you for taking the time to reply. I am upgrading my IAR to 6.4. Looking forward to using your system, and if all goes well today, I will buy your online books.
Gary
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|