Clean up pins self-checks

This commit is contained in:
Scott Lahteine
2019-07-14 15:34:01 -05:00
parent 77b4f23edc
commit fdaa374490
19 changed files with 25 additions and 63 deletions

View File

@ -27,9 +27,7 @@
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if HOTENDS > 2 || E_STEPPERS > 2
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif

View File

@ -27,9 +27,7 @@
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if HOTENDS > 5 || E_STEPPERS > 5
#elif HOTENDS > 5 || E_STEPPERS > 5
#error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
#endif

View File

@ -27,9 +27,7 @@
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if HOTENDS > 3 || E_STEPPERS > 3
#elif HOTENDS > 3 || E_STEPPERS > 3
#error "Formbot supports up to 3 hotends / E-steppers. Comment out this line to continue."
#endif

View File

@ -27,9 +27,7 @@
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if HOTENDS > 2 || E_STEPPERS > 2
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif

View File

@ -27,9 +27,7 @@
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if HOTENDS > 2 || E_STEPPERS > 2
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif

View File

@ -27,9 +27,7 @@
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if HOTENDS > 3 || E_STEPPERS > 3
#elif HOTENDS > 3 || E_STEPPERS > 3
#error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue."
#endif

View File

@ -27,9 +27,7 @@
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#if HOTENDS > 2 || E_STEPPERS > 2
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "TRONXY-V3-1.0 supports only 2 hotends/E-steppers. Comment out this line to continue."
#endif

View File

@ -25,12 +25,10 @@
* Z-Bolt X Series board based on Arduino Mega2560
*/
#if HOTENDS > 4 || E_STEPPERS > 4
#error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
#endif
#if !defined(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#elif HOTENDS > 4 || E_STEPPERS > 4
#error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
#endif
#define BOARD_NAME "Z-Bolt X Series"