This sample can be used as a "virtual wire", allowing direct access to devices connected to the target processor - for example: GPS, Cellular, etc... This is also useful as a utility - no other connectivity options exist for UART, where other interfaces like SPI and I2C have shell commands. Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
15 lines
344 B
YAML
15 lines
344 B
YAML
sample:
|
|
name: UART Passthrough
|
|
tests:
|
|
sample.drivers.uart:
|
|
integration_platforms:
|
|
- qemu_x86
|
|
tags:
|
|
- serial
|
|
- uart
|
|
filter: CONFIG_SERIAL and
|
|
CONFIG_UART_INTERRUPT_DRIVEN and
|
|
dt_chosen_enabled("zephyr,console") and
|
|
dt_chosen_enabled("uart,passthrough")
|
|
harness: keyboard
|