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 fa48bca commit e69a2cbCopy full SHA for e69a2cb
builder/main.py
@@ -200,7 +200,7 @@ def _update_max_upload_size(env):
200
# Target: Build executable and linkable firmware or SPIFFS image
201
#
202
203
-target_elf = None
+target_elf = env.BuildProgram()
204
if "nobuild" in COMMAND_LINE_TARGETS:
205
target_elf = join("$BUILD_DIR", "${PROGNAME}.elf")
206
if set(["uploadfs", "uploadfsota"]) & set(COMMAND_LINE_TARGETS):
@@ -209,7 +209,6 @@ def _update_max_upload_size(env):
209
else:
210
target_firm = join("$BUILD_DIR", "${PROGNAME}.bin")
211
212
- target_elf = env.BuildProgram()
213
if set(["buildfs", "uploadfs", "uploadfsota"]) & set(COMMAND_LINE_TARGETS):
214
target_firm = env.DataToBin(
215
join("$BUILD_DIR", "spiffs"), "$PROJECTDATA_DIR")
0 commit comments