From 3f90957e361f5153adc9a184a4c9277be23a03cd Mon Sep 17 00:00:00 2001 From: Luis Ubieda Date: Thu, 23 May 2024 19:15:33 -0400 Subject: [PATCH] snippets: cdc-acm-console: Redirect Shell target to USB To easily enable Shell over USB. Tested with: ``` west build -b nrf52840dk/nrf52840 \ -S cdc-acm-console` \ samples/subsys/shell/shell_module ``` Signed-off-by: Luis Ubieda --- snippets/cdc-acm-console/cdc-acm-console.overlay | 1 + 1 file changed, 1 insertion(+) diff --git a/snippets/cdc-acm-console/cdc-acm-console.overlay b/snippets/cdc-acm-console/cdc-acm-console.overlay index 91e61886e52..52d8627803c 100644 --- a/snippets/cdc-acm-console/cdc-acm-console.overlay +++ b/snippets/cdc-acm-console/cdc-acm-console.overlay @@ -7,6 +7,7 @@ / { chosen { zephyr,console = &snippet_cdc_acm_console_uart; + zephyr,shell-uart = &snippet_cdc_acm_console_uart; }; };