Disable SERIAL_PORT_2 by default and sanity-check it ()

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
Marlin
Configuration.h
src
config
default
examples
AlephObjects/TAZ4
AliExpress/CL-260
Anet
Azteeg/X5GT
BIBO/TouchX
BQ
Cartesio
Creality
Felix
FolgerTech/i3-2020
Geeetech
GT2560
I3_Pro_X-GT2560
Prusa i3 Pro B
Prusa i3 Pro C
Prusa i3 Pro W
Infitary/i3-M508
JGAurora/A5
MakerParts
Malyan
Micromake/C1
Mks/Sbase
RepRapPro/Huxley
RepRapWorld/Megatronics
RigidBot
SCARA
STM32F10
STM32F4
Sanguinololu
TheBorg
TinyBoy2
Tronxy
UltiMachine/Archim2
Velleman
Wanhao/Duplicator 6
adafruit/ST7565
delta
FLSUN
auto_calibrate
kossel
kossel_mini
Hatchbox_Alpha
generic
kossel_mini
kossel_pro
kossel_xl
gCreate/gMax1.5+
makibox
stm32f103ret6
tvrrug/Round2
wt150
inc

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
*/