Suppress line breaks when using LOG_INF etc with RTT and Segger #debugging


justin.leavesley@...
 

I would have thought this was easy but I cannot seem to find a way to prevent LOG_INF etc from adding a line break to the log string. 

I have found the following log flag definition in log_output.h

#define LOG_OUTPUT_FLAG_CRLF_NONE BIT(4)

But I cannot see how to set this flag in the build and config system so that the logging picks it up.

 

Thanks,

Justin



Join {users@lists.zephyrproject.org to automatically receive all group messages.