Include pins.h in dependencies script (#19468)

This commit is contained in:
Victor Oliveira
2020-09-23 17:06:36 -03:00
committed by GitHub
parent 362145f608
commit 90bc1993b6
169 changed files with 213 additions and 181 deletions

View File

@ -25,7 +25,7 @@
* Cheaptronic v1.0 pin assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -27,7 +27,7 @@
* www.reprapobchod.cz
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -25,7 +25,7 @@
* CartesioV11 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

View File

@ -25,7 +25,7 @@
* CartesioV12 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

View File

@ -25,7 +25,7 @@
* CNControls V15 for HMS434 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

View File

@ -26,7 +26,7 @@
* PCB Silkscreen: 3DPrinterCon_v3.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

View File

@ -25,7 +25,7 @@
* Elefu RA Board Pin Assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -27,7 +27,7 @@
* Richard Smith <galorin@gmail.com>
*/
#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

View File

@ -25,7 +25,7 @@
* GT2560 RevB + GT2560 V3.0 + GT2560 V3.1 + GT2560 V4.0 pin assignment
*/
#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

View File

@ -25,7 +25,7 @@
* HJC2560-C Rev2.x pin assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -27,7 +27,7 @@
* 2208 version exists and may or may not work
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -25,7 +25,7 @@
* Leapfrog Driver board pin assignments
*/
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
#error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -29,7 +29,7 @@
* printer models. As such this file is currently specific to the Xeed.
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -25,7 +25,7 @@
* Mega controller 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 "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* MegaTronics pin assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -25,7 +25,7 @@
* MegaTronics v2.0 pin assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -25,7 +25,7 @@
* MegaTronics v3.0 / v3.1 / v3.2 pin assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -37,7 +37,7 @@
* number (B5) agrees with the schematic but B5 is assigned to logical pin 11.
*/
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
#error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
#endif

View File

@ -32,7 +32,7 @@
*
*/
#ifndef __AVR_ATmega1281__
#if NOT_TARGET(__AVR_ATmega1281__)
#error "Oops! Select 'Minitronics' in 'Tools > Board.'"
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."

View File

@ -25,7 +25,7 @@
* Dreammaker Overlord v1.1 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 "Overlord Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."

View File

@ -42,7 +42,7 @@
AD12 = 66; AD13 = 67; AD14 = 68; AD15 = 69;
*/
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#if NOT_TARGET(__AVR_ATmega1280__, __AVR_ATmega2560__)
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
#endif

View File

@ -21,7 +21,7 @@
*/
#pragma once
#if !defined(__AVR_ATmega1281__) && !defined(__AVR_ATmega2561__)
#if NOT_TARGET(__AVR_ATmega1281__, __AVR_ATmega2561__)
#error "Oops! Select 'Silvergate' in 'Tools > Board.'"
#endif

View File

@ -25,7 +25,7 @@
* Wanhao 0ne+ pin assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif