How do I turn on platform debug statements?

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

cross mob
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
1 Solution
JaeyoungY_71
Employee
Employee
First comment on KBA 25 solutions authored 10 solutions authored

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