You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sketch-project-file.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,9 @@ The following fields are available since Arduino CLI 1.1.0:
71
71
-`port_config` section with `<PORT_SETTING_NAME>` and `<PORT_SETTING_VALUE>` defines the port settings that will be
72
72
used in the `monitor` command. Typically is used to set the baudrate for the serial port (for example
73
73
`baudrate: 115200`) but any setting/value can be specified. Multiple settings can be set. These fields are optional.
74
-
-`<PORT_PROTOCOL>` is the protocol for the port used to upload and monitor the board. This field is optional.
74
+
-`<PORT_PROTOCOL>` is the protocol for the port used to upload and monitor the board. Arduino CLI ignores this value at
75
+
runtime, so write it only if an external client (for example one using the gRPC [`Port`](/rpc/commands/#port)) needs to restore the `protocol` together with the port `address`. Clients that do not set it should assume their
76
+
own default (usually `serial`). This field is optional.
0 commit comments