Skip to content

Commit 0ec018e

Browse files
authored
Merge pull request #503 from matthijskooijman/fix-size-regexes
Fix flash size regex and add RAM size regex
2 parents f852a08 + 1857cce commit 0ec018e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platform.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ recipe.output.save_file={build.project_name}.{build.variant}.{build.preferred_ou
117117

118118
## Compute size
119119
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
120-
recipe.size.regex=\.text\s+([0-9]+).*
120+
recipe.size.regex=^(?:\.text|\.data|)\s+([0-9]+).*
121+
recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).*
121122

122123
# Upload/Debug tools
123124
# ------------------

0 commit comments

Comments
 (0)