fix component include

This commit is contained in:
2021-01-02 10:57:03 +01:00
parent 563a7b19a8
commit d570ce8cc7
11 changed files with 31 additions and 1259 deletions

View File

@ -1,2 +1,6 @@
idf_component_register(SRCS "mesh_ota.c"
INCLUDE_DIRS "include")
INCLUDE_DIRS "include"
REQUIRES nvs_flash
esp_http_client bootloader_support
PRIV_REQUIRES log app_update
)

View File

@ -1,12 +1,27 @@
#ifndef H_MESH_OTA
#define H_MESH_OTA
#include <string.h>
#include <string.h>
#include "esp_system.h"
#include "esp_event.h"
#include "esp_log.h"
#include <string.h>
#include "esp_wifi.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_mesh.h"
#include "esp_mesh_internal.h"
#include "nvs_flash.h"
#include "driver/gpio.h"
#include "esp_ota_ops.h"
#include "esp_partition.h"
bool bNewerVersion(const char* pu8Local, const char* pu8Remote);
#endif /* H_MESH_OTA */