Skip to content

Commit b59b6f6

Browse files
committed
Change links from pluggable discovery RFC to official docs
1 parent efdb11c commit b59b6f6

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

arduino/cores/packagemanager/loader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ func (pm *PackageManager) loadDiscoveries(release *cores.PlatformRelease) []*sta
666666
delete(discoveryIDs, "required")
667667
// Get the list of tools only if there are discoveries that use Direct discovery integration.
668668
// See:
669-
// https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0002-pluggable-discovery.md#direct-discovery-integration-not-recommended
669+
// https://arduino.github.io/arduino-cli/latest/platform-specification/#pluggable-discovery
670670
// We need the tools only in that case since we might need some tool's
671671
// runtime properties to expand the discovery pattern to run it correctly.
672672
var tools []*cores.ToolRelease

commands/upload/upload.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func getToolID(props *properties.Map, action, protocol string) (string, error) {
8484
return t, nil
8585
} else if t, ok := props.GetOk(defaultToolProperty); ok {
8686
// Fallback for platform that don't support the specified protocol for specified action:
87-
// https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0002-pluggable-discovery.md#support-for-default-fallback-allows-upload-without-a-port
87+
// https://arduino.github.io/arduino-cli/latest/platform-specification/#sketch-upload-configuration
8888
return t, nil
8989
}
9090
return "", fmt.Errorf("cannot find tool: undefined '%s' property", toolProperty)
@@ -300,7 +300,7 @@ func runProgramAction(pm *packagemanager.PackageManager,
300300
// Certain tools require the user to provide custom fields at run time,
301301
// if they've been provided set them
302302
// For more info:
303-
// https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0002-pluggable-discovery.md#user-provided-fields
303+
// https://arduino.github.io/arduino-cli/latest/platform-specification/#user-provided-fields
304304
for name, value := range userFields {
305305
uploadProperties.Set(fmt.Sprintf("%s.field.%s", action, name), value)
306306
}

rpc/cc/arduino/cli/commands/v1/upload.pb.go

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/cc/arduino/cli/commands/v1/upload.proto

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ message UploadRequest {
5757
// or in any case fields that can be customized by the user at upload time
5858
// and cannot be known previously.
5959
// For more info:
60-
// https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0002-pluggable-discovery.md#user-provided-fields
60+
// https://arduino.github.io/arduino-cli/latest/platform-specification/#user-provided-fields
6161
map<string, string> user_fields = 11;
6262
}
6363

@@ -101,7 +101,7 @@ message UploadUsingProgrammerRequest {
101101
// or in any case fields that can be customized by the user at upload time
102102
// and cannot be known previously.
103103
// For more info:
104-
// https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0002-pluggable-discovery.md#user-provided-fields
104+
// https://arduino.github.io/arduino-cli/latest/platform-specification/#user-provided-fields
105105
map<string, string> user_fields = 11;
106106
}
107107

@@ -133,7 +133,7 @@ message BurnBootloaderRequest {
133133
// or in any case fields that can be customized by the user at upload time
134134
// and cannot be known previously.
135135
// For more info:
136-
// https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0002-pluggable-discovery.md#user-provided-fields
136+
// https://arduino.github.io/arduino-cli/latest/platform-specification/#user-provided-fields
137137
map<string, string> user_fields = 11;
138138
}
139139

0 commit comments

Comments
 (0)