zephyr/scripts/schemas/twister/hwmap-schema.yaml
Enjia Mai 4966de2014 twister: add a hardware map support for using serial pty
The hardware map feature can be used with serial pty mode in
this change. And also add an runner_params option for passing
more parameters from hardware map file to west runner. Note
that you need to create this map file manually because it
cannot be scanned out correctly due to pty is not a physical
HW device existing in system.

And also update doc/develop/test/twister.rst for the usage.

Signed-off-by: Enjia Mai <enjia.mai@intel.com>
2022-05-11 05:54:23 -04:00

58 lines
1.1 KiB
YAML

type: seq
sequence:
- type: map
required: no
mapping:
"available":
type: bool
required: false
"connected":
type: bool
required: true
"id":
type: str
required: true
"notes":
type: str
required: false
"platform":
type: str
required: true
"probe_id":
type: str
required: false
"product":
type: str
required: true
"runner":
type: str
required: true
"runner_params":
type: seq
required: false
sequence:
- type: str
"serial_pty":
type: str
required: false
"serial":
type: str
required: false
"baud":
type: int
required: false
"post_script":
type: str
required: false
"post_flash_script":
type: str
required: false
"pre_script":
type: str
required: false
"fixtures":
type: seq
required: no
sequence:
- type: str