creating a freertos project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

creating a freertos project

1,111件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Thu Apr 07 04:02:57 MST 2011
Hi all,
    I am using lpc1313 mcu. My question is how to create a new project that uses the freertos library project provided with the FreeRTOS-simple-demo-for-LPCXpresso-LPC1343 project files. I am able to compile and run the simpledemo project successfully in my lpc1313 board. But when i create a new project same as the simpledemo project the compiler shows lot of errors.  The main error shown is
FreeRTOSconfig.h: No such file or directory. But this file is already in my new project.

I used the freertos library project in my new project as per this link. http://support.code-red-tech.com/CodeRedWiki/LibraryProjects. I also  included my new project include path in freertos library project similar  to  simpledemo project. I double checked that all my new project settings and files are same as the simpledemo project. But only the latter compiles.
I am stuck at this. Any help? :confused:
0 件の賞賛
返信
3 返答(返信)

1,054件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Fri Apr 08 04:40:09 MST 2011
Problem is with the include path as suggested by CodeRedSupport. At the time of library file inclusion i wrongly entered like this
${workspace_loc:/project}             instead of
${workspace_loc:/project/src}
Thanks CodeRed for supporting me.:)
0 件の賞賛
返信

1,054件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Apr 07 13:15:38 MST 2011
You have to tell the compiler where to find include files. The correct way of doing this is to set them in the project properties. You don't need to use absolute paths as suggested william.vh.

Suggest you
- read the FAQ
http://support.code-red-tech.com/CodeRedWiki/CodeRedFAQ#Projects
- take at look at the "Directories" setting for the compiler in the  project that is working, to see which include paths it is using
0 件の賞賛
返信

1,054件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by william.vh on Thu Apr 07 12:30:34 MST 2011

Quote: vasanth

FreeRTOSconfig.h: No such file or directory. But this file is already in my new project.
...
I am stuck at this. Any help?



In your "include" statement, include the entire path for the file along with the file name.
ie:
#include "C/mydocuments/LPC/FreeRTOSconfig.h"
0 件の賞賛
返信