git clone not getting everything

twompark
Posts: 4
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 https://github.com/espressif/esp-idf.git

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 README.md 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?)

thanks

ESP_Angus
Posts: 2344
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: https://docs.espressif.com/projects/esp ... sions.html

Who is online

Users browsing this forum: No registered users and 238 guests