Merge branch 'feature/boot_copy_app_use_without_depend' into 'master'

Boot copy OTA is not depend on others

See merge request sdk/ESP8266_RTOS_SDK!734
This commit is contained in:
Dong Heng
2019-01-24 19:41:02 +08:00
2 changed files with 1 additions and 3 deletions

View File

@ -10,9 +10,7 @@ endif
CFLAGS += -DPARTITION_QUEUE_HEADER=\"sys/queue.h\"
ifdef CONFIG_ESP8266_OTA_FROM_OLD
ifdef IS_BOOTLOADER_BUILD
COMPONENT_SRCDIRS += port
COMPONENT_OBJS += port/port.o
endif
endif

View File

@ -14,7 +14,7 @@
#include "sdkconfig.h"
#if defined(CONFIG_ESP8266_OTA_FROM_OLD) && defined(BOOTLOADER_BUILD)
#if (defined(CONFIG_ESP8266_OTA_FROM_OLD) || defined(CONFIG_ESP8266_BOOT_COPY_APP)) && defined(BOOTLOADER_BUILD)
#include <string.h>
#include <stdint.h>