LPC Xpresso and FreeRTOS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC Xpresso and FreeRTOS

1,588 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by risburtfernandes on Fri Jan 31 19:16:19 MST 2014

Hello

I am working on this project on FreeRTOS and  the LPC Xpresso.
I am facing a problem in the include path.

fatal error: FreeRTOSConfig.h: No such file or directory

I have included the directory where this file is located in the path.
But still the error keeps showing up. I am running this on windows.
I am using driver libraries as well as the CMSIS library.

And I have crated a separate directory where i have kept the FreeRTOS.h and other header files.
My FreeRTOSConfig.h file is in my source directory in another project in the same workspace.

please help.

标签 (1)
0 项奖励
回复
1 回复

1,485 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sat Feb 01 09:28:12 MST 2014
You can find some information on search paths at:

http://support.code-red-tech.com/CodeRedWiki/IncludePaths

Adding the -v (verbose) to your compile line will show you the search paths in use when you build a file

[list]
  [*]Project Properties -> C/C++ Build -> Settings -> MCU C Compiler -> Miscellaneous
[/list]

Note that if you are using paths in the includes in your source files, make sure that you are using Unix style rather than Windows style - so use:

#include "../myinc.h"


rather than:

#include "..\myinc.h"


Regards,
LPCXpresso Support
0 项奖励
回复