File tree Expand file tree Collapse file tree 4 files changed +79
-79
lines changed Expand file tree Collapse file tree 4 files changed +79
-79
lines changed Original file line number Diff line number Diff line change @@ -2821,14 +2821,14 @@ <h2 id="boardstxt">boards.txt<a class="headerlink" href="#boardstxt" title="Perm
2821
2821
< p > If the platform supports pluggable discovery it may also declare a set of < code > upload_port.*</ code > properties, these properties
2822
2822
will be used to identify a board by the discovery process when plugged in.</ p >
2823
2823
< p > For example we could declare a series of < code > upload_port.vid</ code > and < code > upload_port.pid</ code > properties for the Uno like so:</ p >
2824
- < div class ="highlight "> < pre > < span > </ span > < code > uno.upload_port.vid.0 =0x2341
2825
- uno.upload_port.pid.0 =0x0043
2826
- uno.upload_port.vid.1 =0x2341
2827
- uno.upload_port.pid.1 =0x0001
2828
- uno.upload_port.vid.2 =0x2A03
2829
- uno.upload_port.pid.2 =0x0043
2830
- uno.upload_port.vid.3 =0x2341
2831
- uno.upload_port.pid.3 =0x0243
2824
+ < div class ="highlight "> < pre > < span > </ span > < code > uno.upload_port.0.vid =0x2341
2825
+ uno.upload_port.0.pid =0x0043
2826
+ uno.upload_port.1.vid =0x2341
2827
+ uno.upload_port.1.pid =0x0001
2828
+ uno.upload_port.2.vid =0x2A03
2829
+ uno.upload_port.2.pid =0x0043
2830
+ uno.upload_port.3.vid =0x2341
2831
+ uno.upload_port.3.pid =0x0243
2832
2832
</ code > </ pre > </ div >
2833
2833
< p > In this case we're using the board's USB VID/PID pair to identify it but < code > upload_port.*</ code > properties can be anything that
2834
2834
can help identify a certain board. For more detailed information see the
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments