Skip to content

Commit a197f29

Browse files
silvanocerzaper1234
andcommitted
[skip changelog] Apply suggestions from code review
Co-authored-by: per1234 <[email protected]>
1 parent 9cc2c63 commit a197f29

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/UPGRADING.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ The `debug.xxx=yyy` definitions above may be supplied and overlayed in the usual
4343
Previously, if the `--build-path` was not specified, compiling a Sketch would copy the generated binaries in
4444
`<sketch_folder>/build/<fqbn>/`, uploading to a board required that path to exist and contain the necessary binaries.
4545

46-
The `--dry-run` flag is removed, `compile` now never copies generated binaries to the sketch folder. The
47-
`--export-binaries` (`-e`) flag is introduced to copy the binaries from the build folder to the sketch one. Specifying
48-
the `--output-dir` doesn't require using setting also the `--export-binaries` flag. A related settings and env var has
49-
been added to avoid the need to always specify the `--export-binaries` flag: `sketch.always_export_binaries` and
50-
`ARDUINO_SKETCH_ALWAYS_EXPORT_BINARIES`.
46+
The `--dry-run` flag was removed.
47+
48+
The default, `compile` does not copy generated binaries to the sketch folder. The `--export-binaries` (`-e`) flag was
49+
introduced to copy the binaries from the build folder to the sketch one. `--export-binaries` is not required when using
50+
the `--output-dir` flag. A related configuration key and environment variable has been added to avoid the need to always
51+
specify the `--export-binaries` flag: `sketch.always_export_binaries` and `ARDUINO_SKETCH_ALWAYS_EXPORT_BINARIES`.
5152

5253
If `--input-dir` or `--input-file` is not set when calling `upload` the command will search for the deterministically
5354
created build directory in the temp folder and use the binaries found there.
@@ -56,12 +57,12 @@ The gRPC interface has been updated accordingly, `dryRun` is removed.
5657

5758
### Programmers can't be listed anymore using `burn-bootloader -P list`
5859

59-
The `-P` flags is meant to select the programmer used to burn the bootloader on the specified board, the `-P list` was
60-
an hackish way to list all the possible programmers that could be used for that board.
60+
The `-P` flag is used to select the programmer used to burn the bootloader on the specified board. Using `-P list` to
61+
list all the possible programmers for the current board was hackish.
6162

6263
This way has been removed in favour of `board details <fqbn> --list-programmers`.
6364

64-
### `lib install --git-url` and `--zip-file` must now be esplicitly enabled
65+
### `lib install --git-url` and `--zip-file` must now be explicitly enabled
6566

6667
With the introduction of the `--git-url` and `--zip-file` flags the new config key `library.enable_unsafe_install` has
6768
been added to enable them.

0 commit comments

Comments
 (0)