From 8547f26872fab73a6becb02ef88bcb84117e01df Mon Sep 17 00:00:00 2001 From: deepikabhavnani Date: Fri, 4 Jan 2019 16:16:04 -0600 Subject: [PATCH] Add missing ARMC6 flags - MBED_DEBUG and MBED_TRAP_ERRORS_ENABLED --- tools/profiles/debug.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/profiles/debug.json b/tools/profiles/debug.json index b5c6dbec93..844d481011 100644 --- a/tools/profiles/debug.json +++ b/tools/profiles/debug.json @@ -20,7 +20,8 @@ "-Wno-armcc-pragma-push-pop", "-Wno-armcc-pragma-anon-unions", "-DMULADDC_CANNOT_USE_R7", "-fdata-sections", "-fno-exceptions", "-MMD", "-D_LIBCPP_EXTERN_TEMPLATE(...)=", - "-fshort-enums", "-fshort-wchar" ], + "-fshort-enums", "-fshort-wchar", "-DMBED_DEBUG", + "-DMBED_TRAP_ERRORS_ENABLED=1"], "asm": [], "c": ["-D__ASSERT_MSG", "-std=gnu99"], "cxx": ["-fno-rtti", "-std=gnu++98"],