nRF52840-Dongle zephyr logging cdc acm composite

Hi,

I'm looking at the zephyr cdc_acm_composite example.

Is it possible to configure zephyr logging module to use the second usb as output?

Br

Parents Reply
  • Hi, thank you! This worked, now I got both logging and printk working, printing to either uart0 or uart1.

    Is there a way to differentiate the two of them? Make logging output to uart1 and printk output to uart0?

    Since I only have the dongle and no debug alternatives my goal is to use uart1 for logging and debugging, and uart0 for the actual application. I can probably use the zephyr UART API for uart0/application but the functionality of printk makes everything much easier.

Children
Related