your idea .....
Try the "l" (small letter "L") specifier, so you get sprintf(buff, "%ld", YourInt64);
is clear, but it does not work at least on PSoC Creator 3.3
Another modifier like "%llu" for uint64 does not work too.
sprintf(buff, "%ld", YourInt64);
Is working fine in PSoC 4 although you do get a warning of:
"format specifies type 'long' but the argument has type 'uint64'(aka 'unsigned long long').
Then if you try to change to this:
sprintf(buff, "%lld", YourInt64);
All that prints out to UART is
"ld". It seems to working fine w/ @bobs answer :) Thank you so much!!
on PSoC4 your code .... sprintf(buff, "%ld", YourInt64); ..... "works" only if the YourInt64 value is < than uint32
SPRINTF ERROR PERSISTS
Ah I see...that's really weird. Have you found a viable work around?
Oops, one of my posts disaipeared... Or I forgot to send it :-(
I saw a trick using float formatting. Remember to set the heap size to at least 0x200 and allow newlib nano float formatting.