- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot.