Hello,
I'm trying to switch from and http server to https server.
I'm unable to compile in my program, but its the same in the example dir: \esp-idf\examples\protocols\https_server
Also If I want to check if my esp-idf is up to date I found this command "git pull origin master". I want to be sure that is the good command to executre in the "esp-idf" dir. This part is not specified in the documentation, does the new execution of "esp-idf-tools-setup-2.3" update the sdk ?
Thank you for help.
Eliott.
/main.c:20:10: fatal error: esp_https_server.h: No such file or directory
Re: /main.c:20:10: fatal error: esp_https_server.h: No such file or directory
Solved: HTTPS component was not activated in sdkconfig (use idf.py menuconfig to set this option...)
Re: /main.c:20:10: fatal error: esp_https_server.h: No such file or directory
Also don't forget you need to require it in CMakeLists.txt:
Code: Select all
idf_component_register(
SRCS
...
REQUIRES
"esp_https_server"
)
Who is online
Users browsing this forum: No registered users and 438 guests