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

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

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

ソリューションへジャンプ
3,379件の閲覧回数
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 解決策
2,954件の閲覧回数
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 返答(返信)
2,955件の閲覧回数
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 件の賞賛
返信
2,953件の閲覧回数
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 件の賞賛
返信
2,954件の閲覧回数
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 件の賞賛
返信
2,954件の閲覧回数
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 件の賞賛
返信