cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

KEKA_4568351
Contributor

I want to hide the log of WPRINT_APP_INFO, WPRINT_LIB_INFO in the release module. However,

if I comment or disable WPRINT_APP_INFO, WPRINT_LIB_INFO in "wiced_defaults.h", a build error will occur.

Please tell me how to hide the log of WPRINT_APP_INFO and WPRINT_LIB_INFO.

<Japanese>

Release モジュールで、WPRINT_APP_INFO,WPRINT_LIB_INFOのログを非表示にしたい

Releaseのモジュールで、WPRINT_APP_INFO,WPRINT_LIB_INFOのログを非表示にしたいのですが、

「wiced_defaults.h」で、WPRINT_APP_INFO,WPRINT_LIB_INFOをコメントや無効化すると、ビルドエラーになります。

WPRINT_APP_INFO,WPRINT_LIB_INFOのログ非表示にする方法を教えてください。

0 Likes
1 Solution
MuraliR_36
Moderator
Moderator

Hi

Try changing the definition of WPRINT_PLATFORM_PERMISSION_FUNC() from 1 to 0 in /43xxx_Wi-Fi/WICED/WWD/include/wwd_debug.h

and you should see no logs.

Thanks

View solution in original post

3 Replies
DaRa_4056336
New Contributor II

add GLOBAL_DEFINES = WICED_DISABLE_STDIO to makefile

0 Likes
MuraliR_36
Moderator
Moderator

Hi

Try changing the definition of WPRINT_PLATFORM_PERMISSION_FUNC() from 1 to 0 in /43xxx_Wi-Fi/WICED/WWD/include/wwd_debug.h

and you should see no logs.

Thanks

View solution in original post

KEKA_4568351
Contributor

Thank you very much.

With Release, it was possible to hide the log.

#ifdef DEBUG

     #define WPRINT_PLATFORM_PERMISSION_FUNC () 1

#else

     #define WPRINT_PLATFORM_PERMISSION_FUNC () 0

#endif

0 Likes