Skip to content

Commit 90bc199

Browse files
authored
Include pins.h in dependencies script (#19468)
1 parent 362145f commit 90bc199

169 files changed

Lines changed: 213 additions & 181 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Marlin/src/pins/esp32/pins_E4D.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* for more info check https://atbox.tech/ and join to Facebook page E4d@box.
2828
*/
2929

30-
#ifndef ARDUINO_ARCH_ESP32
30+
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
3131
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
3232
#elif EXTRUDERS > 1 || E_STEPPERS > 1
3333
#error "E4d@box only supports one E Stepper. Comment out this line to continue."

Marlin/src/pins/esp32/pins_ESP32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Espressif ESP32 (Tensilica Xtensa LX6) pin assignments
2626
*/
2727

28-
#ifndef ARDUINO_ARCH_ESP32
28+
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
2929
"Oops! Select an ESP32 board in 'Tools > Board.'"
3030
#endif
3131

Marlin/src/pins/esp32/pins_MRR_ESPA.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* Supports 4 stepper drivers, heated bed, single hotend.
2828
*/
2929

30-
#ifndef ARDUINO_ARCH_ESP32
30+
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
3131
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
3232
#elif EXTRUDERS > 1 || E_STEPPERS > 1
3333
#error "MRR ESPA only supports one E Stepper. Comment out this line to continue."

Marlin/src/pins/esp32/pins_MRR_ESPE.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* single hotend, and LCD controller.
2929
*/
3030

31-
#ifndef ARDUINO_ARCH_ESP32
31+
#if NOT_TARGET(ARDUINO_ARCH_ESP32)
3232
#error "Oops! Select an ESP32 board in 'Tools > Board.'"
3333
#elif EXTRUDERS > 2 || E_STEPPERS > 2
3434
#error "MRR ESPE only supports two E Steppers. Comment out this line to continue."

Marlin/src/pins/lpc1768/pins_AZSMZ_MINI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* AZSMZ MINI pin assignments
2626
*/
2727

28-
#ifndef MCU_LPC1768
28+
#if NOT_TARGET(MCU_LPC1768)
2929
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
3030
#endif
3131

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
*/
3232

33-
#ifndef MCU_LPC1768
33+
#if NOT_TARGET(MCU_LPC1768)
3434
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
3535
#endif
3636

Marlin/src/pins/lpc1768/pins_BIQU_BQ111_A4.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
*/
3232

33-
#ifndef MCU_LPC1768
33+
#if NOT_TARGET(MCU_LPC1768)
3434
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
3535
#endif
3636

Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
#define BOARD_INFO_NAME "BTT SKR V1.4"
2626
#endif
2727

28+
#ifndef BOARD_CUSTOM_BUILD_FLAGS
29+
#define BOARD_CUSTOM_BUILD_FLAGS -DLPC_PINCFG_UART3_P4_28
30+
#endif
31+
2832
//
2933
// SD Connection
3034
//

Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
#pragma once
2323

2424
#ifdef SKR_HAS_LPC1769
25-
#ifndef MCU_LPC1769
25+
#if NOT_TARGET(MCU_LPC1769)
2626
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
2727
#endif
28-
#elif !defined(MCU_LPC1768)
28+
#elif NOT_TARGET(MCU_LPC1768)
2929
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
3030
#endif
3131

Marlin/src/pins/lpc1768/pins_GMARSH_X6_REV1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222
#pragma once
2323

24-
#ifndef MCU_LPC1768
24+
#if NOT_TARGET(MCU_LPC1768)
2525
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
2626
#endif
2727

0 commit comments

Comments
 (0)