zephyr/scripts/sanity_chk/hwmap-schema.yaml
Peter Bigot 3c36b42d03 sanitycheck: add notes key to schema
Prior to addition of schema validation running sanitycheck
--generate-hw-map would preserve the value of any field in an existing
map that it didn't update.  These fields now cause a parsing error.
Add notes as an optional key where information relevant to the board
can be added to provide useful context (such as which serial port
corresponds to the console, or why a non-standard runner is required).

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-06-10 12:03:17 +02:00

47 lines
879 B
YAML

type: seq
sequence:
- type: map
required: no
mapping:
"available":
type: bool
required: true
"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
"serial":
type: str
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