File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def get_esptoolpy_reset_flags(resetmethod):
213
213
# Target: Build executable and linkable firmware or SPIFFS image
214
214
#
215
215
216
- target_elf = env . BuildProgram ()
216
+ target_elf = None
217
217
if "nobuild" in COMMAND_LINE_TARGETS :
218
218
target_elf = join ("$BUILD_DIR" , "${PROGNAME}.elf" )
219
219
if set (["uploadfs" , "uploadfsota" ]) & set (COMMAND_LINE_TARGETS ):
@@ -222,6 +222,7 @@ def get_esptoolpy_reset_flags(resetmethod):
222
222
else :
223
223
target_firm = join ("$BUILD_DIR" , "${PROGNAME}.bin" )
224
224
else :
225
+ target_elf = env .BuildProgram ()
225
226
if set (["buildfs" , "uploadfs" , "uploadfsota" ]) & set (COMMAND_LINE_TARGETS ):
226
227
target_firm = env .DataToBin (
227
228
join ("$BUILD_DIR" , env .get ("SPIFFSNAME" , "spiffs" )), "$PROJECTDATA_DIR" )
You can’t perform that action at this time.
0 commit comments