How to use USB_CDC and Segger RTT at the same time?

Hello,

I am working on NCS v2.2.0. Currently, I am able to use USB CDC ACM on my development board. But, If I set CONFIG_LOG=y, I am seeing LOG_INF and printk function's messages at the RTT Viewer. If I set CONFIG_LOG=n, I am not seeing RTT messages on RTT terminal but I am able to see printk messages on the UART terminal.

My aim is this I want to use USB_CDC and RTT at the same time. I want to use LOG_INF for RTT and printk for UART terminal. Is this possible?

Thanks.

Parents Reply Children
No Data
Related