Skip to content

Commit 985f981

Browse files
committed
Debug profile: Change ARM and uARM profile to size-optimized
1 parent 417a9fe commit 985f981

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/profiles/debug.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"--any_contingency", "--keep=os_cb_sections"]
3131
},
3232
"ARM": {
33-
"common": ["-c", "--gnu", "-Otime", "--split_sections",
33+
"common": ["-c", "--gnu", "-Ospace", "--split_sections",
3434
"--apcs=interwork", "--brief_diagnostics", "--restrict",
3535
"--multibyte_chars", "-O0", "-g", "-DMBED_DEBUG",
3636
"-DMBED_TRAP_ERRORS_ENABLED=1"],
@@ -40,7 +40,7 @@
4040
"ld": ["--show_full_path", "--any_contingency", "--keep=os_cb_sections"]
4141
},
4242
"uARM": {
43-
"common": ["-c", "--gnu", "-Otime", "--split_sections",
43+
"common": ["-c", "--gnu", "-Ospace", "--split_sections",
4444
"--apcs=interwork", "--brief_diagnostics", "--restrict",
4545
"--multibyte_chars", "-O0", "-D__MICROLIB", "-g",
4646
"--library_type=microlib", "-DMBED_RTOS_SINGLE_THREAD", "-DMBED_DEBUG",

0 commit comments

Comments
 (0)