Merge branch 'feature/boot_copy_app_use_without_depend' into 'master'

Boot copy OTA is not depend on others

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

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

@ -14,7 +14,7 @@
#include "sdkconfig.h" #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 <string.h>
#include <stdint.h> #include <stdint.h>