different S32K144.h files in examples + default template of S32DS

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

different S32K144.h files in examples + default template of S32DS

Jump to solution
3,376 Views
adrianwenger
Contributor III

Hi,

while starting a S32K Project by default template, i receive another S32K144.h file in include dir, then starting an example Project (e.g. hello_Interrupts).

So if i copy paste the code from the example to my Project i get some Errors while build?!?

Which S32K144.h file now is the right one?

BR,

Adrian

0 Kudos
Reply
1 Solution
2,951 Views
stanish
NXP Employee
NXP Employee

Adrian,

You are correct. We should avoid this confusion.

Therefore I've just logged this issue into our defect tracking database.

Thanks for your report!

Stan

View solution in original post

0 Kudos
Reply
4 Replies
2,952 Views
stanish
NXP Employee
NXP Employee

Adrian,

You are correct. We should avoid this confusion.

Therefore I've just logged this issue into our defect tracking database.

Thanks for your report!

Stan

0 Kudos
Reply
2,950 Views
adrianwenger
Contributor III

Hi Stan,

thanks for your reply. Unfortunately there is no info that the example projects only work with outdated header files...

When using the up-to-date headers, the examples are not usable as you mentioned.

Is it possible to update the examples and port them to the newest release ?

BR,

Adrian

0 Kudos
Reply
2,951 Views
stanish
NXP Employee
NXP Employee

Hi Adrian,

The non-SDK example projects are based on the older version of the header file (rev. 1.5, 2015-09-16).

Whereas the new project in S32DS v1.3 includes newer header file (rev. 2.5, 2016-11-25)

I'd suggest you to use newer version of the header file and adjust the source code accordingly:

pastedImage_1.png

Hope it helps.

Stan

0 Kudos
Reply
2,951 Views
jiri_kral
NXP Employee
NXP Employee

Hi Adrian, 

the version of S32K144.h file depends on SDK version chosen for your project (SDK_EAR_0.8.2 / SDK_BETA_0.9.0 or other).  The errors may by caused by bad indexing. To fix it - right click on your project name -> index -> rebuild. Hope it helps. 

Jiri 

0 Kudos
Reply