Issue with SDK header files

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

Issue with SDK header files

1,163件の閲覧回数
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 返答(返信)

987件の閲覧回数
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 件の賞賛
返信

987件の閲覧回数
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 件の賞賛
返信

987件の閲覧回数
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 件の賞賛
返信

987件の閲覧回数
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 件の賞賛
返信