Skip to content

Commit f30703a

Browse files
committed
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
1 parent 985f981 commit f30703a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/profiles/debug.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"IAR": {
5454
"common": [
5555
"--no_wrap_diagnostics", "-e",
56-
"--diag_suppress=Pa050,Pa084,Pa093,Pa082,Pe540", "-On", "-r", "-DMBED_DEBUG",
56+
"--diag_suppress=Pa050,Pa084,Pa093,Pa082,Pe540", "-Ol", "-r", "-DMBED_DEBUG",
5757
"-DMBED_TRAP_ERRORS_ENABLED=1", "--enable_restrict"],
5858
"asm": [],
5959
"c": ["--vla", "--diag_suppress=Pe546"],

0 commit comments

Comments
 (0)