|
@@ -105,11 +105,26 @@
|
105
|
105
|
#define SERIAL_PORT 0
|
106
|
106
|
|
107
|
107
|
/**
|
|
108
|
+ * Serial Port Baud Rate
|
|
109
|
+ * This is the default communication speed for all serial ports.
|
|
110
|
+ * Set the baud rate defaults for additional serial ports below.
|
|
111
|
+ *
|
|
112
|
+ * 250000 works in most cases, but you might try a lower speed if
|
|
113
|
+ * you commonly experience drop-outs during host printing.
|
|
114
|
+ * You may try up to 1000000 to speed up SD file transfer.
|
|
115
|
+ *
|
|
116
|
+ * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
|
117
|
+ */
|
|
118
|
+#define BAUDRATE 250000
|
|
119
|
+//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
|
|
120
|
+
|
|
121
|
+/**
|
108
|
122
|
* Select a secondary serial port on the board to use for communication with the host.
|
109
|
123
|
* Currently Ethernet (-2) is only supported on Teensy 4.1 boards.
|
110
|
124
|
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
|
111
|
125
|
*/
|
112
|
126
|
//#define SERIAL_PORT_2 -1
|
|
127
|
+//#define BAUDRATE_2 250000 // Enable to override BAUDRATE
|
113
|
128
|
|
114
|
129
|
/**
|
115
|
130
|
* Select a third serial port on the board to use for communication with the host.
|
|
@@ -117,17 +132,7 @@
|
117
|
132
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
118
|
133
|
*/
|
119
|
134
|
//#define SERIAL_PORT_3 1
|
120
|
|
-
|
121
|
|
-/**
|
122
|
|
- * This setting determines the communication speed of the printer.
|
123
|
|
- *
|
124
|
|
- * 250000 works in most cases, but you might try a lower speed if
|
125
|
|
- * you commonly experience drop-outs during host printing.
|
126
|
|
- * You may try up to 1000000 to speed up SD file transfer.
|
127
|
|
- *
|
128
|
|
- * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
129
|
|
- */
|
130
|
|
-#define BAUDRATE 250000
|
|
135
|
+//#define BAUDRATE_3 250000 // Enable to override BAUDRATE
|
131
|
136
|
|
132
|
137
|
// Enable the Bluetooth serial interface on AT90USB devices
|
133
|
138
|
//#define BLUETOOTH
|