File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ def _update_max_upload_size(env):
148
148
149
149
MKSPIFFSTOOL = "mkspiffs" ,
150
150
151
- SIZEPROGREGEXP = r"^(?:\.irom0\.text|\.text|\.data|\.rodata|)\s+([0-9]+).*" ,
151
+ SIZEPROGREGEXP = r"^(?:\.irom0\.text|\.text|\.text1|\. data|\.rodata|)\s+([0-9]+).*" ,
152
152
SIZEDATAREGEXP = r"^(?:\.data|\.rodata|\.bss)\s+([0-9]+).*" ,
153
153
SIZECHECKCMD = "$SIZETOOL -A -d $SOURCES" ,
154
154
SIZEPRINTCMD = '$SIZETOOL -B -d $SOURCES' ,
@@ -227,6 +227,7 @@ def _update_max_upload_size(env):
227
227
"-eo" , "$SOURCES" ,
228
228
"-bs" , ".irom0.text" ,
229
229
"-bs" , ".text" ,
230
+ "-bs" , ".text1" ,
230
231
"-bs" , ".data" ,
231
232
"-bs" , ".rodata" ,
232
233
"-bc" , "-ec"
@@ -248,6 +249,7 @@ def _update_max_upload_size(env):
248
249
"-bf" , "${__get_board_f_flash(__env__)}" ,
249
250
"-bz" , "${__get_flash_size(__env__)}" ,
250
251
"-bs" , ".text" ,
252
+ "-bs" , ".text1" ,
251
253
"-bs" , ".data" ,
252
254
"-bs" , ".rodata" ,
253
255
"-bc" , "-ec" ,
You can’t perform that action at this time.
0 commit comments