0beefffd1b
Allowing to be applied on various samples to enable UART over Bluetooth LE NUS without added complexity. Tested with nrf52840dk/nrf52840 on the following samples: - samples/subsys/console/echo. - samples/subsys/console/getchar. - samples/subsys/console/getline. - samples/subsys/logging/logger. Signed-off-by: Luis Ubieda <luisf@croxel.com>
18 lines
280 B
Plaintext
18 lines
280 B
Plaintext
/*
|
|
* Copyright (c) 2024 Croxel, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,console = &bt_nus_console_uart;
|
|
};
|
|
|
|
bt_nus_console_uart: bt_nus_console_uart {
|
|
compatible = "zephyr,nus-uart";
|
|
rx-fifo-size = <1024>;
|
|
tx-fifo-size = <1024>;
|
|
};
|
|
};
|