You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RFCs/0002-pluggable-discovery.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -803,7 +803,7 @@ In the `board2` case: the `bossac` recipe will be used if the port selected is a
803
803
804
804
In the `board3` case: the `bossac` recipe will be used if the port selected is a `serial` port, otherwise the upload will fail.
805
805
806
-
A lot of existing platforms already have recipes without an explicit port address, in this case the upload tool specified in the old (non-pluggable) way will be considered as a `default` protocol upload, for example let's consider the Arduino Zero board:
806
+
A lot of legacy platforms already have recipes without an explicit port address, for example let's consider the Arduino Zero board:
807
807
808
808
```
809
809
# Arduino Zero (Prorgamming Port)
@@ -812,7 +812,7 @@ arduino_zero_edbg.name=Arduino Zero (Programming Port)
812
812
arduino_zero_edbg.vid.0=0x03eb
813
813
arduino_zero_edbg.pid.0=0x2157
814
814
815
-
arduino_zero_edbg.upload.tool=openocd <--- CONSIDERED AS default PROTOCOL
in this casethe upload definition will be always considered as a `default` protocol, in other words, it will be automatically converted into:
824
+
in this case, to ensure backward compatibility, the upload tool specified in the old (non-pluggable) way will be considered as a `default` protocol upload, and it will be automatically converted into:
825
825
826
826
```
827
827
arduino_zero_edbg.upload.default.tool=openocd
828
828
```
829
829
830
+
Please note that the transformation above is intentended only as a backward compatiblity helper and it will be applied only on platforms that does not support Pluggable Discovery at all: if any other `*.upload.*.tool` or `discovery.*` definition is found in the platform, the transformation above will **not** be automatically applied.
0 commit comments