takashi kadono
/
Nucleo_446
Color Oled(SSD1331) connect to STMicroelectronics Nucleo-F466
mbed-os/tools/config/definitions.json@3:f3764f852aa8, 2018-10-11 (annotated)
- Committer:
- kadonotakashi
- Date:
- Thu Oct 11 02:27:46 2018 +0000
- Revision:
- 3:f3764f852aa8
- Parent:
- 0:8fdf9a60065b
Nucreo 446 + SSD1331 test version;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kadonotakashi | 0:8fdf9a60065b | 1 | { |
kadonotakashi | 0:8fdf9a60065b | 2 | "name_definition": { |
kadonotakashi | 0:8fdf9a60065b | 3 | "description": "Name of the library", |
kadonotakashi | 0:8fdf9a60065b | 4 | "type": "string", |
kadonotakashi | 0:8fdf9a60065b | 5 | "items": { |
kadonotakashi | 0:8fdf9a60065b | 6 | "type": "string" |
kadonotakashi | 0:8fdf9a60065b | 7 | } |
kadonotakashi | 0:8fdf9a60065b | 8 | }, |
kadonotakashi | 0:8fdf9a60065b | 9 | "macro_definition": { |
kadonotakashi | 0:8fdf9a60065b | 10 | "description": "A list of extra macros that will be defined when compiling a project that includes this library.", |
kadonotakashi | 0:8fdf9a60065b | 11 | "type": "array", |
kadonotakashi | 0:8fdf9a60065b | 12 | "items": { |
kadonotakashi | 0:8fdf9a60065b | 13 | "type": "string", |
kadonotakashi | 0:8fdf9a60065b | 14 | "pattern": "(^[\\w()_]+$|^[\\w()_]+=.+$)" |
kadonotakashi | 0:8fdf9a60065b | 15 | } |
kadonotakashi | 0:8fdf9a60065b | 16 | }, |
kadonotakashi | 0:8fdf9a60065b | 17 | "config_definition": { |
kadonotakashi | 0:8fdf9a60065b | 18 | "description": "List of configuration parameters", |
kadonotakashi | 0:8fdf9a60065b | 19 | "type": "object", |
kadonotakashi | 0:8fdf9a60065b | 20 | "patternProperties": { |
kadonotakashi | 0:8fdf9a60065b | 21 | "^[^ ]+$": { |
kadonotakashi | 0:8fdf9a60065b | 22 | "$ref": "#/config_parameter_base" |
kadonotakashi | 0:8fdf9a60065b | 23 | } |
kadonotakashi | 0:8fdf9a60065b | 24 | }, |
kadonotakashi | 0:8fdf9a60065b | 25 | "additionalProperties": false |
kadonotakashi | 0:8fdf9a60065b | 26 | }, |
kadonotakashi | 0:8fdf9a60065b | 27 | "target_overrides_definition": { |
kadonotakashi | 0:8fdf9a60065b | 28 | "description": "List of overrides for specific targets", |
kadonotakashi | 0:8fdf9a60065b | 29 | "type": "object", |
kadonotakashi | 0:8fdf9a60065b | 30 | "patternProperties": { |
kadonotakashi | 0:8fdf9a60065b | 31 | "\\*": { |
kadonotakashi | 0:8fdf9a60065b | 32 | "$ref": "#/target_override_entry" |
kadonotakashi | 0:8fdf9a60065b | 33 | }, |
kadonotakashi | 0:8fdf9a60065b | 34 | "^\\S+$": { |
kadonotakashi | 0:8fdf9a60065b | 35 | "$ref": "#/target_override_entry" |
kadonotakashi | 0:8fdf9a60065b | 36 | } |
kadonotakashi | 0:8fdf9a60065b | 37 | }, |
kadonotakashi | 0:8fdf9a60065b | 38 | "additionalProperties": false |
kadonotakashi | 0:8fdf9a60065b | 39 | }, |
kadonotakashi | 0:8fdf9a60065b | 40 | "config_parameter_long": { |
kadonotakashi | 0:8fdf9a60065b | 41 | "type": "object", |
kadonotakashi | 0:8fdf9a60065b | 42 | "properties": { |
kadonotakashi | 0:8fdf9a60065b | 43 | "help": { |
kadonotakashi | 0:8fdf9a60065b | 44 | "description": "An optional help message that describes the purpose of the parameter", |
kadonotakashi | 0:8fdf9a60065b | 45 | "type": "string" |
kadonotakashi | 0:8fdf9a60065b | 46 | }, |
kadonotakashi | 0:8fdf9a60065b | 47 | "value": { |
kadonotakashi | 0:8fdf9a60065b | 48 | "description": "An optional field that defines the value of the parameter", |
kadonotakashi | 0:8fdf9a60065b | 49 | "type": [ |
kadonotakashi | 0:8fdf9a60065b | 50 | "integer", |
kadonotakashi | 0:8fdf9a60065b | 51 | "string", |
kadonotakashi | 0:8fdf9a60065b | 52 | "boolean", |
kadonotakashi | 0:8fdf9a60065b | 53 | "null" |
kadonotakashi | 0:8fdf9a60065b | 54 | ] |
kadonotakashi | 0:8fdf9a60065b | 55 | }, |
kadonotakashi | 0:8fdf9a60065b | 56 | "required": { |
kadonotakashi | 0:8fdf9a60065b | 57 | "description": "An optional field that specifies whether the parameter must be given a value before compiling the code. (False by default)", |
kadonotakashi | 0:8fdf9a60065b | 58 | "type": "boolean" |
kadonotakashi | 0:8fdf9a60065b | 59 | }, |
kadonotakashi | 0:8fdf9a60065b | 60 | "macro_name": { |
kadonotakashi | 0:8fdf9a60065b | 61 | "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", |
kadonotakashi | 0:8fdf9a60065b | 62 | "type": "string" |
kadonotakashi | 0:8fdf9a60065b | 63 | } |
kadonotakashi | 0:8fdf9a60065b | 64 | } |
kadonotakashi | 0:8fdf9a60065b | 65 | }, |
kadonotakashi | 0:8fdf9a60065b | 66 | "config_parameter_short": { |
kadonotakashi | 0:8fdf9a60065b | 67 | "type": [ |
kadonotakashi | 0:8fdf9a60065b | 68 | "array", |
kadonotakashi | 0:8fdf9a60065b | 69 | "string", |
kadonotakashi | 0:8fdf9a60065b | 70 | "integer", |
kadonotakashi | 0:8fdf9a60065b | 71 | "boolean", |
kadonotakashi | 0:8fdf9a60065b | 72 | "null" |
kadonotakashi | 0:8fdf9a60065b | 73 | ] |
kadonotakashi | 0:8fdf9a60065b | 74 | }, |
kadonotakashi | 0:8fdf9a60065b | 75 | "config_parameter_base": { |
kadonotakashi | 0:8fdf9a60065b | 76 | "oneOf": [ |
kadonotakashi | 0:8fdf9a60065b | 77 | { |
kadonotakashi | 0:8fdf9a60065b | 78 | "$ref": "#/config_parameter_long" |
kadonotakashi | 0:8fdf9a60065b | 79 | }, |
kadonotakashi | 0:8fdf9a60065b | 80 | { |
kadonotakashi | 0:8fdf9a60065b | 81 | "$ref": "#/config_parameter_short" |
kadonotakashi | 0:8fdf9a60065b | 82 | } |
kadonotakashi | 0:8fdf9a60065b | 83 | ] |
kadonotakashi | 0:8fdf9a60065b | 84 | }, |
kadonotakashi | 0:8fdf9a60065b | 85 | "target_override_entry": { |
kadonotakashi | 0:8fdf9a60065b | 86 | "type": "object", |
kadonotakashi | 0:8fdf9a60065b | 87 | "patternProperties": { |
kadonotakashi | 0:8fdf9a60065b | 88 | "^\\S+$": { |
kadonotakashi | 0:8fdf9a60065b | 89 | "type": [ |
kadonotakashi | 0:8fdf9a60065b | 90 | "array", |
kadonotakashi | 0:8fdf9a60065b | 91 | "string", |
kadonotakashi | 0:8fdf9a60065b | 92 | "integer", |
kadonotakashi | 0:8fdf9a60065b | 93 | "boolean", |
kadonotakashi | 0:8fdf9a60065b | 94 | "null" |
kadonotakashi | 0:8fdf9a60065b | 95 | ] |
kadonotakashi | 0:8fdf9a60065b | 96 | } |
kadonotakashi | 0:8fdf9a60065b | 97 | }, |
kadonotakashi | 0:8fdf9a60065b | 98 | "additionalProperties": false |
kadonotakashi | 0:8fdf9a60065b | 99 | } |
kadonotakashi | 0:8fdf9a60065b | 100 | } |