Skip to content

Commit

Permalink
snippets: nus-console: Redirect Shell to nus-console
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ubieda authored and carlescufi committed Apr 29, 2024
1 parent 8ec1e0c commit 7fb7578
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snippets/nus-console/nus-console.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7fb7578

Please sign in to comment.