mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 17:16:29 +08:00
feat(bootloader): Boot copy OTA is not depend on others
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user