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 cb864d7 commit da0adefCopy full SHA for da0adef
components/esp8266/Makefile.projbuild
@@ -91,8 +91,13 @@ OTA2_BIN := ./build/$(PROJECT_NAME).app2.bin
91
92
OTA_V2_TO_V3_BIN := ./build/$(PROJECT_NAME).v2_to_v3.ota.bin
93
94
-CONFIG_APP2_OFFSET ?= $(CONFIG_APP1_OFFSET)
95
-CONFIG_APP2_SIZE ?= $(CONFIG_APP1_SIZE)
+ifndef CONFIG_APP2_OFFSET
+CONFIG_APP2_OFFSET := $(CONFIG_APP1_OFFSET)
96
+endif
97
+
98
+ifndef CONFIG_APP2_SIZE
99
+CONFIG_APP2_SIZE := $(CONFIG_APP1_SIZE)
100
101
102
OTA1_OFFSET := $(CONFIG_APP1_OFFSET)
103
ifdef CONFIG_ESP8266_BOOT_COPY_APP
0 commit comments