Looking at the binary for one of the ESP-IDF projects and the first line contains something about the version number:
v0.2.17-1-gXXXXXXX-dirty
where the XXXXXXX is the hash code for the latest commit that the build is based out of, following the latest tag. Is there any documentation on how to customize this binary first line? (maybe I haven't looked for this hard enough)
ESP-IDF Binary Notes and First Line
Re: ESP-IDF Binary Notes and First Line
What you're seeing is the "idf_ver" field of the esp_app_desc_t.
You can read about the image format here:
https://docs.espressif.com/projects/esp ... ormat.html
There's also a section in there on adding your own custom header after the esp_app_desc_t.
You can read about the image format here:
https://docs.espressif.com/projects/esp ... ormat.html
There's also a section in there on adding your own custom header after the esp_app_desc_t.
-
- Posts: 16
- Joined: Thu Aug 01, 2019 11:59 pm
Re: ESP-IDF Binary Notes and First Line
Thank you!
Who is online
Users browsing this forum: No registered users and 277 guests