@@ -885,6 +885,30 @@ may contain any extra parameter in the formula: this is different from the monit
885
885
886
886
We strongly recommend using this syntax only for development purposes and not on released platforms.
887
887
888
+ #### Port configuration
889
+
890
+ Each pluggable monitor has its own default settings that can be overridden using the following board properties:
891
+
892
+ ```
893
+ BOARD_ID.monitor_port.PROTOCOL.SETTING_NAME=SETTING_VALUE
894
+ ```
895
+
896
+ where:
897
+
898
+ - ` BOARD_ID ` is the board identifier
899
+ - ` PROTOCOL ` is the port protocol
900
+ - ` SETTING_NAME ` and ` SETTING_VALUE ` are the port setting and the desired value
901
+
902
+ For example, let's suppose that a board needs the ` baudrate ` setting of the ` serial ` port to be ` 9600 ` , then the
903
+ corresponding properties in the ` boards.txt ` file will be:
904
+
905
+ ```
906
+ myboard.monitor_port.serial.baudrate=9600
907
+ ```
908
+
909
+ The settings available in a specific pluggable monitor can be
910
+ [ queried directly from it] ( pluggable-monitor-specification.md#describe-command ) .
911
+
888
912
#### Built-in monitors
889
913
890
914
If a platform supports only boards connected via serial ports it can easily use the ` builtin:serial-monitor ` tool
@@ -903,6 +927,23 @@ will allow all legacy non-pluggable platforms to migrate to pluggable monitor wi
903
927
904
928
For detailed information, see the [ Pluggable Monitor specification] ( pluggable-monitor-specification.md ) .
905
929
930
+ #### Legacy ` serial.disableRTS ` and ` serial.disableDTR ` properties
931
+
932
+ In the old Arduino IDE (<=1.8.x) we used the properties:
933
+
934
+ ```
935
+ BOARD_ID.serial.disableRTS=true
936
+ BOARD_ID.serial.disableDTR=true
937
+ ```
938
+
939
+ to disable RTS and DTR when opening the serial monitor. To keep backward compatibilty the properties above are
940
+ automatically converted to the corresponding pluggable monitor properties:
941
+
942
+ ```
943
+ BOARD_ID.monitor_port.serial.rts=off
944
+ BOARD_ID.monitor_port.serial.dtr=off
945
+ ```
946
+
906
947
### Verbose parameter
907
948
908
949
It is possible for the user to enable verbosity from the Preferences panel of the IDEs or Arduino CLI's ` --verbose `
@@ -1191,47 +1232,6 @@ If the **upload.protocol** property is not defined for a board, the Arduino IDE'
1191
1232
behavior as [ "Upload Using Programmer"] ( #upload-using-an-external-programmer ) . This is convenient for boards which only
1192
1233
support uploading via programmer.
1193
1234
1194
- ### Overriding the default monitor port settings
1195
-
1196
- Each pluggable monitor has its own default settings that can be overridden using the following board properties:
1197
-
1198
- ```
1199
- BOARD_ID.monitor_port.PROTOCOL.SETTING_NAME=SETTING_VALUE
1200
- ```
1201
-
1202
- where:
1203
-
1204
- - ` BOARD_ID ` is the board identifier
1205
- - ` PROTOCOL ` is the port protocol
1206
- - ` SETTING_NAME ` and ` SETTING_VALUE ` are the port setting and the desired value
1207
-
1208
- For example, let's suppose that a board needs the ` baudrate ` setting of the ` serial ` port to be ` 9600 ` , then the
1209
- corresponding properties in the ` boards.txt ` file will be:
1210
-
1211
- ```
1212
- myboard.monitor_port.serial.baudrate=9600
1213
- ```
1214
-
1215
- The setting name and value can be anything available in the
1216
- [ pluggable monitor settings] ( pluggable-monitor-specification.md#describe-command ) .
1217
-
1218
- #### Legacy ` serial.disableRTS ` and ` serial.disableDTR ` properties
1219
-
1220
- In the old Arduino IDE (<=1.8.x) we used the properties:
1221
-
1222
- ```
1223
- BOARD_ID.serial.disableRTS=true
1224
- BOARD_ID.serial.disableDTR=true
1225
- ```
1226
-
1227
- to disable RTS and DTR when opening the serial monitor. The keep backward compatibilty the properties above are
1228
- automatically converted to the corresponding pluggable monitor properties:
1229
-
1230
- ```
1231
- BOARD_ID.monitor_port.serial.rts=off
1232
- BOARD_ID.monitor_port.serial.dtr=off
1233
- ```
1234
-
1235
1235
### Serial port
1236
1236
1237
1237
The full path (e.g., ` /dev/ttyACM0 ` ) of the port selected via the IDE or
0 commit comments