Hi,
I want to output debug message(printk) through USB port on nrf52840 dongle. how to config it in zephyr, I have read the HelloWorld project code, but got nothing,
thanks
Hi,
I want to output debug message(printk) through USB port on nrf52840 dongle. how to config it in zephyr, I have read the HelloWorld project code, but got nothing,
thanks
Hi,
Here's an example that sets up usb cdc acm:
https://github.com/nrfconnect/sdk-zephyr/tree/v2.7.99-ncs1-1/samples/subsys/usb/cdc_acm
You can add these lines to the overlay to use that backend for the console:
Or you can try the console sample, which does this:
https://github.com/nrfconnect/sdk-zephyr/tree/v2.7.99-ncs1-1/samples/subsys/usb/console
Kind regards,
Håkon
Hi,
thanks for your update,
BR