Creator 3.2 errors with FreeRTOS

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

New to both Cypress Creator and FreeRTOS. Trying to build a demo project from FreeRTOS that targets a PSoC 5LP. The development board I have is the Cypress CY8CKIT-059. I have successfully built and programmed some of the example projects so I know the Creator IDE and hardware work with my computer system (Lenovo running Windows 7 pro 64-bit).

   

I keep getting these errors:

   

Build error: FreeRTOS.h: No such file or directory

   

Build error: The command 'arm-none-eabi-gcc.exe' failed with exit doce '1'.

   

The file is in the project tree and can be view and edited. I don't understand why the compiler can't find it.

   

I contacted FreeRTOS and they had no solutions.

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum, Alex,

   

The file(s) must be added to the Workspace Explorer Windoe. Right click at the "Header Files" folder and add the existing file, similar with the "Source Files" folder and the .c files.

   

 

   

Bob

View solution in original post

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum, Alex,

   

The file(s) must be added to the Workspace Explorer Windoe. Right click at the "Header Files" folder and add the existing file, similar with the "Source Files" folder and the .c files.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Typing of the file name in the #define statement in main() correct, case

   

wise ?

   

 

   

Regards, Dana.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Yes, I believe it's correct.

   

Here's a picture of the IDE (hopefully you can see it clearly):

   

   

Thanks,

   

Alex

   

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Does the files properties in workspace explorer show it as a .h file ?

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Dana, yes, shows as "FreeRTOS.h" under "Header Files", "Kernel".

   

Thanks, Alex

0 Likes

Kind of old post but i had found this page yesterday: http://zhqiang.org/?p=418

   
    

update the including path in Project/Build Settings/FreeRTOS_Demo/ARM GCC/Compiler/General/General/Additional Include Directories, adding those “..\..\..\Source\include; ..\..\..\Source\portable\GCC\ARM_CM3; ..\..\Common\include”, where quote symbol is not required;

   
   

Did you add those to the project build settings? I was able to build successfully the FreeRTOS example project ding this.

0 Likes