Skip to content

Commit 8547f26

Browse files
author
deepikabhavnani
committed
Add missing ARMC6 flags - MBED_DEBUG and MBED_TRAP_ERRORS_ENABLED
1 parent aff2bee commit 8547f26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/profiles/debug.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions",
2121
"-DMULADDC_CANNOT_USE_R7", "-fdata-sections",
2222
"-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=",
23-
"-fshort-enums", "-fshort-wchar" ],
23+
"-fshort-enums", "-fshort-wchar", "-DMBED_DEBUG",
24+
"-DMBED_TRAP_ERRORS_ENABLED=1"],
2425
"asm": [],
2526
"c": ["-D__ASSERT_MSG", "-std=gnu99"],
2627
"cxx": ["-fno-rtti", "-std=gnu++98"],

0 commit comments

Comments
 (0)