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 @@ -26,9 +26,9 @@ profiles:
26
26
fqbn: <FQBN>
27
27
programmer: <PROGRAMMER>
28
28
platforms:
29
- - platform: <PLATFORM> (<PLATFORM_VERSION>)
29
+ - platform: <PLATFORM> [ (<PLATFORM_VERSION>)]
30
30
platform_index_url: <3RD_PARTY_PLATFORM_URL>
31
- - platform: <PLATFORM_DEPENDENCY> (<PLATFORM_DEPENDENCY_VERSION>)
31
+ - platform: <PLATFORM_DEPENDENCY> [ (<PLATFORM_DEPENDENCY_VERSION>)]
32
32
platform_index_url: <3RD_PARTY_PLATFORM_DEPENDENCY_URL>
33
33
libraries:
34
34
- <LIB_NAME> (<LIB_VERSION>)
@@ -68,6 +68,14 @@ The following fields are available since Arduino CLI 1.1.0:
68
68
` baudrate: 115200 ` ) but any setting/value can be specified. Multiple settings can be set. These fields are optional.
69
69
- ` <PORT_PROTOCOL> ` is the protocol for the port used to upload and monitor the board. This field is optional.
70
70
71
+ #### Using a system-installed platform.
72
+
73
+ The fields ` <PLATFORM_VERSION> ` and ` <PLATFORM_DEPENDENCY_VERSION> ` are optional, if they are omitted, the sketch
74
+ compilation will use the platforms installed system-wide. This could be helpful during the development of a platform
75
+ (where a specific release is not yet available), or if a specific version of a platform is not a strict requirement.
76
+
77
+ #### An example of a complete project file.
78
+
71
79
A complete example of a sketch project file may be the following:
72
80
73
81
```
You can’t perform that action at this time.
0 commit comments