@@ -81,6 +81,7 @@ Each tool describes a binary distribution of a command line tool. A tool can be:
81
81
- a debugger
82
82
- a program that performs a firmware upgrade
83
83
- a [ pluggable discovery] ( pluggable-discovery-specification.md )
84
+ - a [ pluggable monitor] ( pluggable-monitor-specification.md )
84
85
85
86
basically anything that can run on the user's host PC and do something useful.
86
87
@@ -220,6 +221,9 @@ Finally, let's see how `PLATFORMS` are made.
220
221
"discoveryDependencies" : [
221
222
{ "packager" : " arduino" , "name" : " serial-discovery" },
222
223
{ "packager" : " arduino" , "name" : " mdns-discovery" }
224
+ ],
225
+ "monitorDependencies" : [
226
+ { "packager" : " arduino" , "name" : " serial-monitor" }
223
227
]
224
228
},
225
229
```
@@ -236,13 +240,17 @@ Each PLATFORM describes a core for a specific architecture. The fields needed ar
236
240
TOOLS
237
241
- ` boards ` : the list of boards supported (note: just the names to display on the Arduino IDE and Arduino Pro IDE's
238
242
Boards Manager GUI! the real boards definitions are inside ` boards.txt ` inside the core archive file)
239
- - ` toolsDependencies ` : the tools needed by this core. They will be installed by Boards Manager along with the platform.
240
- Each tool is referenced by the triple (` packager ` , ` name ` , ` version ` ) as previously said. Note that you can reference
241
- tools available in other packages as well, even if no platform of that package is installed.
242
- - ` discoveryDependencies ` : the Pluggable Discoveries needed by this core. Each discovery is referenced by ` packager ` and
243
- ` name ` , the ` version ` is not specified because the latest installed discovery tool will always be used. Like
244
- ` toolsDependencies ` they will be installed by Boards Manager along with the platform and can reference tools available
245
- in other packages as well, even if no platform of that package is installed.
243
+ - ` toolsDependencies ` : the tools needed by this platform. They will be installed by Boards Manager along with the
244
+ platform. Each tool is referenced by the triple (` packager ` , ` name ` , ` version ` ) as previously said. Note that you can
245
+ reference tools available in other packages as well, even if no platform of that package is installed.
246
+ - ` discoveryDependencies ` : the Pluggable Discoveries needed by this platform. Each discovery is referenced by the pair
247
+ (` packager ` , ` name ` ), the ` version ` is not specified because the latest installed discovery tool will always be used.
248
+ Like ` toolsDependencies ` they will be installed by Boards Manager along with the platform and can reference tools
249
+ available in other packages as well, even if no platform of that package is installed.
250
+ - ` monitorDependencies ` : the Pluggable Monitors needed by this platform. Each monitor is referenced by the pair
251
+ (` packager ` , ` name ` ), the ` version ` is not specified because the latest installed monitor tool will always be used.
252
+ Like ` toolsDependencies ` they will be installed by Boards Manager along with the platform and can reference tools
253
+ available in other packages as well, even if no platform of that package is installed.
246
254
247
255
The ` version ` field is validated by both Arduino IDE and [ JSemVer] ( https://github.com/zafarkhaja/jsemver ) . Here are the
248
256
rules Arduino IDE follows for parsing versions
0 commit comments