esp32-tutorial
esp32-tutorial copied to clipboard
Implicit declaration of function 'esp_https_ota'
I have a problem using the function from your example.
esp_http_client_config_t ota_client_config = {
.url = file->valuestring,
.cert_pem = (char *)server_cert_pem_start
};
esp_err_t ret = esp_https_ota(&ota_client_config);
It returns error: implicit declaration of function 'esp_https_ota' [-Werror=implicit-function-declaration]
@andagent Which branch/tag/version of the esp-idf
are you using when compiling the project? I think I'm using version 3.1.2 or maybe 3.2 branch. Details here: https://github.com/espressif/esp-idf/releases