Skip to content

Commit 9162f40

Browse files
author
Deepika
committed
Temp change for debugging
1 parent c3822e0 commit 9162f40

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

targets/targets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3418,6 +3418,7 @@
34183418
},
34193419
"NUMAKER_PFM_M2351": {
34203420
"core": "Cortex-M23",
3421+
"device_name": "M2351K1AAEES",
34213422
"default_toolchain": "GCC_ARM",
34223423
"extra_labels": ["NUVOTON", "M2351", "M2351K1AAEES"],
34233424
"is_disk_virtual": true,

tools/profiles/develop.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
66
"-ffunction-sections", "-fdata-sections", "-funsigned-char",
77
"-MMD", "-fno-delete-null-pointer-checks",
8-
"-fomit-frame-pointer", "-Os"],
8+
"-fomit-frame-pointer", "-O0", "-g3", "-gdwarf-2"],
99
"asm": ["-x", "assembler-with-cpp"],
1010
"c": ["-std=gnu99"],
1111
"cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"],
@@ -15,7 +15,7 @@
1515
"-Wl,-n"]
1616
},
1717
"ARMC6": {
18-
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-Os",
18+
"common": ["-c", "--target=arm-arm-none-eabi", "-mthumb", "-g", "-O0",
1919
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
2020
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
2121
"-fno-exceptions", "-MMD"],
@@ -45,8 +45,8 @@
4545
},
4646
"IAR": {
4747
"common": [
48-
"--no_wrap_diagnostics", "-e",
49-
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Oh"],
48+
"--no_wrap_diagnostics", "-e",
49+
"--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-On", "-r"],
5050
"asm": [],
5151
"c": ["--vla"],
5252
"cxx": ["--guard_calls", "--no_static_destruction"],

0 commit comments

Comments
 (0)