Hello.
I'm looking to embed the application build time/date into my binary and maybe the git hash. Any recommendations for how to properly integrate that kind of thing into the build process? I've reviewed http://esp-idf.readthedocs.io/en/v2.1/a ... d%20system but still not sure which is the best approach to take to embed that information.
Chris
Embedding application build time/date (maybe git hash)
Re: Embedding application build time/date (maybe git hash)
Maybe similar to how IDF_VER is done
https://github.com/espressif/esp-idf/se ... _VER&type=
https://github.com/espressif/esp-idf/se ... _VER&type=
-
- Posts: 1
- Joined: Tue Oct 24, 2017 3:00 am
Re: Embedding application build time/date (maybe git hash)
Take a look at https://github.com/stoggi/cmake-git-version.
It works in a similar way to the IDF_VER that WiFive mentioned but with a bit of Python wrapping it for extra checking.
It works in a similar way to the IDF_VER that WiFive mentioned but with a bit of Python wrapping it for extra checking.
Who is online
Users browsing this forum: Google [Bot] and 109 guests