-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: drivers: uart: native tty: Add native_sim overlay
Also include it in the twister tests. Signed-off-by: Marko Sagadin <marko.sagadin42@gmail.com>
- Loading branch information
1 parent
773cf11
commit 57dff46
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/ { | ||
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"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters