2022-05-25 05:14 PM
2022-05-25 11:51 PM
In the "newlib" runtime library provided with CubeIDE, uint32_t is defined as unsigned long (though unsigned int is actually the same thing).
So format %lu should be used to print uint32_t (and unsigned long), and %u to print unsigned int.
64-bit integers (%llu) are NOT supported by the "minimal" variant of the library.
2022-05-26 12:01 AM
Thanks for the input @Pavel A. !
I am using the "Standard C" as runtime library not the "Reduced C".
Tried both %lu for 32bit and %llu / "%"PRIu64 without any success,,
2022-05-26 10:34 AM
Cannot confirm... %lu works for me.