소스 검색

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

LinFor 5 년 전
부모
커밋
e854eb933d
1개의 변경된 파일18개의 추가작업 그리고 6개의 파일을 삭제
  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 파일 보기

33
 //
33
 //
34
 // Servos
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
 // Limit Switches
41
 // Limit Switches
165
 //
167
 //
166
 // Heaters / Fans
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
 #if HOTENDS == 1
173
 #if HOTENDS == 1
170
-  #define FAN1_PIN         P2_04
174
+  #ifndef FAN1_PIN
175
+    #define FAN1_PIN       P2_04
176
+  #endif
171
 #else
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
 #endif
187
 #endif
174
-#define FAN_PIN            P2_03
175
-#define HEATER_BED_PIN     P2_05
176
 
188
 
177
 /**
189
 /**
178
  *              _____                                             _____
190
  *              _____                                             _____

Loading…
취소
저장