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 <luisf@croxel.com>
This commit is contained in:
Luis Ubieda 2024-05-23 19:15:33 -04:00 committed by Anas Nashif
parent aaec285cd5
commit 3f90957e36
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
/ {
chosen {
zephyr,console = &snippet_cdc_acm_console_uart;
zephyr,shell-uart = &snippet_cdc_acm_console_uart;
};
};