Mbed
OS
Arm Mbed OS support forum
How to get the timestamp when code is compiled?
Mbed OS
MACRUM
(Toyomasa Watarai)
April 21, 2022, 7:26am
2
Hi,
You can use macros below:
printf("\n[Build] %s %s\n", __DATE__, __TIME__);
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
How get time and date from timestamp
Mbed OS
mbed_os
4
1527
February 10, 2021
Defining Macro depending on Build Profile
Mbed OS
mbed_os
0
69
June 13, 2024
Is the target name available as a macro?
Online compiler
1
820
May 8, 2020
Define macro at compile time
Mbed OS
mbed_os
1
894
August 9, 2020
How to shorten compilation time up to six times
Mbed OS
20
4063
February 1, 2021