Hi, I'm using esp-idf cloned by git.
How I can see the version that I'm using?
Thanks.
Regards.
Stefano
esp-idf version...
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: esp-idf version...
Hi Stefono,
To check the the esp-idf version I am running 'git describe' command in a terminal
To check the the esp-idf version I am running 'git describe' command in a terminal
Code: Select all
$ git describe
v3.0-dev-1725-g2f1d698e
-
- Posts: 25
- Joined: Mon Feb 12, 2018 6:26 pm
Re: esp-idf version...
Perfect it works!!!
Many thanks for your help
Stefano
Many thanks for your help
Stefano
Re: esp-idf version...
We also appear to have a function called esp_get_idf_version() that is available at runtime which returns a NULL terminated string. This might be useful in logging / diagnostics to report the version used.
See:
https://github.com/espressif/esp-idf/bl ... tem.h#L257
See:
https://github.com/espressif/esp-idf/bl ... tem.h#L257
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 25
- Joined: Mon Feb 12, 2018 6:26 pm
Re: esp-idf version...
Many thanks for info
Stefano
Stefano
Who is online
Users browsing this forum: No registered users and 107 guests