Hi,
I am using the NRF52840 DK. I am seeing the console logs in UART-0 and USB console (exposed as ttyACM0). However, I would like to disable the logs on UART-0, but needed them on /dev/ttyACM0.
What are the CONFIG options that I need to use?
Hi,
I am using the NRF52840 DK. I am seeing the console logs in UART-0 and USB console (exposed as ttyACM0). However, I would like to disable the logs on UART-0, but needed them on /dev/ttyACM0.
What are the CONFIG options that I need to use?
Hi,
You can set CONFIG_UART_CONSOLE=n in your prj.conf file to disable UART logs. This will disable the UART console.
Regards,
Amanda H.
Hi Amanda Hsieh
Thanks for the response. I tried setting CONFIG_UART_CONSOLE=n in prj.conf. It disables the UART. However, it also disables log outputs on /dev/ttyACM0 (usb) port. Is there any option that disables logs on UART and prints on USB port.
Regards,
Balaji.V
You can test this sample zephyr/samples/subsys/usb/console and refer to its setting.