Hi i am using nrf52840 latest sdk and i need to disable all printf at a single how can i achieve it
Hi i am using nrf52840 latest sdk and i need to disable all printf at a single how can i achieve it
Hi,
Sorry, but I'm not sure I understand your question. Could you please try to rephrase it? Also, could you let me know which SDK your project is based on?
Best regards,
Vidar
Hi i am using nrf52840 app ble_central_app_uart latest ver. for this one i need to disable printf all at a time
What do you mean by "disable printf all at a time"?
i dont want to print this statement on console
The simplest solution is likely to make your 'printf' calls conditional.
E.g.,
#define PRINTF_ENABLED 1
#if PRINTF_ENABLED
printf("hello world");
#endif // PRINTF_ENABLED
Hi thanks for reply actually i have more print statements so i wanted to disable print all at a time is there any other method
Hi thanks for reply actually i have more print statements so i wanted to disable print all at a time is there any other method