S32K148 IAR - print 64bit values

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

S32K148 IAR - print 64bit values

Jump to solution
1,517 Views
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?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,496 Views
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

View solution in original post

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