Skip to content

Commit

Permalink
Include pins.h in dependencies script (#19468)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhapsodyv authored Sep 23, 2020
1 parent 362145f commit 90bc199
Show file tree
Hide file tree
Showing 169 changed files with 213 additions and 181 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/pins/esp32/pins_E4D.h
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/esp32/pins_ESP32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/esp32/pins_MRR_ESPA.h
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/esp32/pins_MRR_ESPE.h
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_AZSMZ_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_BIQU_B300_V1.0.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_BIQU_BQ111_A4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/lpc1768/pins_MKS_SBASE.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_MKS_SGEN_L.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1768/pins_SELENA_COMPACT.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_AZTEEG_X5_GT.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_AZTEEG_X5_MINI_WIFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_COHESION3D_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_COHESION3D_REMIX.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_MKS_SGEN.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_MKS_SGEN_L_V2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_SMOOTHIEBOARD.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/lpc1769/pins_TH3D_EZBOARD.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CHEAPTRONIC.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CHEAPTRONICv2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CNCONTROLS_11.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CNCONTROLS_12.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_CNCONTROLS_15.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_EINSTART-S.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_ELEFU_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_GT2560_REV_A.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_GT2560_V3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_HJC2560C_REV2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_INTAMSYS40.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_LEAPFROG.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_LEAPFROG_XEED2015.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGACONTROLLER.h
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGATRONICS.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGATRONICS_2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGATRONICS_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MINITRONICS.h
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_OVERLORD.h
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
Loading

0 comments on commit 90bc199

Please sign in to comment.