Skip to content

Commit 8c0004f

Browse files
Updated size calculation recipe regex with new version from @victor_pv
1 parent 115bb6e commit 8c0004f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

STM32F1/platform.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf
9999
## Compute size
100100
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
101101
#recipe.size.regex=\.text\s+([0-9]+).*
102-
recipe.size.regex=^(?:\.text|\.rodata|\.ARM.exidx)\s+([0-9]+).*
102+
#recipe.size.regex=^(?:\.text|\.rodata|\.ARM.exidx)\s+([0-9]+).*
103+
recipe.size.regex=^(?:\.text|\.data|\.rodata|\.text.align|\.ARM.exidx)\s+([0-9]+).*
104+
103105
recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
104106

105107
# Uploader tools

0 commit comments

Comments
 (0)