From 98ac6357688828ab5d029ea94a99e2e7b1c006b9 Mon Sep 17 00:00:00 2001 From: Heltec-Aaron-Lee Date: Thu, 26 Sep 2019 18:11:20 +0800 Subject: [PATCH] modified size calulation --- platform.txt | 4 ++-- tools/platform.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform.txt b/platform.txt index 61a618b7..99aa3ec8 100644 --- a/platform.txt +++ b/platform.txt @@ -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= diff --git a/tools/platform.txt b/tools/platform.txt index 52a6fa8b..7c73c353 100644 --- a/tools/platform.txt +++ b/tools/platform.txt @@ -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=