Skip to content

Commit be7e651

Browse files
silvanocerzacmaglie
authored andcommitted
Update UPGRADING.md
1 parent 6a70bff commit be7e651

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

Diff for: docs/UPGRADING.md

+10
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ func InitWithProfile(instance *rpc.Instance, profileName string, sketchPath *pat
5454

5555
The errors are automatically sent to output via `feedback` package, as for the other `Init*` functions.
5656

57+
### `board attach` CLI command changed behaviour
58+
59+
The `board attach` CLI command has changed behaviour: now it just pick whatever port and FQBN is passed as parameter and
60+
saves it in the `sketch.json` file, without any validity check or board autodetection.
61+
62+
### `cc.arduino.cli.commands.v1.BoardAttach` gRPC interface command removal
63+
64+
The `cc.arduino.cli.commands.v1.BoardAttach` gRPC command have been removed. This feature is no more available throguh
65+
gRPC.
66+
5767
## 0.28.0
5868

5969
### Breaking changes in libraries name handling

Diff for: docs/sketch-specification.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@ the `data` folder, so any non-code files outside the `data` folder are stripped.
7171
Arduino CLI and Arduino Web Editor use a file named sketch.json, located in the sketch root folder, to store sketch
7272
metadata.
7373

74-
The `cpu` key contains the board configuration information. This can be set via
75-
[`arduino-cli board attach`](commands/arduino-cli_board_attach.md) or by selecting a board in the Arduino Web Editor
76-
while the sketch is open. With this configuration set, it is not necessary to specify the `--fqbn` or `--port` flags to
77-
the [`arduino-cli compile`](commands/arduino-cli_compile.md) or [`arduino-cli upload`](commands/arduino-cli_upload.md)
78-
commands when compiling or uploading the sketch.
74+
The `cpu` key contains the board configuration information. This can be set manually or by selecting a board in the
75+
Arduino Web Editor while the sketch is open. With this configuration set, it is not necessary to specify the `--fqbn` or
76+
`--port` flags to the [`arduino-cli compile`](commands/arduino-cli_compile.md) or
77+
[`arduino-cli upload`](commands/arduino-cli_upload.md) commands when compiling or uploading the sketch.
7978

8079
The `included_libs` key defines the library versions the Arduino Web Editor uses when the sketch is compiled. This is
8180
Arduino Web Editor specific because all versions of all the Library Manager libraries are pre-installed in Arduino Web

Diff for: mkdocs.yml

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ nav:
5252
- Command reference:
5353
- arduino-cli: commands/arduino-cli.md
5454
- board: commands/arduino-cli_board.md
55-
- board attach: commands/arduino-cli_board_attach.md
5655
- board details: commands/arduino-cli_board_details.md
5756
- board list: commands/arduino-cli_board_list.md
5857
- board listall: commands/arduino-cli_board_listall.md

0 commit comments

Comments
 (0)