Issue with SDK header files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue with SDK header files

1,265 Views
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.

Tags (1)
0 Kudos
Reply
4 Replies

1,089 Views
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 Kudos
Reply

1,089 Views
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 Kudos
Reply

1,089 Views
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 Kudos
Reply

1,089 Views
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 Kudos
Reply