@@ -1191,6 +1191,47 @@ If the **upload.protocol** property is not defined for a board, the Arduino IDE'
1191
1191
behavior as [ "Upload Using Programmer"] ( #upload-using-an-external-programmer ) . This is convenient for boards which only
1192
1192
support uploading via programmer.
1193
1193
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
+
1194
1235
### Serial port
1195
1236
1196
1237
The full path (e.g., ` /dev/ttyACM0 ` ) of the port selected via the IDE or
0 commit comments