zephyr/samples/drivers/uart/native_tty/boards/native_sim.overlay
Alberto Escolar Piedras 196ceaf2f4 samples/drivers/uart/native_tty: Swap native_posix and sim overlay
Refer to the native_sim overlay instead of the native_posix one,
as native_posix is going to be deprecated soon.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-20 12:02:48 +01:00

16 lines
287 B
Plaintext

/ {
uart0: uart {
status = "okay";
compatible = "zephyr,native-tty-uart";
current-speed = <115200>;
serial-port = "/dev/ttyUSB0";
};
uart2: uart2 {
status = "okay";
compatible = "zephyr,native-tty-uart";
current-speed = <115200>;
serial-port = "/dev/ttyUSB1";
};
};