Browse Source

🚸 Suppressible pin warnings (#23530)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
John Lagonikas 3 years ago
parent
commit
830d728ec1
No account linked to committer's email address
1 changed files with 469 additions and 463 deletions
  1. 469
    463
      Marlin/src/inc/Warnings.cpp

+ 469
- 463
Marlin/src/inc/Warnings.cpp View File

@@ -59,474 +59,478 @@
59 59
   #warning "Your Configuration provides no method to acquire user feedback!"
60 60
 #endif
61 61
 
62
-#if AUTO_ASSIGNED_X2_STEPPER
63
-  #warning "Auto-assigned X2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
64
-#endif
65
-#if AUTO_ASSIGNED_X2_MS1
66
-  #warning "Auto-assigned X2_MS1_PIN to an unused En_MS1_PIN."
67
-#endif
68
-#if AUTO_ASSIGNED_X2_MS2
69
-  #warning "Auto-assigned X2_MS2_PIN to an unused En_MS2_PIN."
70
-#endif
71
-#if AUTO_ASSIGNED_X2_MS3
72
-  #warning "Auto-assigned X2_MS3_PIN to an unused En_MS3_PIN."
73
-#endif
74
-#if AUTO_ASSIGNED_X2_CS
75
-  #warning "Auto-assigned X2_CS_PIN to an unused En_CS_PIN."
76
-#endif
77
-#if AUTO_ASSIGNED_X2_DIAG
78
-  #if X2_USE_ENDSTOP == _XMIN_
79
-    #warning "Auto-assigned X2_DIAG_PIN to X_MIN_PIN."
80
-  #elif X2_USE_ENDSTOP == _XMAX_
81
-    #warning "Auto-assigned X2_DIAG_PIN to X_MAX_PIN."
82
-  #elif X2_USE_ENDSTOP == _XSTOP_
83
-    #warning "Auto-assigned X2_DIAG_PIN to X_STOP_PIN."
84
-  #elif X2_USE_ENDSTOP == _YMIN_
85
-    #warning "Auto-assigned X2_DIAG_PIN to Y_MIN_PIN."
86
-  #elif X2_USE_ENDSTOP == _YMAX_
87
-    #warning "Auto-assigned X2_DIAG_PIN to Y_MAX_PIN."
88
-  #elif X2_USE_ENDSTOP == _YSTOP_
89
-    #warning "Auto-assigned X2_DIAG_PIN to Y_STOP_PIN."
90
-  #elif X2_USE_ENDSTOP == _ZMIN_
91
-    #warning "Auto-assigned X2_DIAG_PIN to Z_MIN_PIN."
92
-  #elif X2_USE_ENDSTOP == _ZMAX_
93
-    #warning "Auto-assigned X2_DIAG_PIN to Z_MAX_PIN."
94
-  #elif X2_USE_ENDSTOP == _ZSTOP_
95
-    #warning "Auto-assigned X2_DIAG_PIN to Z_STOP_PIN."
96
-  #elif X2_USE_ENDSTOP == _XDIAG_
97
-    #warning "Auto-assigned X2_DIAG_PIN to X_DIAG_PIN."
98
-  #elif X2_USE_ENDSTOP == _YDIAG_
99
-    #warning "Auto-assigned X2_DIAG_PIN to Y_DIAG_PIN."
100
-  #elif X2_USE_ENDSTOP == _ZDIAG_
101
-    #warning "Auto-assigned X2_DIAG_PIN to Z_DIAG_PIN."
102
-  #elif X2_USE_ENDSTOP == _E0DIAG_
103
-    #warning "Auto-assigned X2_DIAG_PIN to E0_DIAG_PIN."
104
-  #elif X2_USE_ENDSTOP == _E1DIAG_
105
-    #warning "Auto-assigned X2_DIAG_PIN to E1_DIAG_PIN."
106
-  #elif X2_USE_ENDSTOP == _E2DIAG_
107
-    #warning "Auto-assigned X2_DIAG_PIN to E2_DIAG_PIN."
108
-  #elif X2_USE_ENDSTOP == _E3DIAG_
109
-    #warning "Auto-assigned X2_DIAG_PIN to E3_DIAG_PIN."
110
-  #elif X2_USE_ENDSTOP == _E4DIAG_
111
-    #warning "Auto-assigned X2_DIAG_PIN to E4_DIAG_PIN."
112
-  #elif X2_USE_ENDSTOP == _E5DIAG_
113
-    #warning "Auto-assigned X2_DIAG_PIN to E5_DIAG_PIN."
114
-  #elif X2_USE_ENDSTOP == _E6DIAG_
115
-    #warning "Auto-assigned X2_DIAG_PIN to E6_DIAG_PIN."
116
-  #elif X2_USE_ENDSTOP == _E7DIAG_
117
-    #warning "Auto-assigned X2_DIAG_PIN to E7_DIAG_PIN."
62
+#ifndef NO_AUTO_ASSIGN_WARNING
63
+
64
+  #if AUTO_ASSIGNED_X2_STEPPER
65
+    #warning "Note: Auto-assigned X2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
118 66
   #endif
119
-#endif
120
-#if AUTO_ASSIGNED_Y2_STEPPER
121
-  #warning "Auto-assigned Y2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
122
-#endif
123
-#if AUTO_ASSIGNED_Y2_MS1
124
-  #warning "Auto-assigned Y2_MS1_PIN to an unused En_MS1_PIN."
125
-#endif
126
-#if AUTO_ASSIGNED_Y2_MS2
127
-  #warning "Auto-assigned Y2_MS2_PIN to an unused En_MS2_PIN."
128
-#endif
129
-#if AUTO_ASSIGNED_Y2_MS3
130
-  #warning "Auto-assigned Y2_MS3_PIN to an unused En_MS3_PIN."
131
-#endif
132
-#if AUTO_ASSIGNED_Y2_CS
133
-  #warning "Auto-assigned Y2_CS_PIN to an unused En_CS_PIN."
134
-#endif
135
-#if AUTO_ASSIGNED_Y2_DIAG
136
-  #if Y2_USE_ENDSTOP == _XMIN_
137
-    #warning "Auto-assigned Y2_DIAG_PIN to X_MIN_PIN."
138
-  #elif Y2_USE_ENDSTOP == _XMAX_
139
-    #warning "Auto-assigned Y2_DIAG_PIN to X_MAX_PIN."
140
-  #elif Y2_USE_ENDSTOP == _XSTOP_
141
-    #warning "Auto-assigned Y2_DIAG_PIN to X_STOP_PIN."
142
-  #elif Y2_USE_ENDSTOP == _YMIN_
143
-    #warning "Auto-assigned Y2_DIAG_PIN to Y_MIN_PIN."
144
-  #elif Y2_USE_ENDSTOP == _YMAX_
145
-    #warning "Auto-assigned Y2_DIAG_PIN to Y_MAX_PIN."
146
-  #elif Y2_USE_ENDSTOP == _YSTOP_
147
-    #warning "Auto-assigned Y2_DIAG_PIN to Y_STOP_PIN."
148
-  #elif Y2_USE_ENDSTOP == _ZMIN_
149
-    #warning "Auto-assigned Y2_DIAG_PIN to Z_MIN_PIN."
150
-  #elif Y2_USE_ENDSTOP == _ZMAX_
151
-    #warning "Auto-assigned Y2_DIAG_PIN to Z_MAX_PIN."
152
-  #elif Y2_USE_ENDSTOP == _ZSTOP_
153
-    #warning "Auto-assigned Y2_DIAG_PIN to Z_STOP_PIN."
154
-  #elif Y2_USE_ENDSTOP == _XDIAG_
155
-    #warning "Auto-assigned Y2_DIAG_PIN to X_DIAG_PIN."
156
-  #elif Y2_USE_ENDSTOP == _YDIAG_
157
-    #warning "Auto-assigned Y2_DIAG_PIN to Y_DIAG_PIN."
158
-  #elif Y2_USE_ENDSTOP == _ZDIAG_
159
-    #warning "Auto-assigned Y2_DIAG_PIN to Z_DIAG_PIN."
160
-  #elif Y2_USE_ENDSTOP == _E0DIAG_
161
-    #warning "Auto-assigned Y2_DIAG_PIN to E0_DIAG_PIN."
162
-  #elif Y2_USE_ENDSTOP == _E1DIAG_
163
-    #warning "Auto-assigned Y2_DIAG_PIN to E1_DIAG_PIN."
164
-  #elif Y2_USE_ENDSTOP == _E2DIAG_
165
-    #warning "Auto-assigned Y2_DIAG_PIN to E2_DIAG_PIN."
166
-  #elif Y2_USE_ENDSTOP == _E3DIAG_
167
-    #warning "Auto-assigned Y2_DIAG_PIN to E3_DIAG_PIN."
168
-  #elif Y2_USE_ENDSTOP == _E4DIAG_
169
-    #warning "Auto-assigned Y2_DIAG_PIN to E4_DIAG_PIN."
170
-  #elif Y2_USE_ENDSTOP == _E5DIAG_
171
-    #warning "Auto-assigned Y2_DIAG_PIN to E5_DIAG_PIN."
172
-  #elif Y2_USE_ENDSTOP == _E6DIAG_
173
-    #warning "Auto-assigned Y2_DIAG_PIN to E6_DIAG_PIN."
174
-  #elif Y2_USE_ENDSTOP == _E7DIAG_
175
-    #warning "Auto-assigned Y2_DIAG_PIN to E7_DIAG_PIN."
67
+  #if AUTO_ASSIGNED_X2_MS1
68
+    #warning "Note: Auto-assigned X2_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
176 69
   #endif
177
-#endif
178
-#if AUTO_ASSIGNED_Z2_STEPPER
179
-  #warning "Auto-assigned Z2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
180
-#endif
181
-#if AUTO_ASSIGNED_Z2_MS1
182
-  #warning "Auto-assigned Z2_MS1_PIN to an unused En_MS1_PIN."
183
-#endif
184
-#if AUTO_ASSIGNED_Z2_MS2
185
-  #warning "Auto-assigned Z2_MS2_PIN to an unused En_MS2_PIN."
186
-#endif
187
-#if AUTO_ASSIGNED_Z2_MS3
188
-  #warning "Auto-assigned Z2_MS3_PIN to an unused En_MS3_PIN."
189
-#endif
190
-#if AUTO_ASSIGNED_Z2_CS
191
-  #warning "Auto-assigned Z2_CS_PIN to an unused En_CS_PIN."
192
-#endif
193
-#if AUTO_ASSIGNED_Z2_DIAG
194
-  #if Z2_USE_ENDSTOP == _XMIN_
195
-    #warning "Auto-assigned Z2_DIAG_PIN to X_MIN_PIN."
196
-  #elif Z2_USE_ENDSTOP == _XMAX_
197
-    #warning "Auto-assigned Z2_DIAG_PIN to X_MAX_PIN."
198
-  #elif Z2_USE_ENDSTOP == _XSTOP_
199
-    #warning "Auto-assigned Z2_DIAG_PIN to X_STOP_PIN."
200
-  #elif Z2_USE_ENDSTOP == _YMIN_
201
-    #warning "Auto-assigned Z2_DIAG_PIN to Y_MIN_PIN."
202
-  #elif Z2_USE_ENDSTOP == _YMAX_
203
-    #warning "Auto-assigned Z2_DIAG_PIN to Y_MAX_PIN."
204
-  #elif Z2_USE_ENDSTOP == _YSTOP_
205
-    #warning "Auto-assigned Z2_DIAG_PIN to Y_STOP_PIN."
206
-  #elif Z2_USE_ENDSTOP == _ZMIN_
207
-    #warning "Auto-assigned Z2_DIAG_PIN to Z_MIN_PIN."
208
-  #elif Z2_USE_ENDSTOP == _ZMAX_
209
-    #warning "Auto-assigned Z2_DIAG_PIN to Z_MAX_PIN."
210
-  #elif Z2_USE_ENDSTOP == _ZSTOP_
211
-    #warning "Auto-assigned Z2_DIAG_PIN to Z_STOP_PIN."
212
-  #elif Z2_USE_ENDSTOP == _XDIAG_
213
-    #warning "Auto-assigned Z2_DIAG_PIN to X_DIAG_PIN."
214
-  #elif Z2_USE_ENDSTOP == _YDIAG_
215
-    #warning "Auto-assigned Z2_DIAG_PIN to Y_DIAG_PIN."
216
-  #elif Z2_USE_ENDSTOP == _ZDIAG_
217
-    #warning "Auto-assigned Z2_DIAG_PIN to Z_DIAG_PIN."
218
-  #elif Z2_USE_ENDSTOP == _E0DIAG_
219
-    #warning "Auto-assigned Z2_DIAG_PIN to E0_DIAG_PIN."
220
-  #elif Z2_USE_ENDSTOP == _E1DIAG_
221
-    #warning "Auto-assigned Z2_DIAG_PIN to E1_DIAG_PIN."
222
-  #elif Z2_USE_ENDSTOP == _E2DIAG_
223
-    #warning "Auto-assigned Z2_DIAG_PIN to E2_DIAG_PIN."
224
-  #elif Z2_USE_ENDSTOP == _E3DIAG_
225
-    #warning "Auto-assigned Z2_DIAG_PIN to E3_DIAG_PIN."
226
-  #elif Z2_USE_ENDSTOP == _E4DIAG_
227
-    #warning "Auto-assigned Z2_DIAG_PIN to E4_DIAG_PIN."
228
-  #elif Z2_USE_ENDSTOP == _E5DIAG_
229
-    #warning "Auto-assigned Z2_DIAG_PIN to E5_DIAG_PIN."
230
-  #elif Z2_USE_ENDSTOP == _E6DIAG_
231
-    #warning "Auto-assigned Z2_DIAG_PIN to E6_DIAG_PIN."
232
-  #elif Z2_USE_ENDSTOP == _E7DIAG_
233
-    #warning "Auto-assigned Z2_DIAG_PIN to E7_DIAG_PIN."
70
+  #if AUTO_ASSIGNED_X2_MS2
71
+    #warning "Note: Auto-assigned X2_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
234 72
   #endif
235
-#endif
236
-#if AUTO_ASSIGNED_Z3_STEPPER
237
-  #warning "Auto-assigned Z3 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
238
-#endif
239
-#if AUTO_ASSIGNED_Z3_CS
240
-  #warning "Auto-assigned Z3_CS_PIN to an unused En_CS_PIN."
241
-#endif
242
-#if AUTO_ASSIGNED_Z3_MS1
243
-  #warning "Auto-assigned Z3_MS1_PIN to an unused En_MS1_PIN."
244
-#endif
245
-#if AUTO_ASSIGNED_Z3_MS2
246
-  #warning "Auto-assigned Z3_MS2_PIN to an unused En_MS2_PIN."
247
-#endif
248
-#if AUTO_ASSIGNED_Z3_MS3
249
-  #warning "Auto-assigned Z3_MS3_PIN to an unused En_MS3_PIN."
250
-#endif
251
-#if AUTO_ASSIGNED_Z3_DIAG
252
-  #if Z3_USE_ENDSTOP == _XMIN_
253
-    #warning "Auto-assigned Z3_DIAG_PIN to X_MIN_PIN."
254
-  #elif Z3_USE_ENDSTOP == _XMAX_
255
-    #warning "Auto-assigned Z3_DIAG_PIN to X_MAX_PIN."
256
-  #elif Z3_USE_ENDSTOP == _XSTOP_
257
-    #warning "Auto-assigned Z3_DIAG_PIN to X_STOP_PIN."
258
-  #elif Z3_USE_ENDSTOP == _YMIN_
259
-    #warning "Auto-assigned Z3_DIAG_PIN to Y_MIN_PIN."
260
-  #elif Z3_USE_ENDSTOP == _YMAX_
261
-    #warning "Auto-assigned Z3_DIAG_PIN to Y_MAX_PIN."
262
-  #elif Z3_USE_ENDSTOP == _YSTOP_
263
-    #warning "Auto-assigned Z3_DIAG_PIN to Y_STOP_PIN."
264
-  #elif Z3_USE_ENDSTOP == _ZMIN_
265
-    #warning "Auto-assigned Z3_DIAG_PIN to Z_MIN_PIN."
266
-  #elif Z3_USE_ENDSTOP == _ZMAX_
267
-    #warning "Auto-assigned Z3_DIAG_PIN to Z_MAX_PIN."
268
-  #elif Z3_USE_ENDSTOP == _ZSTOP_
269
-    #warning "Auto-assigned Z3_DIAG_PIN to Z_STOP_PIN."
270
-  #elif Z3_USE_ENDSTOP == _XDIAG_
271
-    #warning "Auto-assigned Z3_DIAG_PIN to X_DIAG_PIN."
272
-  #elif Z3_USE_ENDSTOP == _YDIAG_
273
-    #warning "Auto-assigned Z3_DIAG_PIN to Y_DIAG_PIN."
274
-  #elif Z3_USE_ENDSTOP == _ZDIAG_
275
-    #warning "Auto-assigned Z3_DIAG_PIN to Z_DIAG_PIN."
276
-  #elif Z3_USE_ENDSTOP == _E0DIAG_
277
-    #warning "Auto-assigned Z3_DIAG_PIN to E0_DIAG_PIN."
278
-  #elif Z3_USE_ENDSTOP == _E1DIAG_
279
-    #warning "Auto-assigned Z3_DIAG_PIN to E1_DIAG_PIN."
280
-  #elif Z3_USE_ENDSTOP == _E2DIAG_
281
-    #warning "Auto-assigned Z3_DIAG_PIN to E2_DIAG_PIN."
282
-  #elif Z3_USE_ENDSTOP == _E3DIAG_
283
-    #warning "Auto-assigned Z3_DIAG_PIN to E3_DIAG_PIN."
284
-  #elif Z3_USE_ENDSTOP == _E4DIAG_
285
-    #warning "Auto-assigned Z3_DIAG_PIN to E4_DIAG_PIN."
286
-  #elif Z3_USE_ENDSTOP == _E5DIAG_
287
-    #warning "Auto-assigned Z3_DIAG_PIN to E5_DIAG_PIN."
288
-  #elif Z3_USE_ENDSTOP == _E6DIAG_
289
-    #warning "Auto-assigned Z3_DIAG_PIN to E6_DIAG_PIN."
290
-  #elif Z3_USE_ENDSTOP == _E7DIAG_
291
-    #warning "Auto-assigned Z3_DIAG_PIN to E7_DIAG_PIN."
73
+  #if AUTO_ASSIGNED_X2_MS3
74
+    #warning "Note: Auto-assigned X2_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
292 75
   #endif
293
-#endif
294
-#if AUTO_ASSIGNED_Z4_STEPPER
295
-  #warning "Auto-assigned Z4 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
296
-#endif
297
-#if AUTO_ASSIGNED_Z4_CS
298
-  #warning "Auto-assigned Z4_CS_PIN to an unused En_CS_PIN."
299
-#endif
300
-#if AUTO_ASSIGNED_Z4_MS1
301
-  #warning "Auto-assigned Z4_MS1_PIN to an unused En_MS1_PIN."
302
-#endif
303
-#if AUTO_ASSIGNED_Z4_MS2
304
-  #warning "Auto-assigned Z4_MS2_PIN to an unused En_MS2_PIN."
305
-#endif
306
-#if AUTO_ASSIGNED_Z4_MS3
307
-  #warning "Auto-assigned Z4_MS3_PIN to an unused En_MS3_PIN."
308
-#endif
309
-#if AUTO_ASSIGNED_Z4_DIAG
310
-  #if Z4_USE_ENDSTOP == _XMIN_
311
-    #warning "Auto-assigned Z4_DIAG_PIN to X_MIN_PIN."
312
-  #elif Z4_USE_ENDSTOP == _XMAX_
313
-    #warning "Auto-assigned Z4_DIAG_PIN to X_MAX_PIN."
314
-  #elif Z4_USE_ENDSTOP == _XSTOP_
315
-    #warning "Auto-assigned Z4_DIAG_PIN to X_STOP_PIN."
316
-  #elif Z4_USE_ENDSTOP == _YMIN_
317
-    #warning "Auto-assigned Z4_DIAG_PIN to Y_MIN_PIN."
318
-  #elif Z4_USE_ENDSTOP == _YMAX_
319
-    #warning "Auto-assigned Z4_DIAG_PIN to Y_MAX_PIN."
320
-  #elif Z4_USE_ENDSTOP == _YSTOP_
321
-    #warning "Auto-assigned Z4_DIAG_PIN to Y_STOP_PIN."
322
-  #elif Z4_USE_ENDSTOP == _ZMIN_
323
-    #warning "Auto-assigned Z4_DIAG_PIN to Z_MIN_PIN."
324
-  #elif Z4_USE_ENDSTOP == _ZMAX_
325
-    #warning "Auto-assigned Z4_DIAG_PIN to Z_MAX_PIN."
326
-  #elif Z4_USE_ENDSTOP == _ZSTOP_
327
-    #warning "Auto-assigned Z4_DIAG_PIN to Z_STOP_PIN."
328
-  #elif Z4_USE_ENDSTOP == _XDIAG_
329
-    #warning "Auto-assigned Z4_DIAG_PIN to X_DIAG_PIN."
330
-  #elif Z4_USE_ENDSTOP == _YDIAG_
331
-    #warning "Auto-assigned Z4_DIAG_PIN to Y_DIAG_PIN."
332
-  #elif Z4_USE_ENDSTOP == _ZDIAG_
333
-    #warning "Auto-assigned Z4_DIAG_PIN to Z_DIAG_PIN."
334
-  #elif Z4_USE_ENDSTOP == _E0DIAG_
335
-    #warning "Auto-assigned Z4_DIAG_PIN to E0_DIAG_PIN."
336
-  #elif Z4_USE_ENDSTOP == _E1DIAG_
337
-    #warning "Auto-assigned Z4_DIAG_PIN to E1_DIAG_PIN."
338
-  #elif Z4_USE_ENDSTOP == _E2DIAG_
339
-    #warning "Auto-assigned Z4_DIAG_PIN to E2_DIAG_PIN."
340
-  #elif Z4_USE_ENDSTOP == _E3DIAG_
341
-    #warning "Auto-assigned Z4_DIAG_PIN to E3_DIAG_PIN."
342
-  #elif Z4_USE_ENDSTOP == _E4DIAG_
343
-    #warning "Auto-assigned Z4_DIAG_PIN to E4_DIAG_PIN."
344
-  #elif Z4_USE_ENDSTOP == _E5DIAG_
345
-    #warning "Auto-assigned Z4_DIAG_PIN to E5_DIAG_PIN."
346
-  #elif Z4_USE_ENDSTOP == _E6DIAG_
347
-    #warning "Auto-assigned Z4_DIAG_PIN to E6_DIAG_PIN."
348
-  #elif Z4_USE_ENDSTOP == _E7DIAG_
349
-    #warning "Auto-assigned Z4_DIAG_PIN to E7_DIAG_PIN."
76
+  #if AUTO_ASSIGNED_X2_CS
77
+    #warning "Note: Auto-assigned X2_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
350 78
   #endif
351
-#endif
352
-#if AUTO_ASSIGNED_I_STEPPER
353
-  #warning "Auto-assigned I STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
354
-#endif
355
-#if AUTO_ASSIGNED_I_CS
356
-  #warning "Auto-assigned I_CS_PIN to an unused En_CS_PIN."
357
-#endif
358
-#if AUTO_ASSIGNED_I_MS1
359
-  #warning "Auto-assigned I_MS1_PIN to an unused En_MS1_PIN."
360
-#endif
361
-#if AUTO_ASSIGNED_I_MS2
362
-  #warning "Auto-assigned I_MS2_PIN to an unused En_MS2_PIN."
363
-#endif
364
-#if AUTO_ASSIGNED_I_MS3
365
-  #warning "Auto-assigned I_MS3_PIN to an unused En_MS3_PIN."
366
-#endif
367
-#if AUTO_ASSIGNED_I_DIAG
368
-  #if I_USE_ENDSTOP == _XMIN_
369
-    #warning "Auto-assigned I_DIAG_PIN to X_MIN_PIN."
370
-  #elif I_USE_ENDSTOP == _XMAX_
371
-    #warning "Auto-assigned I_DIAG_PIN to X_MAX_PIN."
372
-  #elif I_USE_ENDSTOP == _XSTOP_
373
-    #warning "Auto-assigned I_DIAG_PIN to X_STOP_PIN."
374
-  #elif I_USE_ENDSTOP == _YMIN_
375
-    #warning "Auto-assigned I_DIAG_PIN to Y_MIN_PIN."
376
-  #elif I_USE_ENDSTOP == _YMAX_
377
-    #warning "Auto-assigned I_DIAG_PIN to Y_MAX_PIN."
378
-  #elif I_USE_ENDSTOP == _YSTOP_
379
-    #warning "Auto-assigned I_DIAG_PIN to Y_STOP_PIN."
380
-  #elif I_USE_ENDSTOP == _ZMIN_
381
-    #warning "Auto-assigned I_DIAG_PIN to Z_MIN_PIN."
382
-  #elif I_USE_ENDSTOP == _ZMAX_
383
-    #warning "Auto-assigned I_DIAG_PIN to Z_MAX_PIN."
384
-  #elif I_USE_ENDSTOP == _ZSTOP_
385
-    #warning "Auto-assigned I_DIAG_PIN to Z_STOP_PIN."
386
-  #elif I_USE_ENDSTOP == _XDIAG_
387
-    #warning "Auto-assigned I_DIAG_PIN to X_DIAG_PIN."
388
-  #elif I_USE_ENDSTOP == _YDIAG_
389
-    #warning "Auto-assigned I_DIAG_PIN to Y_DIAG_PIN."
390
-  #elif I_USE_ENDSTOP == _ZDIAG_
391
-    #warning "Auto-assigned I_DIAG_PIN to Z_DIAG_PIN."
392
-  #elif I_USE_ENDSTOP == _E0DIAG_
393
-    #warning "Auto-assigned I_DIAG_PIN to E0_DIAG_PIN."
394
-  #elif I_USE_ENDSTOP == _E1DIAG_
395
-    #warning "Auto-assigned I_DIAG_PIN to E1_DIAG_PIN."
396
-  #elif I_USE_ENDSTOP == _E2DIAG_
397
-    #warning "Auto-assigned I_DIAG_PIN to E2_DIAG_PIN."
398
-  #elif I_USE_ENDSTOP == _E3DIAG_
399
-    #warning "Auto-assigned I_DIAG_PIN to E3_DIAG_PIN."
400
-  #elif I_USE_ENDSTOP == _E4DIAG_
401
-    #warning "Auto-assigned I_DIAG_PIN to E4_DIAG_PIN."
402
-  #elif I_USE_ENDSTOP == _E5DIAG_
403
-    #warning "Auto-assigned I_DIAG_PIN to E5_DIAG_PIN."
404
-  #elif I_USE_ENDSTOP == _E6DIAG_
405
-    #warning "Auto-assigned I_DIAG_PIN to E6_DIAG_PIN."
406
-  #elif I_USE_ENDSTOP == _E7DIAG_
407
-    #warning "Auto-assigned I_DIAG_PIN to E7_DIAG_PIN."
79
+  #if AUTO_ASSIGNED_X2_DIAG
80
+    #if X2_USE_ENDSTOP == _XMIN_
81
+      #warning "Note: Auto-assigned X2_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
82
+    #elif X2_USE_ENDSTOP == _XMAX_
83
+      #warning "Note: Auto-assigned X2_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
84
+    #elif X2_USE_ENDSTOP == _XSTOP_
85
+      #warning "Note: Auto-assigned X2_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
86
+    #elif X2_USE_ENDSTOP == _YMIN_
87
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
88
+    #elif X2_USE_ENDSTOP == _YMAX_
89
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
90
+    #elif X2_USE_ENDSTOP == _YSTOP_
91
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
92
+    #elif X2_USE_ENDSTOP == _ZMIN_
93
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
94
+    #elif X2_USE_ENDSTOP == _ZMAX_
95
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
96
+    #elif X2_USE_ENDSTOP == _ZSTOP_
97
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
98
+    #elif X2_USE_ENDSTOP == _XDIAG_
99
+      #warning "Note: Auto-assigned X2_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
100
+    #elif X2_USE_ENDSTOP == _YDIAG_
101
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
102
+    #elif X2_USE_ENDSTOP == _ZDIAG_
103
+      #warning "Note: Auto-assigned X2_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
104
+    #elif X2_USE_ENDSTOP == _E0DIAG_
105
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
106
+    #elif X2_USE_ENDSTOP == _E1DIAG_
107
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
108
+    #elif X2_USE_ENDSTOP == _E2DIAG_
109
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
110
+    #elif X2_USE_ENDSTOP == _E3DIAG_
111
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
112
+    #elif X2_USE_ENDSTOP == _E4DIAG_
113
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
114
+    #elif X2_USE_ENDSTOP == _E5DIAG_
115
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
116
+    #elif X2_USE_ENDSTOP == _E6DIAG_
117
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
118
+    #elif X2_USE_ENDSTOP == _E7DIAG_
119
+      #warning "Note: Auto-assigned X2_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
120
+    #endif
408 121
   #endif
409
-#endif
410
-#if AUTO_ASSIGNED_J_STEPPER
411
-  #warning "Auto-assigned J STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
412
-#endif
413
-#if AUTO_ASSIGNED_J_CS
414
-  #warning "Auto-assigned J_CS_PIN to an unused En_CS_PIN."
415
-#endif
416
-#if AUTO_ASSIGNED_J_MS1
417
-  #warning "Auto-assigned J_MS1_PIN to an unused En_MS1_PIN."
418
-#endif
419
-#if AUTO_ASSIGNED_J_MS2
420
-  #warning "Auto-assigned J_MS2_PIN to an unused En_MS2_PIN."
421
-#endif
422
-#if AUTO_ASSIGNED_J_MS3
423
-  #warning "Auto-assigned J_MS3_PIN to an unused En_MS3_PIN."
424
-#endif
425
-#if AUTO_ASSIGNED_J_DIAG
426
-  #if J_USE_ENDSTOP == _XMIN_
427
-    #warning "Auto-assigned J_DIAG_PIN to X_MIN_PIN."
428
-  #elif J_USE_ENDSTOP == _XMAX_
429
-    #warning "Auto-assigned J_DIAG_PIN to X_MAX_PIN."
430
-  #elif J_USE_ENDSTOP == _XSTOP_
431
-    #warning "Auto-assigned J_DIAG_PIN to X_STOP_PIN."
432
-  #elif J_USE_ENDSTOP == _YMIN_
433
-    #warning "Auto-assigned J_DIAG_PIN to Y_MIN_PIN."
434
-  #elif J_USE_ENDSTOP == _YMAX_
435
-    #warning "Auto-assigned J_DIAG_PIN to Y_MAX_PIN."
436
-  #elif J_USE_ENDSTOP == _YSTOP_
437
-    #warning "Auto-assigned J_DIAG_PIN to Y_STOP_PIN."
438
-  #elif J_USE_ENDSTOP == _ZMIN_
439
-    #warning "Auto-assigned J_DIAG_PIN to Z_MIN_PIN."
440
-  #elif J_USE_ENDSTOP == _ZMAX_
441
-    #warning "Auto-assigned J_DIAG_PIN to Z_MAX_PIN."
442
-  #elif J_USE_ENDSTOP == _ZSTOP_
443
-    #warning "Auto-assigned J_DIAG_PIN to Z_STOP_PIN."
444
-  #elif J_USE_ENDSTOP == _XDIAG_
445
-    #warning "Auto-assigned J_DIAG_PIN to X_DIAG_PIN."
446
-  #elif J_USE_ENDSTOP == _YDIAG_
447
-    #warning "Auto-assigned J_DIAG_PIN to Y_DIAG_PIN."
448
-  #elif J_USE_ENDSTOP == _ZDIAG_
449
-    #warning "Auto-assigned J_DIAG_PIN to Z_DIAG_PIN."
450
-  #elif J_USE_ENDSTOP == _E0DIAG_
451
-    #warning "Auto-assigned J_DIAG_PIN to E0_DIAG_PIN."
452
-  #elif J_USE_ENDSTOP == _E1DIAG_
453
-    #warning "Auto-assigned J_DIAG_PIN to E1_DIAG_PIN."
454
-  #elif J_USE_ENDSTOP == _E2DIAG_
455
-    #warning "Auto-assigned J_DIAG_PIN to E2_DIAG_PIN."
456
-  #elif J_USE_ENDSTOP == _E3DIAG_
457
-    #warning "Auto-assigned J_DIAG_PIN to E3_DIAG_PIN."
458
-  #elif J_USE_ENDSTOP == _E4DIAG_
459
-    #warning "Auto-assigned J_DIAG_PIN to E4_DIAG_PIN."
460
-  #elif J_USE_ENDSTOP == _E5DIAG_
461
-    #warning "Auto-assigned J_DIAG_PIN to E5_DIAG_PIN."
462
-  #elif J_USE_ENDSTOP == _E6DIAG_
463
-    #warning "Auto-assigned J_DIAG_PIN to E6_DIAG_PIN."
464
-  #elif J_USE_ENDSTOP == _E7DIAG_
465
-    #warning "Auto-assigned J_DIAG_PIN to E7_DIAG_PIN."
122
+  #if AUTO_ASSIGNED_Y2_STEPPER
123
+    #warning "Note: Auto-assigned Y2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
466 124
   #endif
467
-#endif
468
-#if AUTO_ASSIGNED_K_STEPPER
469
-  #warning "Auto-assigned K STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
470
-#endif
471
-#if AUTO_ASSIGNED_K_CS
472
-  #warning "Auto-assigned K_CS_PIN to an unused En_CS_PIN."
473
-#endif
474
-#if AUTO_ASSIGNED_K_MS1
475
-  #warning "Auto-assigned K_MS1_PIN to an unused En_MS1_PIN."
476
-#endif
477
-#if AUTO_ASSIGNED_K_MS2
478
-  #warning "Auto-assigned K_MS2_PIN to an unused En_MS2_PIN."
479
-#endif
480
-#if AUTO_ASSIGNED_K_MS3
481
-  #warning "Auto-assigned K_MS3_PIN to an unused En_MS3_PIN."
482
-#endif
483
-#if AUTO_ASSIGNED_K_DIAG
484
-  #if K_USE_ENDSTOP == _XMIN_
485
-    #warning "Auto-assigned K_DIAG_PIN to X_MIN_PIN."
486
-  #elif K_USE_ENDSTOP == _XMAX_
487
-    #warning "Auto-assigned K_DIAG_PIN to X_MAX_PIN."
488
-  #elif K_USE_ENDSTOP == _XSTOP_
489
-    #warning "Auto-assigned K_DIAG_PIN to X_STOP_PIN."
490
-  #elif K_USE_ENDSTOP == _YMIN_
491
-    #warning "Auto-assigned K_DIAG_PIN to Y_MIN_PIN."
492
-  #elif K_USE_ENDSTOP == _YMAX_
493
-    #warning "Auto-assigned K_DIAG_PIN to Y_MAX_PIN."
494
-  #elif K_USE_ENDSTOP == _YSTOP_
495
-    #warning "Auto-assigned K_DIAG_PIN to Y_STOP_PIN."
496
-  #elif K_USE_ENDSTOP == _ZMIN_
497
-    #warning "Auto-assigned K_DIAG_PIN to Z_MIN_PIN."
498
-  #elif K_USE_ENDSTOP == _ZMAX_
499
-    #warning "Auto-assigned K_DIAG_PIN to Z_MAX_PIN."
500
-  #elif K_USE_ENDSTOP == _ZSTOP_
501
-    #warning "Auto-assigned K_DIAG_PIN to Z_STOP_PIN."
502
-  #elif K_USE_ENDSTOP == _XDIAG_
503
-    #warning "Auto-assigned K_DIAG_PIN to X_DIAG_PIN."
504
-  #elif K_USE_ENDSTOP == _YDIAG_
505
-    #warning "Auto-assigned K_DIAG_PIN to Y_DIAG_PIN."
506
-  #elif K_USE_ENDSTOP == _ZDIAG_
507
-    #warning "Auto-assigned K_DIAG_PIN to Z_DIAG_PIN."
508
-  #elif K_USE_ENDSTOP == _E0DIAG_
509
-    #warning "Auto-assigned K_DIAG_PIN to E0_DIAG_PIN."
510
-  #elif K_USE_ENDSTOP == _E1DIAG_
511
-    #warning "Auto-assigned K_DIAG_PIN to E1_DIAG_PIN."
512
-  #elif K_USE_ENDSTOP == _E2DIAG_
513
-    #warning "Auto-assigned K_DIAG_PIN to E2_DIAG_PIN."
514
-  #elif K_USE_ENDSTOP == _E3DIAG_
515
-    #warning "Auto-assigned K_DIAG_PIN to E3_DIAG_PIN."
516
-  #elif K_USE_ENDSTOP == _E4DIAG_
517
-    #warning "Auto-assigned K_DIAG_PIN to E4_DIAG_PIN."
518
-  #elif K_USE_ENDSTOP == _E5DIAG_
519
-    #warning "Auto-assigned K_DIAG_PIN to E5_DIAG_PIN."
520
-  #elif K_USE_ENDSTOP == _E6DIAG_
521
-    #warning "Auto-assigned K_DIAG_PIN to E6_DIAG_PIN."
522
-  #elif K_USE_ENDSTOP == _E7DIAG_
523
-    #warning "Auto-assigned K_DIAG_PIN to E7_DIAG_PIN."
125
+  #if AUTO_ASSIGNED_Y2_MS1
126
+    #warning "Note: Auto-assigned Y2_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
127
+  #endif
128
+  #if AUTO_ASSIGNED_Y2_MS2
129
+    #warning "Note: Auto-assigned Y2_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
130
+  #endif
131
+  #if AUTO_ASSIGNED_Y2_MS3
132
+    #warning "Note: Auto-assigned Y2_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
133
+  #endif
134
+  #if AUTO_ASSIGNED_Y2_CS
135
+    #warning "Note: Auto-assigned Y2_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
136
+  #endif
137
+  #if AUTO_ASSIGNED_Y2_DIAG
138
+    #if Y2_USE_ENDSTOP == _XMIN_
139
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
140
+    #elif Y2_USE_ENDSTOP == _XMAX_
141
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
142
+    #elif Y2_USE_ENDSTOP == _XSTOP_
143
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
144
+    #elif Y2_USE_ENDSTOP == _YMIN_
145
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
146
+    #elif Y2_USE_ENDSTOP == _YMAX_
147
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
148
+    #elif Y2_USE_ENDSTOP == _YSTOP_
149
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
150
+    #elif Y2_USE_ENDSTOP == _ZMIN_
151
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
152
+    #elif Y2_USE_ENDSTOP == _ZMAX_
153
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
154
+    #elif Y2_USE_ENDSTOP == _ZSTOP_
155
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
156
+    #elif Y2_USE_ENDSTOP == _XDIAG_
157
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
158
+    #elif Y2_USE_ENDSTOP == _YDIAG_
159
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
160
+    #elif Y2_USE_ENDSTOP == _ZDIAG_
161
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
162
+    #elif Y2_USE_ENDSTOP == _E0DIAG_
163
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
164
+    #elif Y2_USE_ENDSTOP == _E1DIAG_
165
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
166
+    #elif Y2_USE_ENDSTOP == _E2DIAG_
167
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
168
+    #elif Y2_USE_ENDSTOP == _E3DIAG_
169
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
170
+    #elif Y2_USE_ENDSTOP == _E4DIAG_
171
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
172
+    #elif Y2_USE_ENDSTOP == _E5DIAG_
173
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
174
+    #elif Y2_USE_ENDSTOP == _E6DIAG_
175
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
176
+    #elif Y2_USE_ENDSTOP == _E7DIAG_
177
+      #warning "Note: Auto-assigned Y2_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
178
+    #endif
179
+  #endif
180
+  #if AUTO_ASSIGNED_Z2_STEPPER
181
+    #warning "Note: Auto-assigned Z2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
182
+  #endif
183
+  #if AUTO_ASSIGNED_Z2_MS1
184
+    #warning "Note: Auto-assigned Z2_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
185
+  #endif
186
+  #if AUTO_ASSIGNED_Z2_MS2
187
+    #warning "Note: Auto-assigned Z2_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
188
+  #endif
189
+  #if AUTO_ASSIGNED_Z2_MS3
190
+    #warning "Note: Auto-assigned Z2_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
191
+  #endif
192
+  #if AUTO_ASSIGNED_Z2_CS
193
+    #warning "Note: Auto-assigned Z2_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
194
+  #endif
195
+  #if AUTO_ASSIGNED_Z2_DIAG
196
+    #if Z2_USE_ENDSTOP == _XMIN_
197
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
198
+    #elif Z2_USE_ENDSTOP == _XMAX_
199
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
200
+    #elif Z2_USE_ENDSTOP == _XSTOP_
201
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
202
+    #elif Z2_USE_ENDSTOP == _YMIN_
203
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
204
+    #elif Z2_USE_ENDSTOP == _YMAX_
205
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
206
+    #elif Z2_USE_ENDSTOP == _YSTOP_
207
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
208
+    #elif Z2_USE_ENDSTOP == _ZMIN_
209
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
210
+    #elif Z2_USE_ENDSTOP == _ZMAX_
211
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
212
+    #elif Z2_USE_ENDSTOP == _ZSTOP_
213
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
214
+    #elif Z2_USE_ENDSTOP == _XDIAG_
215
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
216
+    #elif Z2_USE_ENDSTOP == _YDIAG_
217
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
218
+    #elif Z2_USE_ENDSTOP == _ZDIAG_
219
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
220
+    #elif Z2_USE_ENDSTOP == _E0DIAG_
221
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
222
+    #elif Z2_USE_ENDSTOP == _E1DIAG_
223
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
224
+    #elif Z2_USE_ENDSTOP == _E2DIAG_
225
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
226
+    #elif Z2_USE_ENDSTOP == _E3DIAG_
227
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
228
+    #elif Z2_USE_ENDSTOP == _E4DIAG_
229
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
230
+    #elif Z2_USE_ENDSTOP == _E5DIAG_
231
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
232
+    #elif Z2_USE_ENDSTOP == _E6DIAG_
233
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
234
+    #elif Z2_USE_ENDSTOP == _E7DIAG_
235
+      #warning "Note: Auto-assigned Z2_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
236
+    #endif
237
+  #endif
238
+  #if AUTO_ASSIGNED_Z3_STEPPER
239
+    #warning "Note: Auto-assigned Z3 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
240
+  #endif
241
+  #if AUTO_ASSIGNED_Z3_CS
242
+    #warning "Note: Auto-assigned Z3_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
243
+  #endif
244
+  #if AUTO_ASSIGNED_Z3_MS1
245
+    #warning "Note: Auto-assigned Z3_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
246
+  #endif
247
+  #if AUTO_ASSIGNED_Z3_MS2
248
+    #warning "Note: Auto-assigned Z3_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
249
+  #endif
250
+  #if AUTO_ASSIGNED_Z3_MS3
251
+    #warning "Note: Auto-assigned Z3_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
252
+  #endif
253
+  #if AUTO_ASSIGNED_Z3_DIAG
254
+    #if Z3_USE_ENDSTOP == _XMIN_
255
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
256
+    #elif Z3_USE_ENDSTOP == _XMAX_
257
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
258
+    #elif Z3_USE_ENDSTOP == _XSTOP_
259
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
260
+    #elif Z3_USE_ENDSTOP == _YMIN_
261
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
262
+    #elif Z3_USE_ENDSTOP == _YMAX_
263
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
264
+    #elif Z3_USE_ENDSTOP == _YSTOP_
265
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
266
+    #elif Z3_USE_ENDSTOP == _ZMIN_
267
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
268
+    #elif Z3_USE_ENDSTOP == _ZMAX_
269
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
270
+    #elif Z3_USE_ENDSTOP == _ZSTOP_
271
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
272
+    #elif Z3_USE_ENDSTOP == _XDIAG_
273
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
274
+    #elif Z3_USE_ENDSTOP == _YDIAG_
275
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
276
+    #elif Z3_USE_ENDSTOP == _ZDIAG_
277
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
278
+    #elif Z3_USE_ENDSTOP == _E0DIAG_
279
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
280
+    #elif Z3_USE_ENDSTOP == _E1DIAG_
281
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
282
+    #elif Z3_USE_ENDSTOP == _E2DIAG_
283
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
284
+    #elif Z3_USE_ENDSTOP == _E3DIAG_
285
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
286
+    #elif Z3_USE_ENDSTOP == _E4DIAG_
287
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
288
+    #elif Z3_USE_ENDSTOP == _E5DIAG_
289
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
290
+    #elif Z3_USE_ENDSTOP == _E6DIAG_
291
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
292
+    #elif Z3_USE_ENDSTOP == _E7DIAG_
293
+      #warning "Note: Auto-assigned Z3_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
294
+    #endif
295
+  #endif
296
+  #if AUTO_ASSIGNED_Z4_STEPPER
297
+    #warning "Note: Auto-assigned Z4 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
298
+  #endif
299
+  #if AUTO_ASSIGNED_Z4_CS
300
+    #warning "Note: Auto-assigned Z4_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
301
+  #endif
302
+  #if AUTO_ASSIGNED_Z4_MS1
303
+    #warning "Note: Auto-assigned Z4_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
304
+  #endif
305
+  #if AUTO_ASSIGNED_Z4_MS2
306
+    #warning "Note: Auto-assigned Z4_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
307
+  #endif
308
+  #if AUTO_ASSIGNED_Z4_MS3
309
+    #warning "Note: Auto-assigned Z4_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
310
+  #endif
311
+  #if AUTO_ASSIGNED_Z4_DIAG
312
+    #if Z4_USE_ENDSTOP == _XMIN_
313
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
314
+    #elif Z4_USE_ENDSTOP == _XMAX_
315
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
316
+    #elif Z4_USE_ENDSTOP == _XSTOP_
317
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
318
+    #elif Z4_USE_ENDSTOP == _YMIN_
319
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
320
+    #elif Z4_USE_ENDSTOP == _YMAX_
321
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
322
+    #elif Z4_USE_ENDSTOP == _YSTOP_
323
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
324
+    #elif Z4_USE_ENDSTOP == _ZMIN_
325
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
326
+    #elif Z4_USE_ENDSTOP == _ZMAX_
327
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
328
+    #elif Z4_USE_ENDSTOP == _ZSTOP_
329
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
330
+    #elif Z4_USE_ENDSTOP == _XDIAG_
331
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
332
+    #elif Z4_USE_ENDSTOP == _YDIAG_
333
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
334
+    #elif Z4_USE_ENDSTOP == _ZDIAG_
335
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
336
+    #elif Z4_USE_ENDSTOP == _E0DIAG_
337
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
338
+    #elif Z4_USE_ENDSTOP == _E1DIAG_
339
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
340
+    #elif Z4_USE_ENDSTOP == _E2DIAG_
341
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
342
+    #elif Z4_USE_ENDSTOP == _E3DIAG_
343
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
344
+    #elif Z4_USE_ENDSTOP == _E4DIAG_
345
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
346
+    #elif Z4_USE_ENDSTOP == _E5DIAG_
347
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
348
+    #elif Z4_USE_ENDSTOP == _E6DIAG_
349
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
350
+    #elif Z4_USE_ENDSTOP == _E7DIAG_
351
+      #warning "Note: Auto-assigned Z4_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
352
+    #endif
353
+  #endif
354
+  #if AUTO_ASSIGNED_I_STEPPER
355
+    #warning "Note: Auto-assigned I STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
356
+  #endif
357
+  #if AUTO_ASSIGNED_I_CS
358
+    #warning "Note: Auto-assigned I_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
359
+  #endif
360
+  #if AUTO_ASSIGNED_I_MS1
361
+    #warning "Note: Auto-assigned I_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
362
+  #endif
363
+  #if AUTO_ASSIGNED_I_MS2
364
+    #warning "Note: Auto-assigned I_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
365
+  #endif
366
+  #if AUTO_ASSIGNED_I_MS3
367
+    #warning "Note: Auto-assigned I_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
368
+  #endif
369
+  #if AUTO_ASSIGNED_I_DIAG
370
+    #if I_USE_ENDSTOP == _XMIN_
371
+      #warning "Note: Auto-assigned I_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
372
+    #elif I_USE_ENDSTOP == _XMAX_
373
+      #warning "Note: Auto-assigned I_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
374
+    #elif I_USE_ENDSTOP == _XSTOP_
375
+      #warning "Note: Auto-assigned I_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
376
+    #elif I_USE_ENDSTOP == _YMIN_
377
+      #warning "Note: Auto-assigned I_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
378
+    #elif I_USE_ENDSTOP == _YMAX_
379
+      #warning "Note: Auto-assigned I_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
380
+    #elif I_USE_ENDSTOP == _YSTOP_
381
+      #warning "Note: Auto-assigned I_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
382
+    #elif I_USE_ENDSTOP == _ZMIN_
383
+      #warning "Note: Auto-assigned I_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
384
+    #elif I_USE_ENDSTOP == _ZMAX_
385
+      #warning "Note: Auto-assigned I_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
386
+    #elif I_USE_ENDSTOP == _ZSTOP_
387
+      #warning "Note: Auto-assigned I_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
388
+    #elif I_USE_ENDSTOP == _XDIAG_
389
+      #warning "Note: Auto-assigned I_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
390
+    #elif I_USE_ENDSTOP == _YDIAG_
391
+      #warning "Note: Auto-assigned I_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
392
+    #elif I_USE_ENDSTOP == _ZDIAG_
393
+      #warning "Note: Auto-assigned I_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
394
+    #elif I_USE_ENDSTOP == _E0DIAG_
395
+      #warning "Note: Auto-assigned I_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
396
+    #elif I_USE_ENDSTOP == _E1DIAG_
397
+      #warning "Note: Auto-assigned I_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
398
+    #elif I_USE_ENDSTOP == _E2DIAG_
399
+      #warning "Note: Auto-assigned I_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
400
+    #elif I_USE_ENDSTOP == _E3DIAG_
401
+      #warning "Note: Auto-assigned I_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
402
+    #elif I_USE_ENDSTOP == _E4DIAG_
403
+      #warning "Note: Auto-assigned I_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
404
+    #elif I_USE_ENDSTOP == _E5DIAG_
405
+      #warning "Note: Auto-assigned I_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
406
+    #elif I_USE_ENDSTOP == _E6DIAG_
407
+      #warning "Note: Auto-assigned I_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
408
+    #elif I_USE_ENDSTOP == _E7DIAG_
409
+      #warning "Note: Auto-assigned I_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
410
+    #endif
411
+  #endif
412
+  #if AUTO_ASSIGNED_J_STEPPER
413
+    #warning "Note: Auto-assigned J STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
414
+  #endif
415
+  #if AUTO_ASSIGNED_J_CS
416
+    #warning "Note: Auto-assigned J_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
417
+  #endif
418
+  #if AUTO_ASSIGNED_J_MS1
419
+    #warning "Note: Auto-assigned J_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
420
+  #endif
421
+  #if AUTO_ASSIGNED_J_MS2
422
+    #warning "Note: Auto-assigned J_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
423
+  #endif
424
+  #if AUTO_ASSIGNED_J_MS3
425
+    #warning "Note: Auto-assigned J_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
426
+  #endif
427
+  #if AUTO_ASSIGNED_J_DIAG
428
+    #if J_USE_ENDSTOP == _XMIN_
429
+      #warning "Note: Auto-assigned J_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
430
+    #elif J_USE_ENDSTOP == _XMAX_
431
+      #warning "Note: Auto-assigned J_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
432
+    #elif J_USE_ENDSTOP == _XSTOP_
433
+      #warning "Note: Auto-assigned J_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
434
+    #elif J_USE_ENDSTOP == _YMIN_
435
+      #warning "Note: Auto-assigned J_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
436
+    #elif J_USE_ENDSTOP == _YMAX_
437
+      #warning "Note: Auto-assigned J_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
438
+    #elif J_USE_ENDSTOP == _YSTOP_
439
+      #warning "Note: Auto-assigned J_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
440
+    #elif J_USE_ENDSTOP == _ZMIN_
441
+      #warning "Note: Auto-assigned J_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
442
+    #elif J_USE_ENDSTOP == _ZMAX_
443
+      #warning "Note: Auto-assigned J_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
444
+    #elif J_USE_ENDSTOP == _ZSTOP_
445
+      #warning "Note: Auto-assigned J_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
446
+    #elif J_USE_ENDSTOP == _XDIAG_
447
+      #warning "Note: Auto-assigned J_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
448
+    #elif J_USE_ENDSTOP == _YDIAG_
449
+      #warning "Note: Auto-assigned J_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
450
+    #elif J_USE_ENDSTOP == _ZDIAG_
451
+      #warning "Note: Auto-assigned J_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
452
+    #elif J_USE_ENDSTOP == _E0DIAG_
453
+      #warning "Note: Auto-assigned J_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
454
+    #elif J_USE_ENDSTOP == _E1DIAG_
455
+      #warning "Note: Auto-assigned J_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
456
+    #elif J_USE_ENDSTOP == _E2DIAG_
457
+      #warning "Note: Auto-assigned J_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
458
+    #elif J_USE_ENDSTOP == _E3DIAG_
459
+      #warning "Note: Auto-assigned J_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
460
+    #elif J_USE_ENDSTOP == _E4DIAG_
461
+      #warning "Note: Auto-assigned J_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
462
+    #elif J_USE_ENDSTOP == _E5DIAG_
463
+      #warning "Note: Auto-assigned J_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
464
+    #elif J_USE_ENDSTOP == _E6DIAG_
465
+      #warning "Note: Auto-assigned J_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
466
+    #elif J_USE_ENDSTOP == _E7DIAG_
467
+      #warning "Note: Auto-assigned J_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
468
+    #endif
469
+  #endif
470
+  #if AUTO_ASSIGNED_K_STEPPER
471
+    #warning "Note: Auto-assigned K STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
472
+  #endif
473
+  #if AUTO_ASSIGNED_K_CS
474
+    #warning "Note: Auto-assigned K_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
475
+  #endif
476
+  #if AUTO_ASSIGNED_K_MS1
477
+    #warning "Note: Auto-assigned K_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
478
+  #endif
479
+  #if AUTO_ASSIGNED_K_MS2
480
+    #warning "Note: Auto-assigned K_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
481
+  #endif
482
+  #if AUTO_ASSIGNED_K_MS3
483
+    #warning "Note: Auto-assigned K_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
484
+  #endif
485
+  #if AUTO_ASSIGNED_K_DIAG
486
+    #if K_USE_ENDSTOP == _XMIN_
487
+      #warning "Note: Auto-assigned K_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
488
+    #elif K_USE_ENDSTOP == _XMAX_
489
+      #warning "Note: Auto-assigned K_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
490
+    #elif K_USE_ENDSTOP == _XSTOP_
491
+      #warning "Note: Auto-assigned K_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
492
+    #elif K_USE_ENDSTOP == _YMIN_
493
+      #warning "Note: Auto-assigned K_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
494
+    #elif K_USE_ENDSTOP == _YMAX_
495
+      #warning "Note: Auto-assigned K_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
496
+    #elif K_USE_ENDSTOP == _YSTOP_
497
+      #warning "Note: Auto-assigned K_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
498
+    #elif K_USE_ENDSTOP == _ZMIN_
499
+      #warning "Note: Auto-assigned K_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
500
+    #elif K_USE_ENDSTOP == _ZMAX_
501
+      #warning "Note: Auto-assigned K_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
502
+    #elif K_USE_ENDSTOP == _ZSTOP_
503
+      #warning "Note: Auto-assigned K_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
504
+    #elif K_USE_ENDSTOP == _XDIAG_
505
+      #warning "Note: Auto-assigned K_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
506
+    #elif K_USE_ENDSTOP == _YDIAG_
507
+      #warning "Note: Auto-assigned K_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
508
+    #elif K_USE_ENDSTOP == _ZDIAG_
509
+      #warning "Note: Auto-assigned K_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
510
+    #elif K_USE_ENDSTOP == _E0DIAG_
511
+      #warning "Note: Auto-assigned K_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
512
+    #elif K_USE_ENDSTOP == _E1DIAG_
513
+      #warning "Note: Auto-assigned K_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
514
+    #elif K_USE_ENDSTOP == _E2DIAG_
515
+      #warning "Note: Auto-assigned K_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
516
+    #elif K_USE_ENDSTOP == _E3DIAG_
517
+      #warning "Note: Auto-assigned K_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
518
+    #elif K_USE_ENDSTOP == _E4DIAG_
519
+      #warning "Note: Auto-assigned K_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
520
+    #elif K_USE_ENDSTOP == _E5DIAG_
521
+      #warning "Note: Auto-assigned K_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
522
+    #elif K_USE_ENDSTOP == _E6DIAG_
523
+      #warning "Note: Auto-assigned K_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
524
+    #elif K_USE_ENDSTOP == _E7DIAG_
525
+      #warning "Note: Auto-assigned K_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
526
+    #endif
524 527
   #endif
525
-#endif
526 528
 
527
-#if ENABLED(CHAMBER_FAN) && !defined(CHAMBER_FAN_INDEX)
528
-  #warning "Auto-assigned CHAMBER_FAN_INDEX to the first free FAN pin."
529
-#endif
529
+  #if ENABLED(CHAMBER_FAN) && !defined(CHAMBER_FAN_INDEX)
530
+    #warning "Note: Auto-assigned CHAMBER_FAN_INDEX to the first free FAN pin. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
531
+  #endif
532
+
533
+#endif // !NO_AUTO_ASSIGN_WARNING
530 534
 
531 535
 #if IS_LEGACY_TFT
532 536
   #warning "Don't forget to update your TFT settings in Configuration.h."
@@ -544,10 +548,12 @@
544 548
 //
545 549
 // Warn users of potential endstop/DIAG pin conflicts to prevent homing issues when not using sensorless homing
546 550
 //
547
-#if !USE_SENSORLESS && ENABLED(USES_DIAG_JUMPERS)
548
-  #warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled."
549
-#elif !USE_SENSORLESS && ENABLED(USES_DIAG_PINS)
550
-  #warning "Driver DIAG pins must be physically removed unless SENSORLESS_HOMING is enabled. (See https://bit.ly/2ZPRlt0)"
551
+#if NONE(USE_SENSORLESS, DIAG_JUMPERS_REMOVED)
552
+  #if ENABLED(USES_DIAG_JUMPERS)
553
+    #warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled. (Define DIAG_JUMPERS_REMOVED to suppress this warning.)"
554
+  #elif ENABLED(USES_DIAG_PINS)
555
+    #warning "Driver DIAG pins must be physically removed unless SENSORLESS_HOMING is enabled. (See https://bit.ly/2ZPRlt0) (Define DIAG_JUMPERS_REMOVED to suppress this warning.)"
556
+  #endif
551 557
 #endif
552 558
 
553 559
 #if CANNOT_EMBED_CONFIGURATION

Loading…
Cancel
Save