Skip to content

Commit 2d0d6b3

Browse files
silvanocerzaper1234
andcommitted
Fix more documentation
Co-authored-by: per1234 <accounts@perglass.com>
1 parent dc22d40 commit 2d0d6b3

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

commands/upload/upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ func runProgramAction(pm *packagemanager.PackageManager,
444444
}
445445
}
446446

447-
// Get Port properties gathered using Pluggable Discovery
447+
// Get Port properties gathered using pluggable discovery
448448
uploadProperties.Set("upload.port.address", port.Address)
449449
uploadProperties.Set("upload.port.label", port.Label)
450450
uploadProperties.Set("upload.port.protocol", port.Protocol)

docs/UPGRADING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ message DetectedPort {
5757

5858
The properties previously contained directly in the message are now stored in the `port` property.
5959

60-
These changes are necessary for the Pluggable Discovery.
60+
These changes are necessary for the pluggable discovery.
6161

6262
### gRPC interface `BoardListItem` change
6363

docs/package_index_json-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Each tool describes a binary distribution of a command line tool. A tool can be:
8080
- a file preprocessor
8181
- a debugger
8282
- a program that performs a firmware upgrade
83-
- a [Pluggable Discovery](pluggable-discovery-specification.md)
83+
- a [pluggable discovery](pluggable-discovery-specification.md)
8484

8585
basically anything that can run on the user's host PC and do something useful.
8686

docs/platform-specification.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ The tool configuration properties are available globally without the prefix. For
698698
property can be used as **{cmd.path}** inside the recipe, and the same happens for all the other avrdude configuration
699699
variables.
700700

701-
#### Pluggable Discovery
701+
#### Pluggable discovery
702702

703703
Discovery tools are a special kind of tool used to find supported boards. A platform must declare one or more Pluggable
704704
Discoveries in its [`platform.txt`](#platformtxt). Discoveries can be referenced from other packages, including the
@@ -718,7 +718,7 @@ pluggable_discovery.required.1=VENDOR_ID:DISCOVERY_1_NAME
718718
```
719719

720720
A platform that supports only boards connected via serial ports can easily use the `builtin` package's
721-
`serial-discovery` without creating a custom Pluggable Discovery:
721+
`serial-discovery` without creating a custom pluggable discovery:
722722

723723
```
724724
pluggable_discovery.required=builtin:serial-discovery
@@ -863,9 +863,9 @@ leonardo.upload.network.maximum_size=256
863863

864864
The two above properties will be available as **{upload.serial.maximum_size}** and **{upload.network.maximum_size}**.
865865

866-
#### Properties from Pluggable Discovery
866+
#### Properties from pluggable discovery
867867

868-
If a platform supports Pluggable Discovery it can also use the port's properties returned by a discovery. For example,
868+
If a platform supports pluggable discovery it can also use the port's properties returned by a discovery. For example,
869869
the following port metadata coming from a pluggable discovery:
870870

871871
```

docs/pluggable-discovery-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Discovery tools are a special kind of tool used to find supported boards, a platform developer can create its own
1+
Discovery tools are a special kind of tool used to find supported boards, a platform developer can create their own
22
following the specification below. These tools must be in the form of executables that can be launched as a subprocess
33
using a `platform.txt` command line recipe. They communicate to the parent process via stdin/stdout, accepting commands
44
as plain text strings from stdin and sending answers back in JSON format on stdout. Each tool will implement the

0 commit comments

Comments
 (0)