esp-idf version...

stefanoxjx
Posts: 25
Joined: Mon Feb 12, 2018 6:26 pm

esp-idf version...

Postby stefanoxjx » Thu Feb 15, 2018 10:08 am

Hi, I'm using esp-idf cloned by git.
How I can see the version that I'm using?

Thanks.
Regards.

Stefano

User avatar
ESP_krzychb
Posts: 394
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: esp-idf version...

Postby ESP_krzychb » Thu Feb 15, 2018 2:57 pm

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

stefanoxjx
Posts: 25
Joined: Mon Feb 12, 2018 6:26 pm

Re: esp-idf version...

Postby stefanoxjx » Thu Feb 15, 2018 4:16 pm

Perfect it works!!!
Many thanks for your help :)

Stefano

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: esp-idf version...

Postby kolban » Fri Feb 16, 2018 10:56 pm

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
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

stefanoxjx
Posts: 25
Joined: Mon Feb 12, 2018 6:26 pm

Re: esp-idf version...

Postby stefanoxjx » Sat Feb 17, 2018 8:45 pm

Many thanks for info :)

Stefano

Who is online

Users browsing this forum: ESP_Sprite, hugerobber, Tomatendose and 92 guests