Skip to content

Commit 44e8d99

Browse files
committed
Added some backward compatibility considerations
1 parent e17982c commit 44e8d99

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

RFCs/0002-pluggable-discovery.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,22 @@ myboard.upload_port.1.apples=40
319319

320320
will match on both `pears=20, apples=30` and `pears=30, apples=40` but not `pears=20, apples=40`, in that sense each "set" of identification properties is indepentent from each other and cannot be mixed for port matching.
321321

322+
#### Backward compatibility considerations
323+
324+
Many platforms predating the pluggable discovery have the following definitions for board identification:
325+
326+
```
327+
myboard.vid=0x1234
328+
myboard.pid=0x4567
329+
```
330+
331+
to ensure backward compatibility we will transparently and automatically convert these definitions into the new format
332+
333+
```
334+
myboard.upload_port.0.vid=0x1234
335+
myboard.upload_port.0.pid=0x4567
336+
```
337+
322338
### Upload (state of the art)
323339

324340
In this section we will discuss the current status of the upload business logic in the IDE/CLI.

0 commit comments

Comments
 (0)