Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e634398 commit 04c731cCopy full SHA for 04c731c
components/spi_flash/component.mk
@@ -10,9 +10,7 @@ endif
10
11
CFLAGS += -DPARTITION_QUEUE_HEADER=\"sys/queue.h\"
12
13
-ifdef CONFIG_ESP8266_OTA_FROM_OLD
14
ifdef IS_BOOTLOADER_BUILD
15
COMPONENT_SRCDIRS += port
16
COMPONENT_OBJS += port/port.o
17
endif
18
-endif
components/spi_flash/port/port.c
@@ -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)
19
#include <string.h>
20
#include <stdint.h>
0 commit comments