Explanation of ESP-IDF branches?

12pastnoon
Posts: 8
Joined: Sun Jul 29, 2018 6:45 pm

Re: Explanation of ESP-IDF branches?

Postby 12pastnoon » Sun Jul 29, 2018 11:27 pm

ESP_Angus wrote: A section about the different versions (and how to choose which version to use) will be added to the IDF Programmers Guide soon (very similar to the advice ESP_Sprite posted, above).
I am new to ESP32 and just cloned esp-idf today. Such documentation will be extremely helpful for new users like me. I was wondering why we are cloning master and not a stable release, and what to do about that.

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

Re: Explanation of ESP-IDF branches?

Postby kolban » Mon Jul 30, 2018 3:58 pm

My loose understanding is that one performs a clone of a repository and then uses the GIT "checkout" command to determine which branch you are going to use.

For example

$ git clone ...
$ git checkout release/3.0
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Explanation of ESP-IDF branches?

Postby ESP_Angus » Tue Sep 25, 2018 4:24 am

I meant to reply to this post earlier to say thanks for the suggestion.

An explanation of ESP-IDF versions has been added to the docs here:
https://docs.espressif.com/projects/esp ... sions.html

The "Getting Started" guide now includes customised git instructions for the particular version which is being viewed. For example:
https://docs.espressif.com/projects/esp ... et-esp-idf

Who is online

Users browsing this forum: fanmen1 and 252 guests