Skip to content
Snippets Groups Projects

debug-console: set overlay to enable shell/console over USB (CDC ACM)

Merged Francesco Pham requested to merge mrfrank/openthread-node-zephyr:main into main

currently shell and console is not working via USB, instead one have to use the UART interface and use a serial to USB cable to access the arduino shell. This is a regression because in Jasmine console over usb was working. The regression was introduced from upstream: https://github.com/zephyrproject-rtos/zephyr/pull/44023/commits/69707dfb4bd91b513fb3e1503d76265c857f18b7#diff-93ba35382d86f5dce92d22c0f8c1a2649ba17786dca3bff30c5b760cbe8b9128

With this overlay configuration we are able to access the arduino shell using the USB port of the arduino. Also, we have to enable CONFIG_USB_DEVICE_STACK in prj.conf and call usb_enable() from the source.

Relate-to: eclipse/oniro-blueprints/doorlock/meta-oniro-blueprints-doorlock#1 (closed)

Signed-off-by: Francesco Pham francesco.pham@huawei.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading