zephyr/tests/drivers/uart/uart_emul/uart_emul.overlay
Pieter De Gendt 0b453c6cdc tests: drivers: uart: uart_emul: Add device emulation test
Add an emulated UART device test case. Demonstrate using the
zephyr,uart-emul bus for passing data to an emulated implementation for a
UART device driver.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-07-30 18:28:17 +01:00

29 lines
475 B
Plaintext

/*
* Copyright (c) 2023 Fabian Blatz
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
euart0: uart-emul {
compatible = "zephyr,uart-emul";
status = "okay";
current-speed = <0>;
rx-fifo-size = <256>;
tx-fifo-size = <256>;
};
euart1: uart-dummy-bus {
compatible = "zephyr,uart-emul";
status = "okay";
current-speed = <0>;
rx-fifo-size = <256>;
tx-fifo-size = <256>;
dummy: uart-dummy {
compatible = "uart-dummy";
status = "okay";
};
};
};