From a43ee952677f613f5a0b698642e9c75f2b67d659 Mon Sep 17 00:00:00 2001 From: oclyke Date: Tue, 5 May 2020 15:09:00 -0600 Subject: [PATCH] use recipe.size.regex.data to compute static memory usage --- platform.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform.txt b/platform.txt index 20bc77d6..02f60ac8 100644 --- a/platform.txt +++ b/platform.txt @@ -118,8 +118,7 @@ recipe.objcopy.bin.pattern="{compiler.path}/{compiler.cmd.axf2bin}" {compiler.fl ## Compute size recipe.size.pattern="{compiler.path}/{compiler.cmd.size}" -A "{build.path}/{build.project_name}.axf" recipe.size.regex=\.text\s+([0-9]+).* - -recipe.hooks.objcopy.postobjcopy.0.pattern="{compiler.path}/{compiler.cmd.size}" -A "{build.path}/{build.project_name}.axf" +recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).* ## Preprocessor preproc.macros.flags=-w -x c++ -E -CC