I want to hide the log of WPRINT_APP_INFO, WPRINT_LIB_INFO in Release module

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

cross mob
KEKA_4568351
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

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
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

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
Level 3
Level 3
First like received First like given

add GLOBAL_DEFINES = WICED_DISABLE_STDIO to makefile

0 Likes
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

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

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