cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

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).

0 Likes
Reply
1 Solution
Employee

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

View solution in original post

3 Replies
Employee

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

View solution in original post

Anonymous
Not applicable

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.

0 Likes
Reply
Anonymous
Not applicable

Nevermind - it's working.... sorry..

0 Likes
Reply