git clone not getting everything

Posts: 1
Joined: Mon Feb 11, 2019 6:51 pm

git clone not getting everything

Postby twompark » Mon Feb 11, 2019 6:57 pm

Am a bit new to this..

Followed install instructions to clone the IDF:

$ git clone -b v3.1.2 --recursive

It ran without errors, however, many directories are missing, for example when I look:

$ ls ../esp-idf/examples/protocols/
aws_iot coap_server http_request https_mbedtls mdns openssl_server udp_multicast
coap_client esp_http_client http2_request https_request openssl_client pppos_client sntp

There is no http_server example or https_server. How do I get these (or everything?)


Posts: 1412
Joined: Sun May 08, 2016 4:11 am

Re: git clone not getting everything

Postby ESP_Angus » Mon Feb 11, 2019 11:19 pm

Hi twompark,

These examples are not part of ESP-IDF v3.1, which is the current stable release version.

If you check out the v3.2 release branch (git checkout release/v3.2) then it has the http_server example but not https_server.

To get both the https_server and http_server you will need to check out the master branch (git checkout master).

Some explanation about the different version types and branches can be found here: ... sions.html

Return to “ESP32 IDF”

Who is online

Users browsing this forum: No registered users and 15 guests