diff --git a/platform.txt b/platform.txt index b80c19ae6..7bd234787 100644 --- a/platform.txt +++ b/platform.txt @@ -99,7 +99,7 @@ recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf ## Compute size recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).* -recipe.size.regex=^(?:\.data|\.text)\s+([0-9]+).* +recipe.size.regex=^(?:\.data|\.text)\S*?\s+([0-9]+).* ## Save hex recipe.output.tmp_file={build.project_name}.bin