Skip to content

Commit 5d7ecc9

Browse files
author
Owen
authored
Merge pull request #162 from sparkfun/display-ram-usage
2 parents 35dc840 + a43ee95 commit 5d7ecc9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

platform.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ recipe.objcopy.bin.pattern="{compiler.path}/{compiler.cmd.axf2bin}" {compiler.fl
118118
## Compute size
119119
recipe.size.pattern="{compiler.path}/{compiler.cmd.size}" -A "{build.path}/{build.project_name}.axf"
120120
recipe.size.regex=\.text\s+([0-9]+).*
121-
122-
recipe.hooks.objcopy.postobjcopy.0.pattern="{compiler.path}/{compiler.cmd.size}" -A "{build.path}/{build.project_name}.axf"
121+
recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).*
123122

124123
## Preprocessor
125124
preproc.macros.flags=-w -x c++ -E -CC

0 commit comments

Comments
 (0)