Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit 0dc7b3c

Browse files
committed
Fix flash occupation calculation
1 parent 6f8192a commit 0dc7b3c

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
@@ -89,7 +89,7 @@ recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf
8989
## Compute size
9090
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
9191
recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).*
92-
recipe.size.regex=\.text\s+([0-9]+).*
92+
recipe.size.regex=^(?:\.data|\.text)\s+([0-9]+).*
9393

9494
## Save hex
9595
recipe.output.tmp_file={build.project_name}.bin

0 commit comments

Comments
 (0)