update ESP-IDF with more recent code

sergiomarina
Posts: 48
Joined: Wed Feb 05, 2020 6:29 pm

update ESP-IDF with more recent code

Postby sergiomarina » Tue Oct 18, 2022 7:11 pm

This is an excerpt of my "esp_http_server.h" (ESP-IDF V4.4)
.global_transport_ctx_free_fn = NULL, \
.open_fn = NULL, \

searching www ("https://github.com/espressif/esp-idf") I found a newer version and the excerpt is like that
.global_transport_ctx_free_fn = NULL, \
.enable_so_linger = false, \
.linger_timeout = 0, \
.open_fn = NULL, \

The file "esp-idf-master.zip" is downloadable from "https://github.com/espressif/esp-idf"
1)
is "esp-idf-master" package intended to upgrade an existing installation?
2)
In that case is there a manual that explains howto? I could not find it (neither in the README.md) What is the proper procedure to update my ESP-IDF? Uploading all the new files included in the package "esp-idf-master"?

thank you.

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: update ESP-IDF with more recent code

Postby ESP_igrr » Tue Oct 18, 2022 10:27 pm

Please check this page on how to switch to a particular version of ESP-IDF: https://docs.espressif.com/projects/esp ... ng-esp-idf

After updating your esp-idf copy, you need to install the tools for the new version: https://docs.espressif.com/projects/esp ... stallation

If you are on Windows, it is recommended to run the IDF installer for windows and let it create a new copy of ESP-IDF, instead of following the manual steps.

sergiomarina
Posts: 48
Joined: Wed Feb 05, 2020 6:29 pm

Re: update ESP-IDF with more recent code

Postby sergiomarina » Wed Oct 19, 2022 9:23 pm

@ ESP_igrr
Following:
https://github.com/espressif/vscode-esp ... install.md
I've downloaded the ESP-IDF 4.4.2 (from Espressif server since I was not able to manage in a similar way by selecting "Github" instead)

But the "esp_http_server.h" (ESP-IDF V4.4.2) is still similar to the former release (ESP-IDF 4.4):
.global_transport_ctx_free_fn = NULL, \
.open_fn = NULL, \

I still need to find out the how-to upload in my environment the version of "esp_http_server.h" part of this package:
https://github.com/espressif/esp-idf
"esp_http_server.h" excerpt is like that:
.global_transport_ctx_free_fn = NULL, \
.enable_so_linger = false, \
.linger_timeout = 0, \
.open_fn = NULL, \
Is that package coherent with ESP-IDF 4.4.2?
Is there a user manual that explains how-to download and install it in an existing ESP-IDF?

Should it be better to select "Github" at release download step (as mentioned here above)?

thank you.

sergiomarina
Posts: 48
Joined: Wed Feb 05, 2020 6:29 pm

Re: update ESP-IDF with more recent code

Postby sergiomarina » Wed Dec 28, 2022 5:04 am

@ ESP_igrr
can you get back to me?
Many thanks, s.

Who is online

Users browsing this forum: No registered users and 146 guests