mirror of https://github.com/m-labs/artiq.git
jsonschema: only allow enable_sata_drtio=true for Kasli if v1.0/1.1
This commit is contained in:
parent
935e18c1be
commit
43b2a3791c
|
@ -71,6 +71,26 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"if": {
|
||||
"properties": {
|
||||
"target": { "const": "kasli" },
|
||||
"hw_rev": {
|
||||
"not": {
|
||||
"oneOf": [
|
||||
{ "const": "v1.0" },
|
||||
{ "const": "v1.1" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"enable_sata_drtio": {
|
||||
"const": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["target", "variant", "hw_rev", "base", "peripherals"],
|
||||
"additionalProperties": false,
|
||||
|
||||
|
|
Loading…
Reference in New Issue