Page 1 of 1

esp-idf version...

Posted: Thu Feb 15, 2018 10:08 am
by stefanoxjx
Hi, I'm using esp-idf cloned by git.
How I can see the version that I'm using?

Thanks.
Regards.

Stefano

Re: esp-idf version...

Posted: Thu Feb 15, 2018 2:57 pm
by ESP_krzychb
Hi Stefono,

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

Re: esp-idf version...

Posted: Thu Feb 15, 2018 4:16 pm
by stefanoxjx
Perfect it works!!!
Many thanks for your help :)

Stefano

Re: esp-idf version...

Posted: Fri Feb 16, 2018 10:56 pm
by kolban
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

Re: esp-idf version...

Posted: Sat Feb 17, 2018 8:45 pm
by stefanoxjx
Many thanks for info :)

Stefano