esp32-tutorial icon indicating copy to clipboard operation
esp32-tutorial copied to clipboard

Implicit declaration of function 'esp_https_ota'

Open ghost opened this issue 6 years ago • 1 comments

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]

ghost avatar Feb 06 '19 09:02 ghost

@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

aureq avatar Feb 06 '19 23:02 aureq