Compile Errors - RTOSDemo Project

groufosse wrote on Monday, 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: 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

groufosse wrote on Tuesday, 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

rtel wrote on Tuesday, 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.

groufosse wrote on Tuesday, 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