Commit Graph

2 Commits (bd3d6abbc469adde2d7f8a032dfe3679b87d71f7)

Author SHA1 Message Date
Vincent Coubard 903afa33c4 Allow the trace output by mbed error to be conditional of NDEBUG.
This change avoid inclusion of printf and friends code in a binary when it
is compiled with the macro NDEBUG enabled (this macro is usually enabled
for production builds).

Unlike assert, the error function will still crash/halt the execution of the
application even if NDEBUG is enabled; the traces are just not outputed.
2016-09-15 14:20:37 +01:00
Sam Grove dc9fb460ee prepend common .c files with mbed_ 2016-07-22 23:36:25 -05:00