Page 1 of 1

Howto get idf version of older compiled project

Posted: Thu Mar 10, 2022 10:17 am
by xenpac
i have an older compiled project of which i dont know the idf-version i used to compile it.
is there related information somewhere in the build directory to retrieve the used idf-version ?

Re: Howto get idf version of older compiled project

Posted: Wed Apr 19, 2023 5:31 pm
by FWerle
I would also like to know.

I installed IDF 5.01 but there are a lots of legacy lacking.

Need to install the proper one but I can't find any reference and initial setup is gone (New computer).

Re: Howto get idf version of older compiled project

Posted: Fri Apr 21, 2023 2:21 am
by ESP_Sprite
You could flash it to an ESP32 and see what the initialization chatter tells you. There's usually a line that mentions a version number and Git commit ID for the ESP-IDF version used there.

Re: Howto get idf version of older compiled project

Posted: Wed Apr 26, 2023 8:19 pm
by mbratch
FWerle wrote:
Wed Apr 19, 2023 5:31 pm
I installed IDF 5.01 but there are a lots of legacy lacking.

Need to install the proper one but I can't find any reference and initial setup is gone (New computer).
Once you figure out what IDF version you want to use, you can check the version migration guides in the ESP-IDF documentation. Depending upon version, you might have to locate the legacy documentation. Or install an older ESP-IDF and work with that.