|
|
@ -105,21 +105,9 @@
|
|
|
|
#define SERIAL_PORT 0
|
|
|
|
#define SERIAL_PORT 0
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Select a secondary serial port on the board to use for communication with the host.
|
|
|
|
* Serial Port Baud Rate
|
|
|
|
* Currently Ethernet (-2) is only supported on Teensy 4.1 boards.
|
|
|
|
* This is the default communication speed for all serial ports.
|
|
|
|
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
|
|
|
|
* Set the baud rate defaults for additional serial ports below.
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#define SERIAL_PORT_2 -1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Select a third serial port on the board to use for communication with the host.
|
|
|
|
|
|
|
|
* Currently only supported for AVR, DUE, LPC1768/9 and STM32/STM32F1
|
|
|
|
|
|
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#define SERIAL_PORT_3 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* This setting determines the communication speed of the printer.
|
|
|
|
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* 250000 works in most cases, but you might try a lower speed if
|
|
|
|
* 250000 works in most cases, but you might try a lower speed if
|
|
|
|
* you commonly experience drop-outs during host printing.
|
|
|
|
* you commonly experience drop-outs during host printing.
|
|
|
@ -128,6 +116,23 @@
|
|
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
|
|
|
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#define BAUDRATE 250000
|
|
|
|
#define BAUDRATE 250000
|
|
|
|
|
|
|
|
//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Select a secondary serial port on the board to use for communication with the host.
|
|
|
|
|
|
|
|
* Currently Ethernet (-2) is only supported on Teensy 4.1 boards.
|
|
|
|
|
|
|
|
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#define SERIAL_PORT_2 -1
|
|
|
|
|
|
|
|
//#define BAUDRATE_2 250000 // Enable to override BAUDRATE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Select a third serial port on the board to use for communication with the host.
|
|
|
|
|
|
|
|
* Currently only supported for AVR, DUE, LPC1768/9 and STM32/STM32F1
|
|
|
|
|
|
|
|
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#define SERIAL_PORT_3 1
|
|
|
|
|
|
|
|
//#define BAUDRATE_3 250000 // Enable to override BAUDRATE
|
|
|
|
|
|
|
|
|
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
|
// Enable the Bluetooth serial interface on AT90USB devices
|
|
|
|
//#define BLUETOOTH
|
|
|
|
//#define BLUETOOTH
|
|
|
|