Skip to content

Commit

Permalink
Fix driver schema json default type requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Gergely Korcsák <gergely.korcsak@arm.com>
  • Loading branch information
gergelykarm committed Oct 10, 2024
1 parent e21e9c3 commit a3c2a8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.d/fix-driver-schema-check.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix
* Fix invalid JSON schemas for driver descriptions used by
generate_driver_wrappers.py.
2 changes: 1 addition & 1 deletion scripts/data_files/driver_jsons/driver_opaque_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"type": {
"type": "string",
"const": ["opaque"]
"const": "opaque"
},
"location": {
"type": ["integer","string"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"type": {
"type": "string",
"const": ["transparent"]
"const": "transparent"
},
"mbedtls/h_condition": {
"type": "string"
Expand Down

0 comments on commit a3c2a8f

Please sign in to comment.