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
Signed by: GitHub
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
*/