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:
parent
8ec1e0cdaf
commit
7fb75780df
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,console = &bt_nus_console_uart;
|
||||
zephyr,shell-uart = &bt_nus_console_uart;
|
||||
};
|
||||
|
||||
bt_nus_console_uart: bt_nus_console_uart {
|
||||
|
|
|
|||
Loading…
Reference in a new issue