Skip to content

Commit

Permalink
modified size calulation
Browse files Browse the repository at this point in the history
  • Loading branch information
Heltec-Aaron-Lee committed Sep 26, 2019
1 parent eedd3cf commit 98ac635
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -Wl,--start-group

recipe.objcopy.hex.pattern={tools.CubeCellelftool.cmd} "{compiler.path}{compiler.objcopy.cmd}" "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex" "{build.path}/{build.project_name}.cyacd"

recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
recipe.size.regex=\.text\s+([0-9]+).*
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.hex"
recipe.size.regex=Total\s+([0-9]+).*

tools.CubeCellflash.upload.protocol=
tools.CubeCellflash.upload.params.verbose=
Expand Down
4 changes: 2 additions & 2 deletions tools/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -Wl,--start-group

recipe.objcopy.hex.pattern={tools.CubeCellelftool.cmd} "{compiler.path}{compiler.objcopy.cmd}" "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex" "{build.path}/{build.project_name}.cyacd"

recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
recipe.size.regex=\.text\s+([0-9]+).*
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.hex"
recipe.size.regex=Total\s+([0-9]+).*

tools.CubeCellflash.upload.protocol=
tools.CubeCellflash.upload.params.verbose=
Expand Down

0 comments on commit 98ac635

Please sign in to comment.