Skip to content
Snippets Groups Projects
Commit 72c0f501 authored by Francesco Pham's avatar Francesco Pham
Browse files

zephyr-kernel: add patch to enable shell/console over USB (CDC ACM)

adding patch `0003-philosophers-set-overlay-to-enable-shell-console-ove.patch` 
to enable shell-console over USB for zephyr-philosophers sample application.

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

Using this overlay configuration, enabling CONFIG_USB_DEVICE_STACK and calling
usb_enable() we are able to access the arduino shell using the USB port of
the Arduino Nano board. 
This patch is only applied to the zephyr-philosophers sample application.

Relate-to: #33



Signed-off-by: default avatarFrancesco Pham <francesco.pham@huawei.com>
parent 146fd256
No related branches found
No related tags found
1 merge request!32Draft: zephyr-kernel: add patch to enable shell/console over USB
Pipeline #13651 canceled