forked from elektronikworkshop/vscode-arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arduinoValidator.json
69 lines (69 loc) · 2.23 KB
/
arduinoValidator.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"title": "JSON schema for Arduino configuration file",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"sketch": {
"description": "The main sketch file name of Arduino",
"type": "string",
"minLength": 1
},
"port": {
"description": "Serial port name",
"type": "string",
"minLength": 1
},
"board": {
"description": "Arduino board type",
"type": "string",
"minLength": 1
},
"configuration": {
"description": "Custom Arduino board configuration",
"type": "string",
"minLength": 1
},
"output": {
"description": "Intermediate folder for Arduino building output",
"type": "string",
"minLength": 1
},
"debugger": {
"description": "Arduino Debugger Settings",
"type": "string",
"minLength": 1
},
"intelliSenseGen": {
"description": "Disable/enable the automatic generation of the IntelliSense configuration file (c_cpp_properties.json) for this project (overrides the global setting). When set to \"global\" the global extension settings will be used.",
"type": "string",
"default": "global",
"enum": [
"global",
"disable",
"enable"
]
},
"prebuild": {
"description": "Command to be run before every build",
"type": "string",
"minLength": 1
},
"postbuild": {
"description": "Command to be run after every build",
"type": "string",
"minLength": 1
},
"buildPreferences": {
"description": "Arduino preferences which are passed to the Arduino back-end during build",
"type": "array",
"items": {
"type":"array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
}
}
}