Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 29b9818

Browse files
Merge pull request #362 from facchinm/fix_rp2040_size_calculation
Fix binary size calculation on rp2040
2 parents 634b834 + 003d157 commit 29b9818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎platform.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ 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.data=^(?:\.data|\.bss)\s+([0-9]+).*
102-
recipe.size.regex=^(?:\.data|\.text)\s+([0-9]+).*
102+
recipe.size.regex=^(?:\.data|\.text)\S*?\s+([0-9]+).*
103103

104104
## Save hex
105105
recipe.output.tmp_file={build.project_name}.bin

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /