File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ profiles:
28
28
fqbn: <FQBN>
29
29
programmer: <PROGRAMMER>
30
30
platforms:
31
- - platform: <PLATFORM> (<PLATFORM_VERSION>)
31
+ - platform: <PLATFORM> [ (<PLATFORM_VERSION>)]
32
32
platform_index_url: <3RD_PARTY_PLATFORM_URL>
33
- - platform: <PLATFORM_DEPENDENCY> (<PLATFORM_DEPENDENCY_VERSION>)
33
+ - platform: <PLATFORM_DEPENDENCY> [ (<PLATFORM_DEPENDENCY_VERSION>)]
34
34
platform_index_url: <3RD_PARTY_PLATFORM_DEPENDENCY_URL>
35
35
libraries:
36
36
- <INDEX_LIB_NAME> (<INDEX_LIB_VERSION>)
@@ -73,6 +73,14 @@ The following fields are available since Arduino CLI 1.1.0:
73
73
` baudrate: 115200 ` ) but any setting/value can be specified. Multiple settings can be set. These fields are optional.
74
74
- ` <PORT_PROTOCOL> ` is the protocol for the port used to upload and monitor the board. This field is optional.
75
75
76
+ #### Using a system-installed platform.
77
+
78
+ The fields ` <PLATFORM_VERSION> ` and ` <PLATFORM_DEPENDENCY_VERSION> ` are optional, if they are omitted, the sketch
79
+ compilation will use the platforms installed system-wide. This could be helpful during the development of a platform
80
+ (where a specific release is not yet available), or if a specific version of a platform is not a strict requirement.
81
+
82
+ #### An example of a complete project file.
83
+
76
84
A complete example of a sketch project file may be the following:
77
85
78
86
```
You can’t perform that action at this time.
0 commit comments