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

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

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

跳至解决方案
2,417 次查看
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 项奖励
1 解答
1,992 次查看
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 项奖励
4 回复数
1,993 次查看
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 项奖励
1,991 次查看
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 项奖励
1,992 次查看
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 项奖励
1,992 次查看
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 项奖励