Skip to content

Commit a3cf147

Browse files
committed
RP2040: consider .rodata in sketch size count
1 parent cddbeb0 commit a3cf147

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
@@ -101,7 +101,7 @@ recipe.hooks.objcopy.postobjcopy.1.pattern={build.postbuild.cmd}
101101
## Compute size
102102
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
103103
recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).*
104-
recipe.size.regex=^(?:\.data|\.text)\S*?\s+([0-9]+).*
104+
recipe.size.regex=^(?:\.data|\.text|\.rodata)\S*?\s+([0-9]+).*
105105

106106
## Save hex
107107
recipe.output.tmp_file={build.project_name}.bin

0 commit comments

Comments
 (0)