Pārlūkot izejas kodu

Allow pins overrides for SKR V1.3 (#15451)

LinFor 5 gadus atpakaļ
vecāks
revīzija
e854eb933d
1 mainītis faili ar 18 papildinājumiem un 6 dzēšanām
  1. 18
    6
      Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h

+ 18
- 6
Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h Parādīt failu

@@ -33,7 +33,9 @@
33 33
 //
34 34
 // Servos
35 35
 //
36
-#define SERVO0_PIN         P2_00
36
+#ifndef SERVO0_PIN
37
+  #define SERVO0_PIN       P2_00
38
+#endif
37 39
 
38 40
 //
39 41
 // Limit Switches
@@ -165,14 +167,24 @@
165 167
 //
166 168
 // Heaters / Fans
167 169
 //
168
-#define HEATER_0_PIN       P2_07
170
+#ifndef HEATER_0_PIN
171
+  #define HEATER_0_PIN     P2_07
172
+#endif
169 173
 #if HOTENDS == 1
170
-  #define FAN1_PIN         P2_04
174
+  #ifndef FAN1_PIN
175
+    #define FAN1_PIN       P2_04
176
+  #endif
171 177
 #else
172
-  #define HEATER_1_PIN     P2_04
178
+  #ifndef HEATER_1_PIN
179
+    #define HEATER_1_PIN   P2_04
180
+  #endif
181
+#endif
182
+#ifndef FAN_PIN
183
+  #define FAN_PIN          P2_03
184
+#endif
185
+#ifndef HEATER_BED_PIN
186
+  #define HEATER_BED_PIN   P2_05
173 187
 #endif
174
-#define FAN_PIN            P2_03
175
-#define HEATER_BED_PIN     P2_05
176 188
 
177 189
 /**
178 190
  *              _____                                             _____

Notiek ielāde…
Atcelt
Saglabāt