snippets: nus-console: Redirect Shell to nus-console

To allow easily building samples using the shell, without needing to
specify additional configurations. Tested with:
```
west build -b nrf52840dk/nrf52840 \
           -S nus-console` \
           samples/subsys/shell/shell_module
```

Signed-off-by: Luis Ubieda <luisf@croxel.com>
This commit is contained in:
Luis Ubieda 2024-04-24 22:07:44 -04:00 committed by Carles Cufí
parent 8ec1e0cdaf
commit 7fb75780df

View file

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