Skip to content

Commit 7da6c07

Browse files
authored
[skip changelog] Document serial.port.file property (#841)
Previously, only the serial.port property was documented. However, serial.port.file is in widespread use (e.g., Arduino SAMD Boards).
1 parent e41e22d commit 7da6c07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/platform-specification.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,9 @@ If the **upload.protocol** property is not defined for a board, the Arduino IDE'
484484

485485
### Serial port
486486

487-
The port selected via the IDE or [`arduino-cli upload`](../commands/arduino-cli_upload)'s `--port` option is available as a configuration property **{serial.port}**.
487+
The full path (e.g., `/dev/ttyACM0`) of the port selected via the IDE or [`arduino-cli upload`](../commands/arduino-cli_upload)'s `--port` option is available as a configuration property **{serial.port}**.
488+
489+
The file component of the port's path (e.g., `ttyACM0`) is available as the configuration property **{serial.port.file}**.
488490

489491
### Upload using an external programmer
490492

0 commit comments

Comments
 (0)