cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

I want to get the debug info in app wwd.canned_send from sdk 3.1.2.

I commented these lines in NoOS_canned_send.c:

/* In release builds all UART printing is TURNED OFF to remove printf and malloc dependency which reduces memory usage dramatically YIN REN ZHU MU DI */

//#ifndef DEBUG

//#undef  WPRINT_APP_INFO

//#define WPRINT_APP_INFO(args)

//#endif

other Code from the Wiced-SDK-3.1.2-IDE-Installer.exe are NOT modified.

I can NOT get the debug info yet from the WICED USB Serial Port( it can work well with other app) after making target.

open the declatration as follwing:

WPRINT_APP_INFO(("\nPlatform " PLATFORM " initialised\n"));

is

#define WPRINT_APP_INFO(args) WPRINT_MACRO(args)

is

#define WPRINT_MACRO(args) do {printf args;} while(0==1)


Could you please tell me what is wrong? I appreciate your help.

0 Likes
Reply
2 Replies
JaeyoungY_71
Employee

Hi,

You can undo(uncomment so code is not modified at all) the changes for the following and add "-debug" to your target name.

//#ifndef DEBUG

//#undef  WPRINT_APP_INFO

//#define WPRINT_APP_INFO(args)

//#endif

For instance, I used

"wwd.canned_send-BCM943362WCD4-NoOS-NoNS-debug download run"

as the target name on Wiced SDK 3.1.2 for BCM43362WCD4 board and I can see the info printed out. (I left the AP_SSID/AP_PASS as the default, you should change this to match your AP in the code though)

debug_info.PNG

Anonymous
Not applicable

Thanks a lot.

0 Likes
Reply