S32K148 IAR - print 64bit values

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

S32K148 IAR - print 64bit values

ソリューションへジャンプ
1,227件の閲覧回数
jakub_mielczare
Contributor III

Hello,

Does IAR compiler for S32K148 support printing 64bit integers (%lld, %llu, %llx) with snprintf() function?

I have a strange behavior in my application. When I add one global uint32_t variable, then snprintf() prints 64bit integers with %lld incorrectly (shifted). When I remove this additional variable or add one more global uint32_t then it prints the 64-bt int with %lld correctly.

32-bit integers are printed correctly in both cases.

Any idea what could be the cause?

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,206件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Jakub,

after short discussion with our S32DS expert, our recommendation is to forward this to IAR as we can't help here.

Regards,

Lukas

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,207件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Jakub,

after short discussion with our S32DS expert, our recommendation is to forward this to IAR as we can't help here.

Regards,

Lukas

0 件の賞賛
返信