I am somewhat confused by so many print functions.
But now I have more observations: (I am printing via UART, and just using templates from demo projects)
-----------------------------------------------------------------------------------------------------------
uint64_t v1=12;
uint32_t v2=34;
uint16_t v3=56;
PRINTF("values: %d %d %d \r\n", v2, v2, v3); ===> values: 34 34 56
PRINTF("values: %d %d %d \r\n", v1, v2, v3); ===> values: 536935956 12 0
-------------------------------------------------------------------------------------------------------------
So obviously (by the way, I am testing on board TWR-K60D100M):
* Printing 64-bit values messes up everything!
So how to fix this bug?