2017-08-14 05:19 AM
Hi
I am using IAR. Is there an easy way to built in a timestamp in my firmware? So later on I can check when the running FW on my board was compiled?
Or does IAR come with such a feature? I a using IAR and STM32f4
Thx
2017-08-14 05:52 AM
Check out __TIME__ (and __DATE__) - see C99, 6.10.8.
JW
2017-08-14 10:03 AM
printf('FW: %s %s\r\n',__TIME__,__DATE__); // time stamp of source file line is in.