Include pins.h in dependencies script (#19468)
This commit is contained in:
parent
1978a29678
commit
873b5db13d
@ -27,7 +27,7 @@
|
|||||||
* for more info check https://atbox.tech/ and join to Facebook page E4d@box.
|
* 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.'"
|
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
|
||||||
#elif EXTRUDERS > 1 || E_STEPPERS > 1
|
#elif EXTRUDERS > 1 || E_STEPPERS > 1
|
||||||
#error "E4d@box only supports one E Stepper. Comment out this line to continue."
|
#error "E4d@box only supports one E Stepper. Comment out this line to continue."
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Espressif ESP32 (Tensilica Xtensa LX6) pin assignments
|
* 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.'"
|
"Oops! Select an ESP32 board in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Supports 4 stepper drivers, heated bed, single hotend.
|
* 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.'"
|
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
|
||||||
#elif EXTRUDERS > 1 || E_STEPPERS > 1
|
#elif EXTRUDERS > 1 || E_STEPPERS > 1
|
||||||
#error "MRR ESPA only supports one E Stepper. Comment out this line to continue."
|
#error "MRR ESPA only supports one E Stepper. Comment out this line to continue."
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
* single hotend, and LCD controller.
|
* single hotend, and LCD controller.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ARDUINO_ARCH_ESP32
|
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
|
||||||
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
|
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
|
||||||
#elif EXTRUDERS > 2 || E_STEPPERS > 2
|
#elif EXTRUDERS > 2 || E_STEPPERS > 2
|
||||||
#error "MRR ESPE only supports two E Steppers. Comment out this line to continue."
|
#error "MRR ESPE only supports two E Steppers. Comment out this line to continue."
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* AZSMZ MINI pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,6 +25,10 @@
|
|||||||
#define BOARD_INFO_NAME "BTT SKR V1.4"
|
#define BOARD_INFO_NAME "BTT SKR V1.4"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BOARD_CUSTOM_BUILD_FLAGS
|
||||||
|
#define BOARD_CUSTOM_BUILD_FLAGS -DLPC_PINCFG_UART3_P4_28
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// SD Connection
|
// SD Connection
|
||||||
//
|
//
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef SKR_HAS_LPC1769
|
#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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
#elif !defined(MCU_LPC1768)
|
#elif NOT_TARGET(MCU_LPC1768)
|
||||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifndef MCU_LPC1768
|
#if NOT_TARGET(MCU_LPC1768)
|
||||||
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
* MKS SBASE pin assignments
|
* 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."
|
#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."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* MKS SGEN-L pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
// Numbers in parentheses () are the corresponding mega2560 pin numbers
|
// 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."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Selena Compact pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Azteeg X5 GT pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Azteeg X5 MINI pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Azteeg X5 MINI pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Cohesion3D Mini pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Cohesion3D ReMix pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* MKS SGen pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Smoothieboard pin assignments
|
* Smoothieboard pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MCU_LPC1769
|
#if NOT_TARGET(MCU_LPC1769)
|
||||||
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* TH3D EZBoard pin assignments
|
* 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."
|
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Cheaptronic v1.0 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* www.reprapobchod.cz
|
* www.reprapobchod.cz
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* CartesioV11 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* CartesioV12 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* CNControls V15 for HMS434 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* PCB Silkscreen: 3DPrinterCon_v3.5
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Elefu RA Board Pin Assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Richard Smith <galorin@gmail.com>
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* GT2560 RevB + GT2560 V3.0 + GT2560 V3.1 + GT2560 V4.0 pin assignment
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* HJC2560-C Rev2.x pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* 2208 version exists and may or may not work
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Leapfrog Driver board pin assignments
|
* 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.'"
|
#error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* printer models. As such this file is currently specific to the Xeed.
|
* 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.'"
|
#error "Oops! Select 'Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Mega controller pin assignments
|
* Mega controller pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||||
#error "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
#error "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* MegaTronics pin assignments
|
* MegaTronics pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* MegaTronics v2.0 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* MegaTronics v3.0 / v3.1 / v3.2 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
* number (B5) agrees with the schematic but B5 is assigned to logical pin 11.
|
* 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.'"
|
#error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega1281__
|
#if NOT_TARGET(__AVR_ATmega1281__)
|
||||||
#error "Oops! Select 'Minitronics' in 'Tools > Board.'"
|
#error "Oops! Select 'Minitronics' in 'Tools > Board.'"
|
||||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||||
#error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
#error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Dreammaker Overlord v1.1 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||||
#error "Overlord Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
#error "Overlord Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
AD12 = 66; AD13 = 67; AD14 = 68; AD15 = 69;
|
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."
|
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if !defined(__AVR_ATmega1281__) && !defined(__AVR_ATmega2561__)
|
#if NOT_TARGET(__AVR_ATmega1281__, __AVR_ATmega2561__)
|
||||||
#error "Oops! Select 'Silvergate' in 'Tools > Board.'"
|
#error "Oops! Select 'Silvergate' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Wanhao 0ne+ pin assignments
|
* Wanhao 0ne+ pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -51,6 +51,13 @@
|
|||||||
|
|
||||||
#define HAS_FREE_AUX2_PINS !(BOTH(ULTRA_LCD, NEWPANEL) && ANY(PANEL_ONE, VIKI2, miniVIKI, MINIPANEL, REPRAPWORLD_KEYPAD))
|
#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
|
// RAMPS 1.3 / 1.4 - ATmega1280, ATmega2560
|
||||||
//
|
//
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Einsy-Rambo pin assignments
|
* Einsy-Rambo pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Einsy-Retro pin assignments
|
* Einsy-Retro pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Mini-RAMBo pin assignments
|
* 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."
|
#error "Oops! Select 'RAMBo' in 'Tools > Board' or the Mega2560 environment in PlatformIO."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
* Rambo pin assignments
|
* Rambo pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Rambo pin assignments MODIFIED FOR Scoovo X9H
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* AZTEEG_X3 Arduino Mega with RAMPS v1.4 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif 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."
|
#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
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif 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."
|
#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
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Wanhao Duplicator i3 Plus pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Formbot Raptor pin assignments
|
* Formbot Raptor pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif 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."
|
#error "Formbot supports up to 3 hotends / E-steppers. Comment out this line to continue."
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Formbot pin assignments
|
* Formbot pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif 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."
|
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Formbot pin assignments
|
* Formbot pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif 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."
|
#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
|
// 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.'"
|
#error "Oops! Select 'FYSETC F6' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Velleman K8800 (Vertex)
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -51,11 +51,12 @@
|
|||||||
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
|
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if NONE(IS_RAMPS_SMART, IS_RAMPS_DUO, IS_RAMPS4DUE, TARGET_LPC1768)
|
#if NOT_TARGET(IS_RAMPS_SMART, IS_RAMPS_DUO, IS_RAMPS4DUE, TARGET_LPC1768, __AVR_ATmega1280__, __AVR_ATmega2560__)
|
||||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
// Custom flags and defines for the build
|
||||||
|
//#define BOARD_CUSTOM_BUILD_FLAGS -D__FOO__
|
||||||
|
|
||||||
#ifndef BOARD_INFO_NAME
|
#ifndef BOARD_INFO_NAME
|
||||||
#define BOARD_INFO_NAME "RAMPS 1.4"
|
#define BOARD_INFO_NAME "RAMPS 1.4"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Arduino Mega with RAMPS v1.0, v1.1, v1.2 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* RUMBA pin assignments
|
* RUMBA pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif 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."
|
#error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue."
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Tenlog pin assignments
|
* Tenlog pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif HOTENDS > 2 || E_STEPPERS > 2
|
#elif HOTENDS > 2 || E_STEPPERS > 2
|
||||||
#error "Tenlog supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
#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.
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif 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."
|
#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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
* case light
|
* case light
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega2560__
|
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||||
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
* case light
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
//#define BOARD_REV_1_0
|
//#define BOARD_REV_1_0
|
||||||
//#define BOARD_REV_1_5
|
//#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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* Z-Bolt X Series board – based on Arduino Mega2560
|
* 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.'"
|
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#elif HOTENDS > 4 || E_STEPPERS > 4
|
#elif HOTENDS > 4 || E_STEPPERS > 4
|
||||||
#error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
|
#error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#define BOARD_INFO_NAME "ADSK"
|
#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.'"
|
#error "Oops! Select 'Arduino Due or Mega' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* https://reprap.org/wiki/Alligator_Board
|
* https://reprap.org/wiki/Alligator_Board
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
* https://github.com/ultimachine/Archim/wiki
|
* https://github.com/ultimachine/Archim/wiki
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Archim' in 'Tools > Board.'"
|
#error "Oops! Select 'Archim' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
* https://github.com/ultimachine/Archim/wiki
|
* https://github.com/ultimachine/Archim/wiki
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Archim' in 'Tools > Board.'"
|
#error "Oops! Select 'Archim' in 'Tools > Board.'"
|
||||||
#elif DISABLED(TMC_USE_SW_SPI)
|
#elif DISABLED(TMC_USE_SW_SPI)
|
||||||
#error "Archim2 requires Software SPI. Enable TMC_USE_SW_SPI in Configuration_adv.h."
|
#error "Archim2 requires Software SPI. Enable TMC_USE_SW_SPI in Configuration_adv.h."
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
* CNControls V15 for HMS434 with DUE pin assignments
|
* CNControls V15 for HMS434 with DUE pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* DUE3DOM pin assignments
|
* DUE3DOM pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* DUE3DOM MINI pin assignments
|
* DUE3DOM MINI pin assignments
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* PRINTRBOARD_G2
|
* PRINTRBOARD_G2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* RADDS
|
* RADDS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
* A15 | NC
|
* 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.'"
|
#error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
* A15 | A11
|
* 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.'"
|
#error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
* Use 4k7 thermistor tables
|
* Use 4k7 thermistor tables
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
* (Search the web for "Arduino DUE Board Pinout" to see the correct header.)
|
* (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.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
* |
|
* |
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
* |
|
* |
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __SAM3X8E__
|
#if NOT_TARGET(__SAM3X8E__)
|
||||||
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
* https://reprapworld.com/documentation/datasheet_ultratronics10_05.pdf
|
* 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.'"
|
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
* AGCM4 with RAMPS v1.4.4 pin assignments
|
* 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.'"
|
#error "Oops! Select 'Adafruit Grand Central M4' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
* Many thanks to Hans Raaf (@oderwat) for developing the Anet-specific software and supporting the Anet community.
|
* 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.')"
|
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.' (For PlatformIO, use 'melzi' or 'melzi_optiboot.')"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega644P__
|
#if NOT_TARGET(__AVR_ATmega644P__)
|
||||||
#error "Oops! Select 'Sanguino' in 'Tools > Board.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Board.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega644' or 'ATmega644P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __AVR_ATmega644__
|
#if NOT_TARGET(__AVR_ATmega644__)
|
||||||
#error "Oops! Select 'Sanguino' in 'Tools > Board' and ATmega644 in 'Tools > Processor.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Board' and ATmega644 in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -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.'"
|
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user