Browse Source

Include pins.h in dependencies script (#19468)

vanilla_fb_2.0.x
Victor Oliveira 4 years ago
committed by Scott Lahteine
parent
commit
873b5db13d
  1. 2
      Marlin/src/pins/esp32/pins_E4D.h
  2. 2
      Marlin/src/pins/esp32/pins_ESP32.h
  3. 2
      Marlin/src/pins/esp32/pins_MRR_ESPA.h
  4. 2
      Marlin/src/pins/esp32/pins_MRR_ESPE.h
  5. 2
      Marlin/src/pins/lpc1768/pins_AZSMZ_MINI.h
  6. 2
      Marlin/src/pins/lpc1768/pins_BIQU_B300_V1.0.h
  7. 2
      Marlin/src/pins/lpc1768/pins_BIQU_BQ111_A4.h
  8. 4
      Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
  9. 4
      Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h
  10. 2
      Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h
  11. 4
      Marlin/src/pins/lpc1768/pins_MKS_SBASE.h
  12. 2
      Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h
  13. 2
      Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
  14. 2
      Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h
  15. 2
      Marlin/src/pins/lpc1769/pins_AZTEEG_X5_GT.h
  16. 2
      Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h
  17. 2
      Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI_WIFI.h
  18. 2
      Marlin/src/pins/lpc1769/pins_COHESION3D_MINI.h
  19. 2
      Marlin/src/pins/lpc1769/pins_COHESION3D_REMIX.h
  20. 2
      Marlin/src/pins/lpc1769/pins_MKS_SGEN.h
  21. 2
      Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h
  22. 2
      Marlin/src/pins/lpc1769/pins_SMOOTHIEBOARD.h
  23. 2
      Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h
  24. 2
      Marlin/src/pins/mega/pins_CHEAPTRONIC.h
  25. 2
      Marlin/src/pins/mega/pins_CHEAPTRONICv2.h
  26. 2
      Marlin/src/pins/mega/pins_CNCONTROLS_11.h
  27. 2
      Marlin/src/pins/mega/pins_CNCONTROLS_12.h
  28. 2
      Marlin/src/pins/mega/pins_CNCONTROLS_15.h
  29. 2
      Marlin/src/pins/mega/pins_EINSTART-S.h
  30. 2
      Marlin/src/pins/mega/pins_ELEFU_3.h
  31. 2
      Marlin/src/pins/mega/pins_GT2560_REV_A.h
  32. 2
      Marlin/src/pins/mega/pins_GT2560_V3.h
  33. 2
      Marlin/src/pins/mega/pins_HJC2560C_REV2.h
  34. 2
      Marlin/src/pins/mega/pins_INTAMSYS40.h
  35. 2
      Marlin/src/pins/mega/pins_LEAPFROG.h
  36. 2
      Marlin/src/pins/mega/pins_LEAPFROG_XEED2015.h
  37. 2
      Marlin/src/pins/mega/pins_MEGACONTROLLER.h
  38. 2
      Marlin/src/pins/mega/pins_MEGATRONICS.h
  39. 2
      Marlin/src/pins/mega/pins_MEGATRONICS_2.h
  40. 2
      Marlin/src/pins/mega/pins_MEGATRONICS_3.h
  41. 2
      Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h
  42. 2
      Marlin/src/pins/mega/pins_MINITRONICS.h
  43. 2
      Marlin/src/pins/mega/pins_OVERLORD.h
  44. 2
      Marlin/src/pins/mega/pins_PICA.h
  45. 2
      Marlin/src/pins/mega/pins_SILVER_GATE.h
  46. 2
      Marlin/src/pins/mega/pins_WANHAO_ONEPLUS.h
  47. 7
      Marlin/src/pins/pins.h
  48. 2
      Marlin/src/pins/rambo/pins_EINSY_RAMBO.h
  49. 2
      Marlin/src/pins/rambo/pins_EINSY_RETRO.h
  50. 2
      Marlin/src/pins/rambo/pins_MINIRAMBO.h
  51. 2
      Marlin/src/pins/rambo/pins_RAMBO.h
  52. 2
      Marlin/src/pins/rambo/pins_SCOOVO_X9H.h
  53. 2
      Marlin/src/pins/ramps/pins_AZTEEG_X3.h
  54. 2
      Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h
  55. 2
      Marlin/src/pins/ramps/pins_BQ_ZUM_MEGA_3D.h
  56. 2
      Marlin/src/pins/ramps/pins_DUPLICATOR_I3_PLUS.h
  57. 2
      Marlin/src/pins/ramps/pins_FORMBOT_RAPTOR.h
  58. 2
      Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h
  59. 2
      Marlin/src/pins/ramps/pins_FORMBOT_TREX3.h
  60. 2
      Marlin/src/pins/ramps/pins_FYSETC_F6_13.h
  61. 2
      Marlin/src/pins/ramps/pins_K8800.h
  62. 9
      Marlin/src/pins/ramps/pins_RAMPS.h
  63. 2
      Marlin/src/pins/ramps/pins_RAMPS_OLD.h
  64. 2
      Marlin/src/pins/ramps/pins_RAMPS_PLUS.h
  65. 2
      Marlin/src/pins/ramps/pins_RUMBA.h
  66. 2
      Marlin/src/pins/ramps/pins_TENLOG_D3_HERO.h
  67. 2
      Marlin/src/pins/ramps/pins_TRONXY_V3_1_0.h
  68. 2
      Marlin/src/pins/ramps/pins_TT_OSCAR.h
  69. 2
      Marlin/src/pins/ramps/pins_ULTIMAIN_2.h
  70. 2
      Marlin/src/pins/ramps/pins_ULTIMAKER.h
  71. 2
      Marlin/src/pins/ramps/pins_ULTIMAKER_OLD.h
  72. 2
      Marlin/src/pins/ramps/pins_Z_BOLT_X_SERIES.h
  73. 2
      Marlin/src/pins/sam/pins_ADSK.h
  74. 2
      Marlin/src/pins/sam/pins_ALLIGATOR_R2.h
  75. 2
      Marlin/src/pins/sam/pins_ARCHIM1.h
  76. 2
      Marlin/src/pins/sam/pins_ARCHIM2.h
  77. 2
      Marlin/src/pins/sam/pins_CNCONTROLS_15D.h
  78. 2
      Marlin/src/pins/sam/pins_DUE3DOM.h
  79. 2
      Marlin/src/pins/sam/pins_DUE3DOM_MINI.h
  80. 2
      Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h
  81. 2
      Marlin/src/pins/sam/pins_RADDS.h
  82. 2
      Marlin/src/pins/sam/pins_RAMPS4DUE.h
  83. 2
      Marlin/src/pins/sam/pins_RAMPS_DUO.h
  84. 2
      Marlin/src/pins/sam/pins_RAMPS_FD_V1.h
  85. 2
      Marlin/src/pins/sam/pins_RAMPS_SMART.h
  86. 2
      Marlin/src/pins/sam/pins_RURAMPS4D_11.h
  87. 2
      Marlin/src/pins/sam/pins_RURAMPS4D_13.h
  88. 2
      Marlin/src/pins/sam/pins_ULTRATRONICS_PRO.h
  89. 2
      Marlin/src/pins/samd/pins_RAMPS_144.h
  90. 2
      Marlin/src/pins/sanguino/pins_ANET_10.h
  91. 2
      Marlin/src/pins/sanguino/pins_GEN3_MONOLITHIC.h
  92. 2
      Marlin/src/pins/sanguino/pins_GEN3_PLUS.h
  93. 2
      Marlin/src/pins/sanguino/pins_GEN6.h
  94. 2
      Marlin/src/pins/sanguino/pins_GEN7_12.h
  95. 2
      Marlin/src/pins/sanguino/pins_GEN7_14.h
  96. 2
      Marlin/src/pins/sanguino/pins_GEN7_CUSTOM.h
  97. 2
      Marlin/src/pins/sanguino/pins_OMCA.h
  98. 2
      Marlin/src/pins/sanguino/pins_OMCA_A.h
  99. 2
      Marlin/src/pins/sanguino/pins_SANGUINOLOLU_11.h
  100. 2
      Marlin/src/pins/sanguino/pins_SETHI.h

2
Marlin/src/pins/esp32/pins_E4D.h

@ -27,7 +27,7 @@
* for more info check https://atbox.tech/ and join to Facebook page E4d@box.
*/
#ifndef ARDUINO_ARCH_ESP32
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
#elif EXTRUDERS > 1 || E_STEPPERS > 1
#error "E4d@box only supports one E Stepper. Comment out this line to continue."

2
Marlin/src/pins/esp32/pins_ESP32.h

@ -25,7 +25,7 @@
* Espressif ESP32 (Tensilica Xtensa LX6) pin assignments
*/
#ifndef ARDUINO_ARCH_ESP32
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
"Oops! Select an ESP32 board in 'Tools > Board.'"
#endif

2
Marlin/src/pins/esp32/pins_MRR_ESPA.h

@ -27,7 +27,7 @@
* Supports 4 stepper drivers, heated bed, single hotend.
*/
#ifndef ARDUINO_ARCH_ESP32
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
#elif EXTRUDERS > 1 || E_STEPPERS > 1
#error "MRR ESPA only supports one E Stepper. Comment out this line to continue."

2
Marlin/src/pins/esp32/pins_MRR_ESPE.h

@ -28,7 +28,7 @@
* single hotend, and LCD controller.
*/
#ifndef ARDUINO_ARCH_ESP32
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
#elif EXTRUDERS > 2 || E_STEPPERS > 2
#error "MRR ESPE only supports two E Steppers. Comment out this line to continue."

2
Marlin/src/pins/lpc1768/pins_AZSMZ_MINI.h

@ -25,7 +25,7 @@
* AZSMZ MINI pin assignments
*/
#ifndef MCU_LPC1768
#if NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1768/pins_BIQU_B300_V1.0.h

@ -30,7 +30,7 @@
*
*/
#ifndef MCU_LPC1768
#if NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1768/pins_BIQU_BQ111_A4.h

@ -30,7 +30,7 @@
*
*/
#ifndef MCU_LPC1768
#if NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

4
Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

@ -25,6 +25,10 @@
#define BOARD_INFO_NAME "BTT SKR V1.4"
#endif
#ifndef BOARD_CUSTOM_BUILD_FLAGS
#define BOARD_CUSTOM_BUILD_FLAGS -DLPC_PINCFG_UART3_P4_28
#endif
//
// SD Connection
//

4
Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h

@ -22,10 +22,10 @@
#pragma once
#ifdef SKR_HAS_LPC1769
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif
#elif !defined(MCU_LPC1768)
#elif NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h

@ -21,7 +21,7 @@
*/
#pragma once
#ifndef MCU_LPC1768
#if NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

4
Marlin/src/pins/lpc1768/pins_MKS_SBASE.h

@ -25,9 +25,9 @@
* MKS SBASE pin assignments
*/
#if defined(MKS_HAS_LPC1769) && !defined(MCU_LPC1769)
#if defined(MKS_HAS_LPC1769) && NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#elif !defined(MKS_HAS_LPC1769) && !defined(MCU_LPC1768)
#elif NOT_TARGET(MKS_HAS_LPC1769, MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h

@ -25,7 +25,7 @@
* MKS SGEN-L pin assignments
*/
#ifndef MCU_LPC1768
#if NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h

@ -36,7 +36,7 @@
// Numbers in parentheses () are the corresponding mega2560 pin numbers
#ifndef MCU_LPC1768
#if NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h

@ -25,7 +25,7 @@
* Selena Compact pin assignments
*/
#ifndef MCU_LPC1768
#if NOT_TARGET(MCU_LPC1768)
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_AZTEEG_X5_GT.h

@ -25,7 +25,7 @@
* Azteeg X5 GT pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h

@ -25,7 +25,7 @@
* Azteeg X5 MINI pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI_WIFI.h

@ -25,7 +25,7 @@
* Azteeg X5 MINI pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_COHESION3D_MINI.h

@ -25,7 +25,7 @@
* Cohesion3D Mini pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_COHESION3D_REMIX.h

@ -25,7 +25,7 @@
* Cohesion3D ReMix pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_MKS_SGEN.h

@ -29,7 +29,7 @@
*
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h

@ -25,7 +25,7 @@
* MKS SGen pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_SMOOTHIEBOARD.h

@ -25,7 +25,7 @@
* Smoothieboard pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h

@ -25,7 +25,7 @@
* TH3D EZBoard pin assignments
*/
#ifndef MCU_LPC1769
#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif

2
Marlin/src/pins/mega/pins_CHEAPTRONIC.h

@ -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

2
Marlin/src/pins/mega/pins_CHEAPTRONICv2.h

@ -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

2
Marlin/src/pins/mega/pins_CNCONTROLS_11.h

@ -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

2
Marlin/src/pins/mega/pins_CNCONTROLS_12.h

@ -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

2
Marlin/src/pins/mega/pins_CNCONTROLS_15.h

@ -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

2
Marlin/src/pins/mega/pins_EINSTART-S.h

@ -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

2
Marlin/src/pins/mega/pins_ELEFU_3.h

@ -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

2
Marlin/src/pins/mega/pins_GT2560_REV_A.h

@ -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

2
Marlin/src/pins/mega/pins_GT2560_V3.h

@ -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

2
Marlin/src/pins/mega/pins_HJC2560C_REV2.h

@ -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

2
Marlin/src/pins/mega/pins_INTAMSYS40.h

@ -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

2
Marlin/src/pins/mega/pins_LEAPFROG.h

@ -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

2
Marlin/src/pins/mega/pins_LEAPFROG_XEED2015.h

@ -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

2
Marlin/src/pins/mega/pins_MEGACONTROLLER.h

@ -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."

2
Marlin/src/pins/mega/pins_MEGATRONICS.h

@ -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

2
Marlin/src/pins/mega/pins_MEGATRONICS_2.h

@ -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

2
Marlin/src/pins/mega/pins_MEGATRONICS_3.h

@ -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

2
Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h

@ -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

2
Marlin/src/pins/mega/pins_MINITRONICS.h

@ -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."

2
Marlin/src/pins/mega/pins_OVERLORD.h

@ -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."

2
Marlin/src/pins/mega/pins_PICA.h

@ -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

2
Marlin/src/pins/mega/pins_SILVER_GATE.h

@ -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

2
Marlin/src/pins/mega/pins_WANHAO_ONEPLUS.h

@ -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

7
Marlin/src/pins/pins.h

@ -51,6 +51,13 @@
#define HAS_FREE_AUX2_PINS !(BOTH(ULTRA_LCD, NEWPANEL) && ANY(PANEL_ONE, VIKI2, miniVIKI, MINIPANEL, REPRAPWORLD_KEYPAD))
// Test the target within the included pins file
#ifdef __MARLIN_PREBUILD__
#define NOT_TARGET(V...) 0
#else
#define NOT_TARGET(V...) NONE(V)
#endif
//
// RAMPS 1.3 / 1.4 - ATmega1280, ATmega2560
//

2
Marlin/src/pins/rambo/pins_EINSY_RAMBO.h

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

2
Marlin/src/pins/rambo/pins_EINSY_RETRO.h

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

2
Marlin/src/pins/rambo/pins_MINIRAMBO.h

@ -25,7 +25,7 @@
* Mini-RAMBo pin assignments
*/
#ifndef __AVR_ATmega2560__
#if NOT_TARGET(__AVR_ATmega2560__)
#error "Oops! Select 'RAMBo' in 'Tools > Board' or the Mega2560 environment in PlatformIO."
#endif

2
Marlin/src/pins/rambo/pins_RAMBO.h

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

2
Marlin/src/pins/rambo/pins_SCOOVO_X9H.h

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

2
Marlin/src/pins/ramps/pins_AZTEEG_X3.h

@ -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."

2
Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h

@ -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."

2
Marlin/src/pins/ramps/pins_BQ_ZUM_MEGA_3D.h

@ -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

2
Marlin/src/pins/ramps/pins_DUPLICATOR_I3_PLUS.h

@ -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

2
Marlin/src/pins/ramps/pins_FORMBOT_RAPTOR.h

@ -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."

2
Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h

@ -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."

2
Marlin/src/pins/ramps/pins_FORMBOT_TREX3.h

@ -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."

2
Marlin/src/pins/ramps/pins_FYSETC_F6_13.h

@ -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

2
Marlin/src/pins/ramps/pins_K8800.h

@ -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

9
Marlin/src/pins/ramps/pins_RAMPS.h

@ -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

2
Marlin/src/pins/ramps/pins_RAMPS_OLD.h

@ -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

2
Marlin/src/pins/ramps/pins_RAMPS_PLUS.h

@ -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

2
Marlin/src/pins/ramps/pins_RUMBA.h

@ -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."

2
Marlin/src/pins/ramps/pins_TENLOG_D3_HERO.h

@ -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."

2
Marlin/src/pins/ramps/pins_TRONXY_V3_1_0.h

@ -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."

2
Marlin/src/pins/ramps/pins_TT_OSCAR.h

@ -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

2
Marlin/src/pins/ramps/pins_ULTIMAIN_2.h

@ -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

2
Marlin/src/pins/ramps/pins_ULTIMAKER.h

@ -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

2
Marlin/src/pins/ramps/pins_ULTIMAKER_OLD.h

@ -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

2
Marlin/src/pins/ramps/pins_Z_BOLT_X_SERIES.h

@ -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."

2
Marlin/src/pins/sam/pins_ADSK.h

@ -27,7 +27,7 @@
#define BOARD_INFO_NAME "ADSK"
#if !defined(__SAM3X8E__) && !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#if NOT_TARGET(__SAM3X8E__, __AVR_ATmega1280__, __AVR_ATmega2560__)
#error "Oops! Select 'Arduino Due or Mega' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_ALLIGATOR_R2.h

@ -26,7 +26,7 @@
* https://reprap.org/wiki/Alligator_Board
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_ARCHIM1.h

@ -37,7 +37,7 @@
* https://github.com/ultimachine/Archim/wiki
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Archim' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_ARCHIM2.h

@ -37,7 +37,7 @@
* https://github.com/ultimachine/Archim/wiki
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Archim' in 'Tools > Board.'"
#elif DISABLED(TMC_USE_SW_SPI)
#error "Archim2 requires Software SPI. Enable TMC_USE_SW_SPI in Configuration_adv.h."

2
Marlin/src/pins/sam/pins_CNCONTROLS_15D.h

@ -24,7 +24,7 @@
* CNControls V15 for HMS434 with DUE pin assignments
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_DUE3DOM.h

@ -25,7 +25,7 @@
* DUE3DOM pin assignments
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_DUE3DOM_MINI.h

@ -25,7 +25,7 @@
* DUE3DOM MINI pin assignments
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h

@ -25,7 +25,7 @@
* PRINTRBOARD_G2
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_RADDS.h

@ -25,7 +25,7 @@
* RADDS
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_RAMPS4DUE.h

@ -39,7 +39,7 @@
* A15 | NC
*/
#if !defined(__SAM3X8E__) && !defined(__AVR_ATmega2560__)
#if NOT_TARGET(__SAM3X8E__, __AVR_ATmega2560__)
#error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_RAMPS_DUO.h

@ -43,7 +43,7 @@
* A15 | A11
*/
#if !defined(__SAM3X8E__) && !defined(__AVR_ATmega2560__)
#if NOT_TARGET(__SAM3X8E__, __AVR_ATmega2560__)
#error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_RAMPS_FD_V1.h

@ -28,7 +28,7 @@
* Use 4k7 thermistor tables
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_RAMPS_SMART.h

@ -60,7 +60,7 @@
* (Search the web for "Arduino DUE Board Pinout" to see the correct header.)
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_RURAMPS4D_11.h

@ -32,7 +32,7 @@
* |
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_RURAMPS4D_13.h

@ -32,7 +32,7 @@
* |
*/
#ifndef __SAM3X8E__
#if NOT_TARGET(__SAM3X8E__)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sam/pins_ULTRATRONICS_PRO.h

@ -26,7 +26,7 @@
* https://reprapworld.com/documentation/datasheet_ultratronics10_05.pdf
*/
#ifndef ARDUINO_ARCH_SAM
#if NOT_TARGET(ARDUINO_ARCH_SAM)
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/samd/pins_RAMPS_144.h

@ -25,7 +25,7 @@
* AGCM4 with RAMPS v1.4.4 pin assignments
*/
#ifndef ARDUINO_GRAND_CENTRAL_M4
#if NOT_TARGET(ARDUINO_GRAND_CENTRAL_M4)
#error "Oops! Select 'Adafruit Grand Central M4' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sanguino/pins_ANET_10.h

@ -89,7 +89,7 @@
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
*/
#ifndef __AVR_ATmega1284P__
#if NOT_TARGET(__AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.' (For PlatformIO, use 'melzi' or 'melzi_optiboot.')"
#endif

2
Marlin/src/pins/sanguino/pins_GEN3_MONOLITHIC.h

@ -50,7 +50,7 @@
*
*/
#ifndef __AVR_ATmega644P__
#if NOT_TARGET(__AVR_ATmega644P__)
#error "Oops! Select 'Sanguino' in 'Tools > Board.'"
#endif

2
Marlin/src/pins/sanguino/pins_GEN3_PLUS.h

@ -50,7 +50,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_GEN6.h

@ -52,7 +52,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_GEN7_12.h

@ -52,7 +52,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_GEN7_14.h

@ -52,7 +52,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_GEN7_CUSTOM.h

@ -55,7 +55,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_OMCA.h

@ -77,7 +77,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__)
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega644' or 'ATmega644P' in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_OMCA_A.h

@ -76,7 +76,7 @@
*
*/
#ifndef __AVR_ATmega644__
#if NOT_TARGET(__AVR_ATmega644__)
#error "Oops! Select 'Sanguino' in 'Tools > Board' and ATmega644 in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_SANGUINOLOLU_11.h

@ -52,7 +52,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
#endif

2
Marlin/src/pins/sanguino/pins_SETHI.h

@ -50,7 +50,7 @@
*
*/
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega644__, __AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
#endif

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save