DBG Debug Macros?
Topic last updated
27 May 2011, by
Doug Wendelboe.
1 reply
debug
Some of the code posted on this site uses some interesting and useful debug macros such as:
DBG(DBG_SECTION "Dispatching req\r\n");
or
DBG printf("Enter Analog Section\n");
I'd like to start using these macros instead of the conditional compilation method (#if (DEBUG)). I've searched the mbed.org website, but have not located the file(s) which define these macros.
Can someone point me to where these might be?
Thanks,
Doug
Please log in to post a reply.
Some of the code posted on this site uses some interesting and useful debug macros such as:
DBG(DBG_SECTION "Dispatching req\r\n"); or DBG printf("Enter Analog Section\n");I'd like to start using these macros instead of the conditional compilation method (#if (DEBUG)). I've searched the mbed.org website, but have not located the file(s) which define these macros.
Can someone point me to where these might be?
Thanks, Doug