From f30703af166e9ec28a62e3702a26ff14375c4027 Mon Sep 17 00:00:00 2001 From: Teemu Takaluoma Date: Tue, 30 Jul 2019 09:35:46 +0300 Subject: [PATCH] Debug profile: Change IAR profile to use -Ol instead of -On Total Static RAM memory (data + bss): 71179(+0) bytes Total Flash memory (text + data): 665394(-44680) bytes --- tools/profiles/debug.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/profiles/debug.json b/tools/profiles/debug.json index 170a7af1ea..421b925b07 100644 --- a/tools/profiles/debug.json +++ b/tools/profiles/debug.json @@ -53,7 +53,7 @@ "IAR": { "common": [ "--no_wrap_diagnostics", "-e", - "--diag_suppress=Pa050,Pa084,Pa093,Pa082,Pe540", "-On", "-r", "-DMBED_DEBUG", + "--diag_suppress=Pa050,Pa084,Pa093,Pa082,Pe540", "-Ol", "-r", "-DMBED_DEBUG", "-DMBED_TRAP_ERRORS_ENABLED=1", "--enable_restrict"], "asm": [], "c": ["--vla", "--diag_suppress=Pe546"],