diff --git a/tools/profiles/develop.json b/tools/profiles/develop.json index c0b9f3802b..78e18a47a6 100644 --- a/tools/profiles/develop.json +++ b/tools/profiles/develop.json @@ -27,7 +27,7 @@ "ld": ["--show_full_path", "--legacyalign", "--keep=os_cb_sections"] }, "ARM": { - "common": ["-c", "--gnu", "-Otime", "--split_sections", + "common": ["-c", "--gnu", "-Ospace", "--split_sections", "--apcs=interwork", "--brief_diagnostics", "--restrict", "--multibyte_chars", "-O3", "-DMBED_TRAP_ERRORS_ENABLED=1"], "asm": [], @@ -36,7 +36,7 @@ "ld": ["--show_full_path", "--keep=os_cb_sections"] }, "uARM": { - "common": ["-c", "--gnu", "-Otime", "--split_sections", + "common": ["-c", "--gnu", "-Ospace", "--split_sections", "--apcs=interwork", "--brief_diagnostics", "--restrict", "--multibyte_chars", "-O3", "-D__MICROLIB", "--library_type=microlib", "-DMBED_RTOS_SINGLE_THREAD", @@ -49,7 +49,7 @@ "IAR": { "common": [ "--no_wrap_diagnostics", "-e", - "--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Oh", "--enable_restrict", + "--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Ohz", "--enable_restrict", "-DMBED_TRAP_ERRORS_ENABLED=1"], "asm": [], "c": ["--vla", "--diag_suppress=Pe546"],