mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c bootloader_support is added in public requirements of CMake bootloader_common.h is included in esp_https_ota.h Closes https://github.com/espressif/esp-idf/issues/4198 Closes IDFGH-2066
This commit is contained in:
parent
2b44bc47df
commit
f335bfdea7
@ -1,7 +1,7 @@
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
set(COMPONENT_SRCS "src/esp_https_ota.c")
|
||||
|
||||
set(COMPONENT_REQUIRES esp_http_client)
|
||||
set(COMPONENT_REQUIRES esp_http_client bootloader_support)
|
||||
set(COMPONENT_PRIV_REQUIRES log app_update)
|
||||
|
||||
register_component()
|
||||
|
@ -15,7 +15,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <esp_http_client.h>
|
||||
#include <esp_ota_ops.h>
|
||||
#include <bootloader_common.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include <string.h>
|
||||
#include <esp_https_ota.h>
|
||||
#include <esp_log.h>
|
||||
#include <esp_ota_ops.h>
|
||||
|
||||
#define IMAGE_HEADER_SIZE sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(esp_app_desc_t) + 1
|
||||
#define DEFAULT_OTA_BUF_SIZE IMAGE_HEADER_SIZE
|
||||
|
Loading…
Reference in New Issue
Block a user