Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Compile Errors - RTOSDemo Project

Posted 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 Project

Posted 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 Project

Posted 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 Project

Posted 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


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS