Skip to content

Commit f02410e

Browse files
author
Brian Baltz
committed
Fixing sketch size calculation (text + ctors + rodata)
Signed-off-by: Brian Baltz <[email protected]>
1 parent 6f9739f commit f02410e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ recipe.output.save_file={build.project_name}.{build.variant}.hex
8585

8686
## Compute size
8787
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
88-
recipe.size.regex=Total\s+([0-9]+).*
88+
recipe.size.regex=^(?:text|ctors|rodata|datas)\s+([0-9]+).*
8989

9090
# Arc Uploader/Programmers tools
9191
# -------------------

0 commit comments

Comments
 (0)