|
@@ -35,11 +35,19 @@
|
35
|
35
|
|| X_STEP_PIN == N || Y_STEP_PIN == N || Z_STEP_PIN == N \
|
36
|
36
|
|| X_DIR_PIN == N || Y_DIR_PIN == N || Z_DIR_PIN == N \
|
37
|
37
|
|| X_ENA_PIN == N || Y_ENA_PIN == N || Z_ENA_PIN == N \
|
|
38
|
+ || BTN_EN1 == N || BTN_EN2 == N \
|
38
|
39
|
)
|
39
|
|
-#if CONF_SERIAL_IS(0) // D0-D1. No known conflicts.
|
|
40
|
+#if CONF_SERIAL_IS(0)
|
|
41
|
+ // D0-D1. No known conflicts.
|
40
|
42
|
#endif
|
41
|
|
-#if CONF_SERIAL_IS(1) && (CHECK_SERIAL_PIN(18) || CHECK_SERIAL_PIN(19))
|
42
|
|
- #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
|
|
43
|
+#if NOT_TARGET(__AVR_ATmega644P__, __AVR_ATmega1284P__)
|
|
44
|
+ #if CONF_SERIAL_IS(1) && (CHECK_SERIAL_PIN(18) || CHECK_SERIAL_PIN(19))
|
|
45
|
+ #error "Serial Port 1 pin D18 and/or D19 conflicts with another pin on the board."
|
|
46
|
+ #endif
|
|
47
|
+#else
|
|
48
|
+ #if CONF_SERIAL_IS(1) && (CHECK_SERIAL_PIN(10) || CHECK_SERIAL_PIN(11))
|
|
49
|
+ #error "Serial Port 1 pin D10 and/or D11 conflicts with another pin on the board."
|
|
50
|
+ #endif
|
43
|
51
|
#endif
|
44
|
52
|
#if CONF_SERIAL_IS(2) && (CHECK_SERIAL_PIN(16) || CHECK_SERIAL_PIN(17))
|
45
|
53
|
#error "Serial Port 2 pin D16 and/or D17 conflicts with another pin on the board."
|