File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,13 +205,13 @@ def _update_max_upload_size(env):
205
205
target_elf = join ("$BUILD_DIR" , "${PROGNAME}.elf" )
206
206
if set (["uploadfs" , "uploadfsota" ]) & set (COMMAND_LINE_TARGETS ):
207
207
fetch_spiffs_size (env )
208
- target_firm = join ("$BUILD_DIR" , "spiffs .bin" )
208
+ target_firm = join ("$BUILD_DIR" , "%s .bin" % env . get ( "SPIFFSNAME" , "spiffs" ) )
209
209
else :
210
210
target_firm = join ("$BUILD_DIR" , "${PROGNAME}.bin" )
211
211
else :
212
212
if set (["buildfs" , "uploadfs" , "uploadfsota" ]) & set (COMMAND_LINE_TARGETS ):
213
213
target_firm = env .DataToBin (
214
- join ("$BUILD_DIR" , " spiffs" ), "$PROJECTDATA_DIR" )
214
+ join ("$BUILD_DIR" , env . get ( "SPIFFSNAME" , " spiffs") ), "$PROJECTDATA_DIR" )
215
215
AlwaysBuild (target_firm )
216
216
AlwaysBuild (env .Alias ("buildfs" , target_firm ))
217
217
else :
You can’t perform that action at this time.
0 commit comments