Issue with SDK header files

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

Issue with SDK header files

1,164 次查看
Q_man
NXP Employee
NXP Employee

Hi,

I have adopted some of the SDK drivers in my local project code including a header file / typedef. I'm now facing the problem that the compiler includes all the headers from SDK source directory and I could not manage to change this.

behaviour:

- including from red is not wanted (SDK source)

- include from blue is wanted (my local header file)

s32ds1.PNG

Project Settings:

path.PNG

Thx

W.

标记 (1)
0 项奖励
回复
4 回复数

988 次查看
jiri_kral
NXP Employee
NXP Employee

Hi,

For me works removing include paths from project properties. You need to remove it from C and assembly:

pastedImage_2.png

pastedImage_1.png 

In this case - ....platform/drivers/inc path disappear from Include list:

pastedImage_3.png

Hope it helps. 

Jiri 

0 项奖励
回复

988 次查看
Q_man
NXP Employee
NXP Employee

Hi Jiri,

thanks for your reply.

For me it does NOT work! I had already removed the pathes for C and assembly. I checked again, but for me it does not work. There must be some other source or setting for including theses files.

W.

0 项奖励
回复

988 次查看
satish_k_singh
Contributor III

Hello Wolfgang,

Could you please let know if you were able to resolve the issue and if so how can it be done.

thanks and best regards!!!

Satish Kumar

0 项奖励
回复

988 次查看
Q_man
NXP Employee
NXP Employee

Hi Satish,

yes the problem is fixed!

Not sure what the original root cause was. Fixed by manual editing the .cproject file.

W.

0 项奖励
回复