feat(bootloader): Boot copy OTA is not depend on others

This commit is contained in:
Dong Heng
2019-01-24 19:35:03 +08:00
parent e634398421
commit 04c731c802
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>