How do I create a Release build, no DEBUG

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Okay this might be a dumb NOOB question, but I have never used Eclipse before and I am trying to figure out how to build a target that is release code only, no debug symbols, etc.  I cannot seem to find how/where to do this.  What is the trick?  For example, calls to WPRINT_APP_INFO() should produce nothing on the UART if not in debug mode.  Yet no matter what I do, it results in an error when building or those messages still appear.  How to build/deploy release only? 

Thanks.

0 Likes
1 Solution
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

You may suppress the WPRINT_APP_INFO() by commenting out the "#define WPRINT_ENABLE_APP_INFO" in \include\wiced_defaults.h. There are other WPRINT_ENABLE_<grpup>_INFO definitions that could be commented out as needed.

Hope it helps,

Seyhan

View solution in original post

1 Reply