- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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のログ非表示にする方法を教えてください。
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
add GLOBAL_DEFINES = WICED_DISABLE_STDIO to makefile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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