- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
ispn:39618:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Typing of the file name in the #define statement in main() correct, case
wise ?
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does the files properties in workspace explorer show it as a .h file ?
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dana, yes, shows as "FreeRTOS.h" under "Header Files", "Kernel".
Thanks, Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.