Some checks failed
Basic Checks / license-check (push) Has been cancelled
Basic Checks / include-check (push) Has been cancelled
Basic Checks / style-check (push) Has been cancelled
Basic Checks / docs-check (push) Has been cancelled
Basic Checks / python-tests (push) Has been cancelled
Basic Checks / pin-validation (push) Has been cancelled
Basic Checks / cmake-checks (push) Has been cancelled
Basic Checks / frozen-tools-check (push) Has been cancelled
Publish or Update docker image for head of branch / prepare-tags (push) Has been cancelled
Release or update docker image for a released mbed-os version / prepare-tags (push) Has been cancelled
Publish or Update docker image for head of branch / build-container (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/amd64) (push) Has been cancelled
Publish or Update docker image for head of branch / test-container (linux/arm64) (push) Has been cancelled
Publish or Update docker image for head of branch / deploy-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / build-container (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/amd64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / test-container (linux/arm64) (push) Has been cancelled
Release or update docker image for a released mbed-os version / deploy-container (push) Has been cancelled
Prune temporary docker images / prune-images (push) Has been cancelled
108 lines
2.6 KiB
JSON
108 lines
2.6 KiB
JSON
{
|
|
"name_definition": {
|
|
"description": "Name of the library",
|
|
"type": "string",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"requires_definition": {
|
|
"description": "Required libraries",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/name_definition"
|
|
}
|
|
},
|
|
"macro_definition": {
|
|
"description": "A list of extra macros that will be defined when compiling a project that includes this library.",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"pattern": "(^[\\w()_]+$|^[\\w()_]+=.+$)"
|
|
}
|
|
},
|
|
"config_definition": {
|
|
"description": "List of configuration parameters",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^[^ ]+$": {
|
|
"$ref": "#/config_parameter_base"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"target_overrides_definition": {
|
|
"description": "List of overrides for specific targets",
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"\\*": {
|
|
"$ref": "#/target_override_entry"
|
|
},
|
|
"^\\S+$": {
|
|
"$ref": "#/target_override_entry"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"config_parameter_long": {
|
|
"type": "object",
|
|
"properties": {
|
|
"help": {
|
|
"description": "An optional help message that describes the purpose of the parameter",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "An optional field that defines the value of the parameter",
|
|
"type": [
|
|
"integer",
|
|
"string",
|
|
"boolean",
|
|
"null"
|
|
]
|
|
},
|
|
"required": {
|
|
"description": "An optional field that specifies whether the parameter must be given a value before compiling the code. (False by default)",
|
|
"type": "boolean"
|
|
},
|
|
"macro_name": {
|
|
"description": "An optional field for the macro defined at compile time for this configuration parameter. The system will automatically figure out the macro name from the configuration parameter, but this field will override it",
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"config_parameter_short": {
|
|
"type": [
|
|
"array",
|
|
"string",
|
|
"integer",
|
|
"boolean",
|
|
"null"
|
|
]
|
|
},
|
|
"config_parameter_base": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/config_parameter_long"
|
|
},
|
|
{
|
|
"$ref": "#/config_parameter_short"
|
|
}
|
|
]
|
|
},
|
|
"target_override_entry": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
"^\\S+$": {
|
|
"type": [
|
|
"array",
|
|
"string",
|
|
"integer",
|
|
"boolean",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
}
|