Disable SERIAL_PORT_2 by default and sanity-check it (#10748)

This commit is contained in:
Scott Lahteine 2018-05-14 21:38:24 -05:00 committed by GitHub
parent 3f6073e23a
commit b7dfc79988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
69 changed files with 72 additions and 68 deletions

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -122,7 +122,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -123,7 +123,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -119,7 +119,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -134,7 +134,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 0
//#define SERIAL_PORT_2 0
/**
* This setting determines the communication speed of the printer.

View File

@ -119,7 +119,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -145,7 +145,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
//#define SERIAL_PORT_2 -1
////#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 5
//#define SERIAL_PORT_2 5
/**
* This setting determines the communication speed of the printer.

View File

@ -130,7 +130,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -130,7 +130,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -119,7 +119,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -118,7 +118,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -114,7 +114,7 @@
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1
//#define SERIAL_PORT_2 -1
/**
* This setting determines the communication speed of the printer.

View File

@ -323,6 +323,10 @@
#error "Set SERIAL_PORT to the port on your board. Usually this is 0."
#endif
#if SERIAL_PORT_2 && NUM_SERIAL < 2
#error "SERIAL_PORT_2 is not supported for your MOTHERBOARD. Disable it to continue."
#endif
/**
* Dual Stepper Drivers
*/