|
5 | 5 | "-fmessage-length=0", "-fno-exceptions",
|
6 | 6 | "-ffunction-sections", "-fdata-sections", "-funsigned-char",
|
7 | 7 | "-MMD", "-fno-delete-null-pointer-checks",
|
8 |
| - "-fomit-frame-pointer", "-O0", "-g3", "-DMBED_DEBUG", |
| 8 | + "-fomit-frame-pointer", "-Og", "-g3", "-DMBED_DEBUG", |
9 | 9 | "-DMBED_TRAP_ERRORS_ENABLED=1"],
|
10 | 10 | "asm": ["-x", "assembler-with-cpp"],
|
11 | 11 | "c": ["-std=gnu11"],
|
|
30 | 30 | "--any_contingency", "--keep=os_cb_sections"]
|
31 | 31 | },
|
32 | 32 | "ARM": {
|
33 |
| - "common": ["-c", "--gnu", "-Otime", "--split_sections", |
| 33 | + "common": ["-c", "--gnu", "-Ospace", "--split_sections", |
34 | 34 | "--apcs=interwork", "--brief_diagnostics", "--restrict",
|
35 | 35 | "--multibyte_chars", "-O0", "-g", "-DMBED_DEBUG",
|
36 | 36 | "-DMBED_TRAP_ERRORS_ENABLED=1"],
|
|
40 | 40 | "ld": ["--show_full_path", "--any_contingency", "--keep=os_cb_sections"]
|
41 | 41 | },
|
42 | 42 | "uARM": {
|
43 |
| - "common": ["-c", "--gnu", "-Otime", "--split_sections", |
| 43 | + "common": ["-c", "--gnu", "-Ospace", "--split_sections", |
44 | 44 | "--apcs=interwork", "--brief_diagnostics", "--restrict",
|
45 | 45 | "--multibyte_chars", "-O0", "-D__MICROLIB", "-g",
|
46 | 46 | "--library_type=microlib", "-DMBED_RTOS_SINGLE_THREAD", "-DMBED_DEBUG",
|
|
53 | 53 | "IAR": {
|
54 | 54 | "common": [
|
55 | 55 | "--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", |
57 | 57 | "-DMBED_TRAP_ERRORS_ENABLED=1", "--enable_restrict"],
|
58 | 58 | "asm": [],
|
59 | 59 | "c": ["--vla", "--diag_suppress=Pe546"],
|
|
0 commit comments