Tool/software:
Hi team,
Is it possible to disable all OSAL_printf()?
Can I ignore it from the compilation without erasing all of OSAL_printf()?
Best regard,
Oyama
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi team,
Is it possible to disable all OSAL_printf()?
Can I ignore it from the compilation without erasing all of OSAL_printf()?
Best regard,
Oyama
Hello Oyama,
We will check the possibilities and provide you the feedback.
Kind Regards,
Hello Oyama,
You can disable the OSAL_printf by using the API OSAL_printfSuppress(bool suppress). Refer the API usage below.
// OSAL_printfs are enabled by default. OSAL_printfSuppress(1); // OSAL_printfs are disabled. OSAL_printfSuppress(0); // OSAL_printfs are enabled again.
Kind Regards,