Add missing ARMC6 flags - MBED_DEBUG and MBED_TRAP_ERRORS_ENABLED

pull/9277/head
deepikabhavnani 2019-01-04 16:16:04 -06:00 committed by Deepika
parent aff2bee8a4
commit 8547f26872
1 changed files with 2 additions and 1 deletions

View File

@ -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"],