Include pins.h in dependencies script (#19468)
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
* AZTEEG_X3 Arduino Mega with RAMPS v1.4 pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
|
@ -25,7 +25,7 @@
|
||||
* AZTEEG_X3_PRO (Arduino Mega) pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 5 || E_STEPPERS > 5
|
||||
#error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
|
||||
|
@ -25,7 +25,7 @@
|
||||
* bq ZUM Mega 3D board definition
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Wanhao Duplicator i3 Plus pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Formbot Raptor pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 3 || E_STEPPERS > 3
|
||||
#error "Formbot supports up to 3 hotends / E-steppers. Comment out this line to continue."
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Formbot pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Formbot pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
|
@ -25,7 +25,7 @@
|
||||
// FYSETC F6 1.3 (and 1.4) pin assignments
|
||||
//
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'FYSETC F6' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Velleman K8800 (Vertex)
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -51,12 +51,13 @@
|
||||
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
|
||||
#endif
|
||||
|
||||
#if NONE(IS_RAMPS_SMART, IS_RAMPS_DUO, IS_RAMPS4DUE, TARGET_LPC1768)
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
#if NOT_TARGET(IS_RAMPS_SMART, IS_RAMPS_DUO, IS_RAMPS4DUE, TARGET_LPC1768, __AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
// Custom flags and defines for the build
|
||||
//#define BOARD_CUSTOM_BUILD_FLAGS -D__FOO__
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "RAMPS 1.4"
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Arduino Mega with RAMPS v1.0, v1.1, v1.2 pin assignments
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* RUMBA pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 3 || E_STEPPERS > 3
|
||||
#error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue."
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Tenlog pin assignments
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "Tenlog supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Arduino Mega for Tronxy X5S-2E, etc.
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "TRONXY-V3-1.0 supports only 2 hotends/E-steppers. Comment out this line to continue."
|
||||
|
@ -20,7 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
* case light
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
* case light
|
||||
*/
|
||||
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
||||
//#define BOARD_REV_1_0
|
||||
//#define BOARD_REV_1_5
|
||||
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* Z-Bolt X Series board – based on Arduino Mega2560
|
||||
*/
|
||||
|
||||
#ifndef __AVR_ATmega2560__
|
||||
#if NOT_TARGET(__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."
|
||||
|
Reference in New Issue
Block a user