- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I turn on platform debug statements?
Such as WPRINT_ENABLE_PLATFORM_INFO
which enables WPRINT_PLATFORM_INFO
and other things.
I'm porting a platform from 3.0.1 to 3.5.2 and wiced_init is returning 2 and I'm having trouble getting the debugger running (besides in RTOS, I want the printfs anyway).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
You can adjust the settings in WICED-SDK\include\wiced_defaults.h. The default should have WPRINT_ENABLE_PLATFORM_INFO enabled, but for WPRINT_ENABLE_PLATFORM_DEBUG and WPRINT_ENABLE_PLATFORM_INFO_ERROR you will have to uncomment them.
Thanks,
Jaeyoung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
You can adjust the settings in WICED-SDK\include\wiced_defaults.h. The default should have WPRINT_ENABLE_PLATFORM_INFO enabled, but for WPRINT_ENABLE_PLATFORM_DEBUG and WPRINT_ENABLE_PLATFORM_INFO_ERROR you will have to uncomment them.
Thanks,
Jaeyoung
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, well when I look at the code in the editor, it looks like it's enabled, but I don't see the output in the same stream as
WPRINT_APP_INFO
which is printing app debug info just fine to a USB uart terminal.
So maybe I should be asking how to get it to go to that UART location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nevermind - it's working.... sorry..