How to access compilation time inside ESP-IDF application code?
How to access compilation time inside ESP-IDF application code?
Is there a way to access compilation time from inside the ESP-IDF application code? Similarly to how you can access IDF version with IDF_VER?
Re: How to access compilation time inside ESP-IDF application code?
Use the __TIME__ and __DATE__ macros: https://gcc.gnu.org/onlinedocs/cpp/Stan ... acros.html
Re: How to access compilation time inside ESP-IDF application code?
Also there's some metadata embedded in the binary that includes these:
https://docs.espressif.com/projects/esp ... escription
https://docs.espressif.com/projects/esp ... sc_t4timeE
https://docs.espressif.com/projects/esp ... escription
https://docs.espressif.com/projects/esp ... sc_t4timeE
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], llzzdd and 129 guests