|
@@ -0,0 +1,457 @@
|
|
1
|
+/**
|
|
2
|
+ * Marlin 3D Printer Firmware
|
|
3
|
+ * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|
4
|
+ *
|
|
5
|
+ * Based on Sprinter and grbl.
|
|
6
|
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
|
7
|
+ *
|
|
8
|
+ * This program is free software: you can redistribute it and/or modify
|
|
9
|
+ * it under the terms of the GNU General Public License as published by
|
|
10
|
+ * the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+ * (at your option) any later version.
|
|
12
|
+ *
|
|
13
|
+ * This program is distributed in the hope that it will be useful,
|
|
14
|
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+ * GNU General Public License for more details.
|
|
17
|
+ *
|
|
18
|
+ * You should have received a copy of the GNU General Public License
|
|
19
|
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+ *
|
|
21
|
+ */
|
|
22
|
+
|
|
23
|
+/**
|
|
24
|
+ * Warnings.cpp
|
|
25
|
+ * Test configuration values and give warnings at compile-time.
|
|
26
|
+ */
|
|
27
|
+
|
|
28
|
+#include "MarlinConfig.h"
|
|
29
|
+
|
|
30
|
+//
|
|
31
|
+// Warnings! Located here so they will appear just once in the build output.
|
|
32
|
+//
|
|
33
|
+
|
|
34
|
+#if ENABLED(MARLIN_DEV_MODE)
|
|
35
|
+ #warning "WARNING! Disable MARLIN_DEV_MODE for the final build!"
|
|
36
|
+#endif
|
|
37
|
+
|
|
38
|
+#if NONE(HAS_RESUME_CONTINUE, HOST_PROMPT_SUPPORT)
|
|
39
|
+ #warning "Your Configuration provides no method to acquire user feedback!"
|
|
40
|
+#endif
|
|
41
|
+
|
|
42
|
+#if AUTO_ASSIGNED_X2_STEPPER
|
|
43
|
+ #warning "Auto-assigned X2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
44
|
+#endif
|
|
45
|
+#if AUTO_ASSIGNED_X2_MS1
|
|
46
|
+ #warning "Auto-assigned X2_MS1_PIN to an unused En_MS1_PIN."
|
|
47
|
+#endif
|
|
48
|
+#if AUTO_ASSIGNED_X2_MS2
|
|
49
|
+ #warning "Auto-assigned X2_MS2_PIN to an unused En_MS2_PIN."
|
|
50
|
+#endif
|
|
51
|
+#if AUTO_ASSIGNED_X2_MS3
|
|
52
|
+ #warning "Auto-assigned X2_MS3_PIN to an unused En_MS3_PIN."
|
|
53
|
+#endif
|
|
54
|
+#if AUTO_ASSIGNED_X2_CS
|
|
55
|
+ #warning "Auto-assigned X2_CS_PIN to an unused En_CS_PIN."
|
|
56
|
+#endif
|
|
57
|
+#if AUTO_ASSIGNED_X2_DIAG
|
|
58
|
+ #if X2_USE_ENDSTOP == _XMIN_
|
|
59
|
+ #warning "Auto-assigned X2_DIAG_PIN to X_MIN_PIN."
|
|
60
|
+ #elif X2_USE_ENDSTOP == _XMAX_
|
|
61
|
+ #warning "Auto-assigned X2_DIAG_PIN to X_MAX_PIN."
|
|
62
|
+ #elif X2_USE_ENDSTOP == _YMIN_
|
|
63
|
+ #warning "Auto-assigned X2_DIAG_PIN to Y_MIN_PIN."
|
|
64
|
+ #elif X2_USE_ENDSTOP == _YMAX_
|
|
65
|
+ #warning "Auto-assigned X2_DIAG_PIN to Y_MAX_PIN."
|
|
66
|
+ #elif X2_USE_ENDSTOP == _ZMIN_
|
|
67
|
+ #warning "Auto-assigned X2_DIAG_PIN to Z_MIN_PIN."
|
|
68
|
+ #elif X2_USE_ENDSTOP == _ZMAX_
|
|
69
|
+ #warning "Auto-assigned X2_DIAG_PIN to Z_MAX_PIN."
|
|
70
|
+ #elif X2_USE_ENDSTOP == _XDIAG_
|
|
71
|
+ #warning "Auto-assigned X2_DIAG_PIN to X_DIAG_PIN."
|
|
72
|
+ #elif X2_USE_ENDSTOP == _YDIAG_
|
|
73
|
+ #warning "Auto-assigned X2_DIAG_PIN to Y_DIAG_PIN."
|
|
74
|
+ #elif X2_USE_ENDSTOP == _ZDIAG_
|
|
75
|
+ #warning "Auto-assigned X2_DIAG_PIN to Z_DIAG_PIN."
|
|
76
|
+ #elif X2_USE_ENDSTOP == _E0DIAG_
|
|
77
|
+ #warning "Auto-assigned X2_DIAG_PIN to E0_DIAG_PIN."
|
|
78
|
+ #elif X2_USE_ENDSTOP == _E1DIAG_
|
|
79
|
+ #warning "Auto-assigned X2_DIAG_PIN to E1_DIAG_PIN."
|
|
80
|
+ #elif X2_USE_ENDSTOP == _E2DIAG_
|
|
81
|
+ #warning "Auto-assigned X2_DIAG_PIN to E2_DIAG_PIN."
|
|
82
|
+ #elif X2_USE_ENDSTOP == _E3DIAG_
|
|
83
|
+ #warning "Auto-assigned X2_DIAG_PIN to E3_DIAG_PIN."
|
|
84
|
+ #elif X2_USE_ENDSTOP == _E4DIAG_
|
|
85
|
+ #warning "Auto-assigned X2_DIAG_PIN to E4_DIAG_PIN."
|
|
86
|
+ #elif X2_USE_ENDSTOP == _E5DIAG_
|
|
87
|
+ #warning "Auto-assigned X2_DIAG_PIN to E5_DIAG_PIN."
|
|
88
|
+ #elif X2_USE_ENDSTOP == _E6DIAG_
|
|
89
|
+ #warning "Auto-assigned X2_DIAG_PIN to E6_DIAG_PIN."
|
|
90
|
+ #elif X2_USE_ENDSTOP == _E7DIAG_
|
|
91
|
+ #warning "Auto-assigned X2_DIAG_PIN to E7_DIAG_PIN."
|
|
92
|
+ #endif
|
|
93
|
+#endif
|
|
94
|
+#if AUTO_ASSIGNED_Y2_STEPPER
|
|
95
|
+ #warning "Auto-assigned Y2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
96
|
+#endif
|
|
97
|
+#if AUTO_ASSIGNED_Y2_MS1
|
|
98
|
+ #warning "Auto-assigned Y2_MS1_PIN to an unused En_MS1_PIN."
|
|
99
|
+#endif
|
|
100
|
+#if AUTO_ASSIGNED_Y2_MS2
|
|
101
|
+ #warning "Auto-assigned Y2_MS2_PIN to an unused En_MS2_PIN."
|
|
102
|
+#endif
|
|
103
|
+#if AUTO_ASSIGNED_Y2_MS3
|
|
104
|
+ #warning "Auto-assigned Y2_MS3_PIN to an unused En_MS3_PIN."
|
|
105
|
+#endif
|
|
106
|
+#if AUTO_ASSIGNED_Y2_CS
|
|
107
|
+ #warning "Auto-assigned Y2_CS_PIN to an unused En_CS_PIN."
|
|
108
|
+#endif
|
|
109
|
+#if AUTO_ASSIGNED_Y2_DIAG
|
|
110
|
+ #if Y2_USE_ENDSTOP == _XMIN_
|
|
111
|
+ #warning "Auto-assigned Y2_DIAG_PIN to X_MIN_PIN."
|
|
112
|
+ #elif Y2_USE_ENDSTOP == _XMAX_
|
|
113
|
+ #warning "Auto-assigned Y2_DIAG_PIN to X_MAX_PIN."
|
|
114
|
+ #elif Y2_USE_ENDSTOP == _YMIN_
|
|
115
|
+ #warning "Auto-assigned Y2_DIAG_PIN to Y_MIN_PIN."
|
|
116
|
+ #elif Y2_USE_ENDSTOP == _YMAX_
|
|
117
|
+ #warning "Auto-assigned Y2_DIAG_PIN to Y_MAX_PIN."
|
|
118
|
+ #elif Y2_USE_ENDSTOP == _ZMIN_
|
|
119
|
+ #warning "Auto-assigned Y2_DIAG_PIN to Z_MIN_PIN."
|
|
120
|
+ #elif Y2_USE_ENDSTOP == _ZMAX_
|
|
121
|
+ #warning "Auto-assigned Y2_DIAG_PIN to Z_MAX_PIN."
|
|
122
|
+ #elif Y2_USE_ENDSTOP == _XDIAG_
|
|
123
|
+ #warning "Auto-assigned Y2_DIAG_PIN to X_DIAG_PIN."
|
|
124
|
+ #elif Y2_USE_ENDSTOP == _YDIAG_
|
|
125
|
+ #warning "Auto-assigned Y2_DIAG_PIN to Y_DIAG_PIN."
|
|
126
|
+ #elif Y2_USE_ENDSTOP == _ZDIAG_
|
|
127
|
+ #warning "Auto-assigned Y2_DIAG_PIN to Z_DIAG_PIN."
|
|
128
|
+ #elif Y2_USE_ENDSTOP == _E0DIAG_
|
|
129
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E0_DIAG_PIN."
|
|
130
|
+ #elif Y2_USE_ENDSTOP == _E1DIAG_
|
|
131
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E1_DIAG_PIN."
|
|
132
|
+ #elif Y2_USE_ENDSTOP == _E2DIAG_
|
|
133
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E2_DIAG_PIN."
|
|
134
|
+ #elif Y2_USE_ENDSTOP == _E3DIAG_
|
|
135
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E3_DIAG_PIN."
|
|
136
|
+ #elif Y2_USE_ENDSTOP == _E4DIAG_
|
|
137
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E4_DIAG_PIN."
|
|
138
|
+ #elif Y2_USE_ENDSTOP == _E5DIAG_
|
|
139
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E5_DIAG_PIN."
|
|
140
|
+ #elif Y2_USE_ENDSTOP == _E6DIAG_
|
|
141
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E6_DIAG_PIN."
|
|
142
|
+ #elif Y2_USE_ENDSTOP == _E7DIAG_
|
|
143
|
+ #warning "Auto-assigned Y2_DIAG_PIN to E7_DIAG_PIN."
|
|
144
|
+ #endif
|
|
145
|
+#endif
|
|
146
|
+#if AUTO_ASSIGNED_Z2_STEPPER
|
|
147
|
+ #warning "Auto-assigned Z2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
148
|
+#endif
|
|
149
|
+#if AUTO_ASSIGNED_Z2_MS1
|
|
150
|
+ #warning "Auto-assigned Z2_MS1_PIN to an unused En_MS1_PIN."
|
|
151
|
+#endif
|
|
152
|
+#if AUTO_ASSIGNED_Z2_MS2
|
|
153
|
+ #warning "Auto-assigned Z2_MS2_PIN to an unused En_MS2_PIN."
|
|
154
|
+#endif
|
|
155
|
+#if AUTO_ASSIGNED_Z2_MS3
|
|
156
|
+ #warning "Auto-assigned Z2_MS3_PIN to an unused En_MS3_PIN."
|
|
157
|
+#endif
|
|
158
|
+#if AUTO_ASSIGNED_Z2_CS
|
|
159
|
+ #warning "Auto-assigned Z2_CS_PIN to an unused En_CS_PIN."
|
|
160
|
+#endif
|
|
161
|
+#if AUTO_ASSIGNED_Z2_DIAG
|
|
162
|
+ #if Z2_USE_ENDSTOP == _XMIN_
|
|
163
|
+ #warning "Auto-assigned Z2_DIAG_PIN to X_MIN_PIN."
|
|
164
|
+ #elif Z2_USE_ENDSTOP == _XMAX_
|
|
165
|
+ #warning "Auto-assigned Z2_DIAG_PIN to X_MAX_PIN."
|
|
166
|
+ #elif Z2_USE_ENDSTOP == _YMIN_
|
|
167
|
+ #warning "Auto-assigned Z2_DIAG_PIN to Y_MIN_PIN."
|
|
168
|
+ #elif Z2_USE_ENDSTOP == _YMAX_
|
|
169
|
+ #warning "Auto-assigned Z2_DIAG_PIN to Y_MAX_PIN."
|
|
170
|
+ #elif Z2_USE_ENDSTOP == _ZMIN_
|
|
171
|
+ #warning "Auto-assigned Z2_DIAG_PIN to Z_MIN_PIN."
|
|
172
|
+ #elif Z2_USE_ENDSTOP == _ZMAX_
|
|
173
|
+ #warning "Auto-assigned Z2_DIAG_PIN to Z_MAX_PIN."
|
|
174
|
+ #elif Z2_USE_ENDSTOP == _XDIAG_
|
|
175
|
+ #warning "Auto-assigned Z2_DIAG_PIN to X_DIAG_PIN."
|
|
176
|
+ #elif Z2_USE_ENDSTOP == _YDIAG_
|
|
177
|
+ #warning "Auto-assigned Z2_DIAG_PIN to Y_DIAG_PIN."
|
|
178
|
+ #elif Z2_USE_ENDSTOP == _ZDIAG_
|
|
179
|
+ #warning "Auto-assigned Z2_DIAG_PIN to Z_DIAG_PIN."
|
|
180
|
+ #elif Z2_USE_ENDSTOP == _E0DIAG_
|
|
181
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E0_DIAG_PIN."
|
|
182
|
+ #elif Z2_USE_ENDSTOP == _E1DIAG_
|
|
183
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E1_DIAG_PIN."
|
|
184
|
+ #elif Z2_USE_ENDSTOP == _E2DIAG_
|
|
185
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E2_DIAG_PIN."
|
|
186
|
+ #elif Z2_USE_ENDSTOP == _E3DIAG_
|
|
187
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E3_DIAG_PIN."
|
|
188
|
+ #elif Z2_USE_ENDSTOP == _E4DIAG_
|
|
189
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E4_DIAG_PIN."
|
|
190
|
+ #elif Z2_USE_ENDSTOP == _E5DIAG_
|
|
191
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E5_DIAG_PIN."
|
|
192
|
+ #elif Z2_USE_ENDSTOP == _E6DIAG_
|
|
193
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E6_DIAG_PIN."
|
|
194
|
+ #elif Z2_USE_ENDSTOP == _E7DIAG_
|
|
195
|
+ #warning "Auto-assigned Z2_DIAG_PIN to E7_DIAG_PIN."
|
|
196
|
+ #endif
|
|
197
|
+#endif
|
|
198
|
+#if AUTO_ASSIGNED_Z3_STEPPER
|
|
199
|
+ #warning "Auto-assigned Z3 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
200
|
+#endif
|
|
201
|
+#if AUTO_ASSIGNED_Z3_CS
|
|
202
|
+ #warning "Auto-assigned Z3_CS_PIN to an unused En_CS_PIN."
|
|
203
|
+#endif
|
|
204
|
+#if AUTO_ASSIGNED_Z3_MS1
|
|
205
|
+ #warning "Auto-assigned Z3_MS1_PIN to an unused En_MS1_PIN."
|
|
206
|
+#endif
|
|
207
|
+#if AUTO_ASSIGNED_Z3_MS2
|
|
208
|
+ #warning "Auto-assigned Z3_MS2_PIN to an unused En_MS2_PIN."
|
|
209
|
+#endif
|
|
210
|
+#if AUTO_ASSIGNED_Z3_MS3
|
|
211
|
+ #warning "Auto-assigned Z3_MS3_PIN to an unused En_MS3_PIN."
|
|
212
|
+#endif
|
|
213
|
+#if AUTO_ASSIGNED_Z3_DIAG
|
|
214
|
+ #if Z3_USE_ENDSTOP == _XMIN_
|
|
215
|
+ #warning "Auto-assigned Z3_DIAG_PIN to X_MIN_PIN."
|
|
216
|
+ #elif Z3_USE_ENDSTOP == _XMAX_
|
|
217
|
+ #warning "Auto-assigned Z3_DIAG_PIN to X_MAX_PIN."
|
|
218
|
+ #elif Z3_USE_ENDSTOP == _YMIN_
|
|
219
|
+ #warning "Auto-assigned Z3_DIAG_PIN to Y_MIN_PIN."
|
|
220
|
+ #elif Z3_USE_ENDSTOP == _YMAX_
|
|
221
|
+ #warning "Auto-assigned Z3_DIAG_PIN to Y_MAX_PIN."
|
|
222
|
+ #elif Z3_USE_ENDSTOP == _ZMIN_
|
|
223
|
+ #warning "Auto-assigned Z3_DIAG_PIN to Z_MIN_PIN."
|
|
224
|
+ #elif Z3_USE_ENDSTOP == _ZMAX_
|
|
225
|
+ #warning "Auto-assigned Z3_DIAG_PIN to Z_MAX_PIN."
|
|
226
|
+ #elif Z3_USE_ENDSTOP == _XDIAG_
|
|
227
|
+ #warning "Auto-assigned Z3_DIAG_PIN to X_DIAG_PIN."
|
|
228
|
+ #elif Z3_USE_ENDSTOP == _YDIAG_
|
|
229
|
+ #warning "Auto-assigned Z3_DIAG_PIN to Y_DIAG_PIN."
|
|
230
|
+ #elif Z3_USE_ENDSTOP == _ZDIAG_
|
|
231
|
+ #warning "Auto-assigned Z3_DIAG_PIN to Z_DIAG_PIN."
|
|
232
|
+ #elif Z3_USE_ENDSTOP == _E0DIAG_
|
|
233
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E0_DIAG_PIN."
|
|
234
|
+ #elif Z3_USE_ENDSTOP == _E1DIAG_
|
|
235
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E1_DIAG_PIN."
|
|
236
|
+ #elif Z3_USE_ENDSTOP == _E2DIAG_
|
|
237
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E2_DIAG_PIN."
|
|
238
|
+ #elif Z3_USE_ENDSTOP == _E3DIAG_
|
|
239
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E3_DIAG_PIN."
|
|
240
|
+ #elif Z3_USE_ENDSTOP == _E4DIAG_
|
|
241
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E4_DIAG_PIN."
|
|
242
|
+ #elif Z3_USE_ENDSTOP == _E5DIAG_
|
|
243
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E5_DIAG_PIN."
|
|
244
|
+ #elif Z3_USE_ENDSTOP == _E6DIAG_
|
|
245
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E6_DIAG_PIN."
|
|
246
|
+ #elif Z3_USE_ENDSTOP == _E7DIAG_
|
|
247
|
+ #warning "Auto-assigned Z3_DIAG_PIN to E7_DIAG_PIN."
|
|
248
|
+ #endif
|
|
249
|
+#endif
|
|
250
|
+#if AUTO_ASSIGNED_Z4_STEPPER
|
|
251
|
+ #warning "Auto-assigned Z4 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
252
|
+#endif
|
|
253
|
+#if AUTO_ASSIGNED_Z4_CS
|
|
254
|
+ #warning "Auto-assigned Z4_CS_PIN to an unused En_CS_PIN."
|
|
255
|
+#endif
|
|
256
|
+#if AUTO_ASSIGNED_Z4_MS1
|
|
257
|
+ #warning "Auto-assigned Z4_MS1_PIN to an unused En_MS1_PIN."
|
|
258
|
+#endif
|
|
259
|
+#if AUTO_ASSIGNED_Z4_MS2
|
|
260
|
+ #warning "Auto-assigned Z4_MS2_PIN to an unused En_MS2_PIN."
|
|
261
|
+#endif
|
|
262
|
+#if AUTO_ASSIGNED_Z4_MS3
|
|
263
|
+ #warning "Auto-assigned Z4_MS3_PIN to an unused En_MS3_PIN."
|
|
264
|
+#endif
|
|
265
|
+#if AUTO_ASSIGNED_Z4_DIAG
|
|
266
|
+ #if Z4_USE_ENDSTOP == _XMIN_
|
|
267
|
+ #warning "Auto-assigned Z4_DIAG_PIN to X_MIN_PIN."
|
|
268
|
+ #elif Z4_USE_ENDSTOP == _XMAX_
|
|
269
|
+ #warning "Auto-assigned Z4_DIAG_PIN to X_MAX_PIN."
|
|
270
|
+ #elif Z4_USE_ENDSTOP == _YMIN_
|
|
271
|
+ #warning "Auto-assigned Z4_DIAG_PIN to Y_MIN_PIN."
|
|
272
|
+ #elif Z4_USE_ENDSTOP == _YMAX_
|
|
273
|
+ #warning "Auto-assigned Z4_DIAG_PIN to Y_MAX_PIN."
|
|
274
|
+ #elif Z4_USE_ENDSTOP == _ZMIN_
|
|
275
|
+ #warning "Auto-assigned Z4_DIAG_PIN to Z_MIN_PIN."
|
|
276
|
+ #elif Z4_USE_ENDSTOP == _ZMAX_
|
|
277
|
+ #warning "Auto-assigned Z4_DIAG_PIN to Z_MAX_PIN."
|
|
278
|
+ #elif Z4_USE_ENDSTOP == _XDIAG_
|
|
279
|
+ #warning "Auto-assigned Z4_DIAG_PIN to X_DIAG_PIN."
|
|
280
|
+ #elif Z4_USE_ENDSTOP == _YDIAG_
|
|
281
|
+ #warning "Auto-assigned Z4_DIAG_PIN to Y_DIAG_PIN."
|
|
282
|
+ #elif Z4_USE_ENDSTOP == _ZDIAG_
|
|
283
|
+ #warning "Auto-assigned Z4_DIAG_PIN to Z_DIAG_PIN."
|
|
284
|
+ #elif Z4_USE_ENDSTOP == _E0DIAG_
|
|
285
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E0_DIAG_PIN."
|
|
286
|
+ #elif Z4_USE_ENDSTOP == _E1DIAG_
|
|
287
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E1_DIAG_PIN."
|
|
288
|
+ #elif Z4_USE_ENDSTOP == _E2DIAG_
|
|
289
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E2_DIAG_PIN."
|
|
290
|
+ #elif Z4_USE_ENDSTOP == _E3DIAG_
|
|
291
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E3_DIAG_PIN."
|
|
292
|
+ #elif Z4_USE_ENDSTOP == _E4DIAG_
|
|
293
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E4_DIAG_PIN."
|
|
294
|
+ #elif Z4_USE_ENDSTOP == _E5DIAG_
|
|
295
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E5_DIAG_PIN."
|
|
296
|
+ #elif Z4_USE_ENDSTOP == _E6DIAG_
|
|
297
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E6_DIAG_PIN."
|
|
298
|
+ #elif Z4_USE_ENDSTOP == _E7DIAG_
|
|
299
|
+ #warning "Auto-assigned Z4_DIAG_PIN to E7_DIAG_PIN."
|
|
300
|
+ #endif
|
|
301
|
+#endif
|
|
302
|
+#if AUTO_ASSIGNED_I_STEPPER
|
|
303
|
+ #warning "Auto-assigned I STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
304
|
+#endif
|
|
305
|
+#if AUTO_ASSIGNED_I_CS
|
|
306
|
+ #warning "Auto-assigned I_CS_PIN to an unused En_CS_PIN."
|
|
307
|
+#endif
|
|
308
|
+#if AUTO_ASSIGNED_I_MS1
|
|
309
|
+ #warning "Auto-assigned I_MS1_PIN to an unused En_MS1_PIN."
|
|
310
|
+#endif
|
|
311
|
+#if AUTO_ASSIGNED_I_MS2
|
|
312
|
+ #warning "Auto-assigned I_MS2_PIN to an unused En_MS2_PIN."
|
|
313
|
+#endif
|
|
314
|
+#if AUTO_ASSIGNED_I_MS3
|
|
315
|
+ #warning "Auto-assigned I_MS3_PIN to an unused En_MS3_PIN."
|
|
316
|
+#endif
|
|
317
|
+#if AUTO_ASSIGNED_I_DIAG
|
|
318
|
+ #if I_USE_ENDSTOP == _XMIN_
|
|
319
|
+ #warning "Auto-assigned I_DIAG_PIN to X_MIN_PIN."
|
|
320
|
+ #elif I_USE_ENDSTOP == _XMAX_
|
|
321
|
+ #warning "Auto-assigned I_DIAG_PIN to X_MAX_PIN."
|
|
322
|
+ #elif I_USE_ENDSTOP == _YMIN_
|
|
323
|
+ #warning "Auto-assigned I_DIAG_PIN to Y_MIN_PIN."
|
|
324
|
+ #elif I_USE_ENDSTOP == _YMAX_
|
|
325
|
+ #warning "Auto-assigned I_DIAG_PIN to Y_MAX_PIN."
|
|
326
|
+ #elif I_USE_ENDSTOP == _ZMIN_
|
|
327
|
+ #warning "Auto-assigned I_DIAG_PIN to Z_MIN_PIN."
|
|
328
|
+ #elif I_USE_ENDSTOP == _ZMAX_
|
|
329
|
+ #warning "Auto-assigned I_DIAG_PIN to Z_MAX_PIN."
|
|
330
|
+ #elif I_USE_ENDSTOP == _XDIAG_
|
|
331
|
+ #warning "Auto-assigned I_DIAG_PIN to X_DIAG_PIN."
|
|
332
|
+ #elif I_USE_ENDSTOP == _YDIAG_
|
|
333
|
+ #warning "Auto-assigned I_DIAG_PIN to Y_DIAG_PIN."
|
|
334
|
+ #elif I_USE_ENDSTOP == _ZDIAG_
|
|
335
|
+ #warning "Auto-assigned I_DIAG_PIN to Z_DIAG_PIN."
|
|
336
|
+ #elif I_USE_ENDSTOP == _E0DIAG_
|
|
337
|
+ #warning "Auto-assigned I_DIAG_PIN to E0_DIAG_PIN."
|
|
338
|
+ #elif I_USE_ENDSTOP == _E1DIAG_
|
|
339
|
+ #warning "Auto-assigned I_DIAG_PIN to E1_DIAG_PIN."
|
|
340
|
+ #elif I_USE_ENDSTOP == _E2DIAG_
|
|
341
|
+ #warning "Auto-assigned I_DIAG_PIN to E2_DIAG_PIN."
|
|
342
|
+ #elif I_USE_ENDSTOP == _E3DIAG_
|
|
343
|
+ #warning "Auto-assigned I_DIAG_PIN to E3_DIAG_PIN."
|
|
344
|
+ #elif I_USE_ENDSTOP == _E4DIAG_
|
|
345
|
+ #warning "Auto-assigned I_DIAG_PIN to E4_DIAG_PIN."
|
|
346
|
+ #elif I_USE_ENDSTOP == _E5DIAG_
|
|
347
|
+ #warning "Auto-assigned I_DIAG_PIN to E5_DIAG_PIN."
|
|
348
|
+ #elif I_USE_ENDSTOP == _E6DIAG_
|
|
349
|
+ #warning "Auto-assigned I_DIAG_PIN to E6_DIAG_PIN."
|
|
350
|
+ #elif I_USE_ENDSTOP == _E7DIAG_
|
|
351
|
+ #warning "Auto-assigned I_DIAG_PIN to E7_DIAG_PIN."
|
|
352
|
+ #endif
|
|
353
|
+#endif
|
|
354
|
+#if AUTO_ASSIGNED_J_STEPPER
|
|
355
|
+ #warning "Auto-assigned J STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
356
|
+#endif
|
|
357
|
+#if AUTO_ASSIGNED_J_CS
|
|
358
|
+ #warning "Auto-assigned J_CS_PIN to an unused En_CS_PIN."
|
|
359
|
+#endif
|
|
360
|
+#if AUTO_ASSIGNED_J_MS1
|
|
361
|
+ #warning "Auto-assigned J_MS1_PIN to an unused En_MS1_PIN."
|
|
362
|
+#endif
|
|
363
|
+#if AUTO_ASSIGNED_J_MS2
|
|
364
|
+ #warning "Auto-assigned J_MS2_PIN to an unused En_MS2_PIN."
|
|
365
|
+#endif
|
|
366
|
+#if AUTO_ASSIGNED_J_MS3
|
|
367
|
+ #warning "Auto-assigned J_MS3_PIN to an unused En_MS3_PIN."
|
|
368
|
+#endif
|
|
369
|
+#if AUTO_ASSIGNED_J_DIAG
|
|
370
|
+ #if J_USE_ENDSTOP == _XMIN_
|
|
371
|
+ #warning "Auto-assigned J_DIAG_PIN to X_MIN_PIN."
|
|
372
|
+ #elif J_USE_ENDSTOP == _XMAX_
|
|
373
|
+ #warning "Auto-assigned J_DIAG_PIN to X_MAX_PIN."
|
|
374
|
+ #elif J_USE_ENDSTOP == _YMIN_
|
|
375
|
+ #warning "Auto-assigned J_DIAG_PIN to Y_MIN_PIN."
|
|
376
|
+ #elif J_USE_ENDSTOP == _YMAX_
|
|
377
|
+ #warning "Auto-assigned J_DIAG_PIN to Y_MAX_PIN."
|
|
378
|
+ #elif J_USE_ENDSTOP == _ZMIN_
|
|
379
|
+ #warning "Auto-assigned J_DIAG_PIN to Z_MIN_PIN."
|
|
380
|
+ #elif J_USE_ENDSTOP == _ZMAX_
|
|
381
|
+ #warning "Auto-assigned J_DIAG_PIN to Z_MAX_PIN."
|
|
382
|
+ #elif J_USE_ENDSTOP == _XDIAG_
|
|
383
|
+ #warning "Auto-assigned J_DIAG_PIN to X_DIAG_PIN."
|
|
384
|
+ #elif J_USE_ENDSTOP == _YDIAG_
|
|
385
|
+ #warning "Auto-assigned J_DIAG_PIN to Y_DIAG_PIN."
|
|
386
|
+ #elif J_USE_ENDSTOP == _ZDIAG_
|
|
387
|
+ #warning "Auto-assigned J_DIAG_PIN to Z_DIAG_PIN."
|
|
388
|
+ #elif J_USE_ENDSTOP == _E0DIAG_
|
|
389
|
+ #warning "Auto-assigned J_DIAG_PIN to E0_DIAG_PIN."
|
|
390
|
+ #elif J_USE_ENDSTOP == _E1DIAG_
|
|
391
|
+ #warning "Auto-assigned J_DIAG_PIN to E1_DIAG_PIN."
|
|
392
|
+ #elif J_USE_ENDSTOP == _E2DIAG_
|
|
393
|
+ #warning "Auto-assigned J_DIAG_PIN to E2_DIAG_PIN."
|
|
394
|
+ #elif J_USE_ENDSTOP == _E3DIAG_
|
|
395
|
+ #warning "Auto-assigned J_DIAG_PIN to E3_DIAG_PIN."
|
|
396
|
+ #elif J_USE_ENDSTOP == _E4DIAG_
|
|
397
|
+ #warning "Auto-assigned J_DIAG_PIN to E4_DIAG_PIN."
|
|
398
|
+ #elif J_USE_ENDSTOP == _E5DIAG_
|
|
399
|
+ #warning "Auto-assigned J_DIAG_PIN to E5_DIAG_PIN."
|
|
400
|
+ #elif J_USE_ENDSTOP == _E6DIAG_
|
|
401
|
+ #warning "Auto-assigned J_DIAG_PIN to E6_DIAG_PIN."
|
|
402
|
+ #elif J_USE_ENDSTOP == _E7DIAG_
|
|
403
|
+ #warning "Auto-assigned J_DIAG_PIN to E7_DIAG_PIN."
|
|
404
|
+ #endif
|
|
405
|
+#endif
|
|
406
|
+#if AUTO_ASSIGNED_K_STEPPER
|
|
407
|
+ #warning "Auto-assigned K STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
|
|
408
|
+#endif
|
|
409
|
+#if AUTO_ASSIGNED_K_CS
|
|
410
|
+ #warning "Auto-assigned K_CS_PIN to an unused En_CS_PIN."
|
|
411
|
+#endif
|
|
412
|
+#if AUTO_ASSIGNED_K_MS1
|
|
413
|
+ #warning "Auto-assigned K_MS1_PIN to an unused En_MS1_PIN."
|
|
414
|
+#endif
|
|
415
|
+#if AUTO_ASSIGNED_K_MS2
|
|
416
|
+ #warning "Auto-assigned K_MS2_PIN to an unused En_MS2_PIN."
|
|
417
|
+#endif
|
|
418
|
+#if AUTO_ASSIGNED_K_MS3
|
|
419
|
+ #warning "Auto-assigned K_MS3_PIN to an unused En_MS3_PIN."
|
|
420
|
+#endif
|
|
421
|
+#if AUTO_ASSIGNED_K_DIAG
|
|
422
|
+ #if K_USE_ENDSTOP == _XMIN_
|
|
423
|
+ #warning "Auto-assigned K_DIAG_PIN to X_MIN_PIN."
|
|
424
|
+ #elif K_USE_ENDSTOP == _XMAX_
|
|
425
|
+ #warning "Auto-assigned K_DIAG_PIN to X_MAX_PIN."
|
|
426
|
+ #elif K_USE_ENDSTOP == _YMIN_
|
|
427
|
+ #warning "Auto-assigned K_DIAG_PIN to Y_MIN_PIN."
|
|
428
|
+ #elif K_USE_ENDSTOP == _YMAX_
|
|
429
|
+ #warning "Auto-assigned K_DIAG_PIN to Y_MAX_PIN."
|
|
430
|
+ #elif K_USE_ENDSTOP == _ZMIN_
|
|
431
|
+ #warning "Auto-assigned K_DIAG_PIN to Z_MIN_PIN."
|
|
432
|
+ #elif K_USE_ENDSTOP == _ZMAX_
|
|
433
|
+ #warning "Auto-assigned K_DIAG_PIN to Z_MAX_PIN."
|
|
434
|
+ #elif K_USE_ENDSTOP == _XDIAG_
|
|
435
|
+ #warning "Auto-assigned K_DIAG_PIN to X_DIAG_PIN."
|
|
436
|
+ #elif K_USE_ENDSTOP == _YDIAG_
|
|
437
|
+ #warning "Auto-assigned K_DIAG_PIN to Y_DIAG_PIN."
|
|
438
|
+ #elif K_USE_ENDSTOP == _ZDIAG_
|
|
439
|
+ #warning "Auto-assigned K_DIAG_PIN to Z_DIAG_PIN."
|
|
440
|
+ #elif K_USE_ENDSTOP == _E0DIAG_
|
|
441
|
+ #warning "Auto-assigned K_DIAG_PIN to E0_DIAG_PIN."
|
|
442
|
+ #elif K_USE_ENDSTOP == _E1DIAG_
|
|
443
|
+ #warning "Auto-assigned K_DIAG_PIN to E1_DIAG_PIN."
|
|
444
|
+ #elif K_USE_ENDSTOP == _E2DIAG_
|
|
445
|
+ #warning "Auto-assigned K_DIAG_PIN to E2_DIAG_PIN."
|
|
446
|
+ #elif K_USE_ENDSTOP == _E3DIAG_
|
|
447
|
+ #warning "Auto-assigned K_DIAG_PIN to E3_DIAG_PIN."
|
|
448
|
+ #elif K_USE_ENDSTOP == _E4DIAG_
|
|
449
|
+ #warning "Auto-assigned K_DIAG_PIN to E4_DIAG_PIN."
|
|
450
|
+ #elif K_USE_ENDSTOP == _E5DIAG_
|
|
451
|
+ #warning "Auto-assigned K_DIAG_PIN to E5_DIAG_PIN."
|
|
452
|
+ #elif K_USE_ENDSTOP == _E6DIAG_
|
|
453
|
+ #warning "Auto-assigned K_DIAG_PIN to E6_DIAG_PIN."
|
|
454
|
+ #elif K_USE_ENDSTOP == _E7DIAG_
|
|
455
|
+ #warning "Auto-assigned K_DIAG_PIN to E7_DIAG_PIN."
|
|
456
|
+ #endif
|
|
457
|
+#endif
|