zephyr/snippets/nus-console/nus-console.overlay
Luis Ubieda 7fb75780df 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>
2024-04-29 15:49:53 +02:00

19 lines
324 B
Plaintext

/*
* Copyright (c) 2024 Croxel, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,console = &bt_nus_console_uart;
zephyr,shell-uart = &bt_nus_console_uart;
};
bt_nus_console_uart: bt_nus_console_uart {
compatible = "zephyr,nus-uart";
rx-fifo-size = <1024>;
tx-fifo-size = <1024>;
};
};