From 1f97330f10c17c239811b7b63b98556ab7e41dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich-Lorenz=20Schl=C3=BCter?= Date: Mon, 23 Mar 2020 16:39:25 +0100 Subject: [PATCH] Update platform.txt regex for sizes like in https://github.com/arduino/ArduinoCore-samd/blob/master/platform.txt#L120 --- platform.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.txt b/platform.txt index 274a7e50..01bc8696 100644 --- a/platform.txt +++ b/platform.txt @@ -115,8 +115,8 @@ recipe.output.save_file_hexu={build.project_name}.save.hex ## Compute size recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" -recipe.size.regex=^(\.text|.\data)\s+([0-9]+).* -recipe.size.regex.data=^(\.data|\.bss)\s+([0-9]+).* +recipe.size.regex=^(?:\.text|\.data|)\s+([0-9]+).* +recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).* ## Export Compiled Binary recipe.output.tmp_file={build.project_name}.hex