Skip to content

Commit 1293279

Browse files
committed
Revert "Include TEXT1 in generated bins, avoid boot loop (#144)"
This reverts commit 23ea21c.
1 parent 23ea21c commit 1293279

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

builder/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def _update_max_upload_size(env):
148148

149149
MKSPIFFSTOOL="mkspiffs",
150150

151-
SIZEPROGREGEXP=r"^(?:\.irom0\.text|\.text|\.text1|\.data|\.rodata|)\s+([0-9]+).*",
151+
SIZEPROGREGEXP=r"^(?:\.irom0\.text|\.text|\.data|\.rodata|)\s+([0-9]+).*",
152152
SIZEDATAREGEXP=r"^(?:\.data|\.rodata|\.bss)\s+([0-9]+).*",
153153
SIZECHECKCMD="$SIZETOOL -A -d $SOURCES",
154154
SIZEPRINTCMD='$SIZETOOL -B -d $SOURCES',
@@ -227,7 +227,6 @@ def _update_max_upload_size(env):
227227
"-eo", "$SOURCES",
228228
"-bs", ".irom0.text",
229229
"-bs", ".text",
230-
"-bs", ".text1",
231230
"-bs", ".data",
232231
"-bs", ".rodata",
233232
"-bc", "-ec"
@@ -249,7 +248,6 @@ def _update_max_upload_size(env):
249248
"-bf", "${__get_board_f_flash(__env__)}",
250249
"-bz", "${__get_flash_size(__env__)}",
251250
"-bs", ".text",
252-
"-bs", ".text1",
253251
"-bs", ".data",
254252
"-bs", ".rodata",
255253
"-bc", "-ec",

0 commit comments

Comments
 (0)