Skip to content

Commit 9e5b779

Browse files
committed
Added compatibility layer for non-pluggable platforms
1 parent 18349c1 commit 9e5b779

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arduino/cores/packagemanager/loader.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ func (pm *PackageManager) loadPlatformRelease(platform *cores.PlatformRelease, p
323323

324324
if platform.Properties.SubTree("discovery").Size() > 0 {
325325
platform.PluggableDiscoveryAware = true
326+
} else {
327+
platform.Properties.Set("discovery.required.0", "builtin:serial-discovery")
326328
}
327329

328330
if platform.Platform.Name == "" {

0 commit comments

Comments
 (0)