File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -462,6 +462,25 @@ following properties are automatically generated:
462462- ` {build.variant.path} ` : The path to the selected board variant folder (inside the
463463 [ variant platform] ( #platform-terminology ) , for example hardware/arduino/avr/variants/micro)
464464
465+ If the platform supports pluggable discovery it may also declare a set of ` upload_port.* ` properties, these properties
466+ will be used to identify a board by the discovery process when plugged in.
467+
468+ For example we could declare a series of ` upload_port.vid ` and ` upload_port.pid ` for the Uno like so:
469+
470+ uno.upload_port.vid.0=0x2341
471+ uno.upload_port.pid.0=0x0043
472+ uno.upload_port.vid.1=0x2341
473+ uno.upload_port.pid.1=0x0001
474+ uno.upload_port.vid.2=0x2A03
475+ uno.upload_port.pid.2=0x0043
476+ uno.upload_port.vid.3=0x2341
477+ uno.upload_port.pid.3=0x0243
478+
479+ In this case we're using the board's ` vid ` and ` pid ` to identify it but ` upload_port.* ` properties can be anything that
480+ can help identify a certain board. For more detailed information see the
481+ [ board identification] ( pluggable-discovery-specification.md#board-identification ) section of the pluggable discovery
482+ documentation.
483+
465484### Cores
466485
467486Cores are placed inside the ** cores** subfolder. Many different cores can be provided within a single platform. For
You can’t perform that action at this time.
0 commit comments