From 8c0724c6ce2bd84db752b645c028b3177e51725d Mon Sep 17 00:00:00 2001 From: Marko Sagadin Date: Fri, 4 Aug 2023 20:58:57 +0200 Subject: [PATCH] samples: drivers: uart: native tty: Add native_sim overlay Also include it in the twister tests. Signed-off-by: Marko Sagadin --- samples/drivers/uart/native_tty/boards/native_sim.overlay | 1 + samples/drivers/uart/native_tty/sample.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 samples/drivers/uart/native_tty/boards/native_sim.overlay diff --git a/samples/drivers/uart/native_tty/boards/native_sim.overlay b/samples/drivers/uart/native_tty/boards/native_sim.overlay new file mode 100644 index 000000000000000..2b055bf3de6def2 --- /dev/null +++ b/samples/drivers/uart/native_tty/boards/native_sim.overlay @@ -0,0 +1 @@ +#include "native_posix.overlay" diff --git a/samples/drivers/uart/native_tty/sample.yaml b/samples/drivers/uart/native_tty/sample.yaml index 92263aa8c426a5c..1e059d9ce3aab39 100644 --- a/samples/drivers/uart/native_tty/sample.yaml +++ b/samples/drivers/uart/native_tty/sample.yaml @@ -3,7 +3,9 @@ sample: tests: sample.drivers.uart.native_tty: build_only: true - platform_allow: native_posix + platform_allow: + - native_posix + - native_sim tags: - serial - uart