Skip to content

Commit 2e078d4

Browse files
committed
Only serial-discovery and network-discovery are automatically added to legacy platforms
1 parent 6ed74a2 commit 2e078d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RFCs/0002-pluggable-discovery.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,11 @@ Some discoveries like the Arduino `serial-discovery` or the Arduino `network-dis
490490
If a platform requires the builtin discoveries it must declare it with:
491491

492492
```
493-
discovery.required.0=builtin:serial_discovery
494-
discovery.required.1=builtin:network_discovery
493+
discovery.required.0=builtin:serial-discovery
494+
discovery.required.1=builtin:network-discovery
495495
```
496496

497-
For backward compatibility, if a platform does not declare any discovery (using the `discovery.*` properties in `platform.txt`) it will automatically inherits all the builtin discoveries. This will allow all legacy non-pluggable platforms to migrate to pluggable discovery without disruption.
497+
For backward compatibility, if a platform does not declare any discovery (using the `discovery.*` properties in `platform.txt`) it will automatically inherits `builtin:serial-discovery` and `builtin:network-discovery` (but not other `builtin` discoveries that may be possibly added in the future). This will allow all legacy non-pluggable platforms to migrate to pluggable discovery without disruption.
498498

499499
#### Conflicting discoveries
500500

0 commit comments

Comments
 (0)