My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Warnings.cpp 48KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  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. * Warnings.cpp
  24. * Test configuration values and give warnings at compile-time.
  25. */
  26. #include "MarlinConfig.h"
  27. //
  28. // Warnings! Located here so they will appear just once in the build output.
  29. //
  30. #if ENABLED(MARLIN_DEV_MODE)
  31. #warning "WARNING! Disable MARLIN_DEV_MODE for the final build!"
  32. #endif
  33. #if NUM_AXES_WARNING
  34. #warning "Note: NUM_AXES is now based on the *_DRIVER_TYPE settings so you can remove NUM_AXES from Configuration.h."
  35. #endif
  36. // Safety Features
  37. #if DISABLED(USE_WATCHDOG)
  38. #warning "Safety Alert! Enable USE_WATCHDOG for the final build!"
  39. #endif
  40. #if HAS_HOTEND && DISABLED(THERMAL_PROTECTION_HOTENDS)
  41. #warning "Safety Alert! Enable THERMAL_PROTECTION_HOTENDS for the final build!"
  42. #endif
  43. #if HAS_HEATED_BED && DISABLED(THERMAL_PROTECTION_BED)
  44. #warning "Safety Alert! Enable THERMAL_PROTECTION_BED for the final build!"
  45. #endif
  46. #if HAS_HEATED_CHAMBER && DISABLED(THERMAL_PROTECTION_CHAMBER)
  47. #warning "Safety Alert! Enable THERMAL_PROTECTION_CHAMBER for the final build!"
  48. #endif
  49. #if HAS_COOLER && DISABLED(THERMAL_PROTECTION_COOLER)
  50. #warning "Safety Alert! Enable THERMAL_PROTECTION_COOLER for the final build!"
  51. #endif
  52. #if ANY_THERMISTOR_IS(998) || ANY_THERMISTOR_IS(999)
  53. #warning "Warning! Don't use dummy thermistors (998/999) for final build!"
  54. #endif
  55. #if NONE(HAS_RESUME_CONTINUE, HOST_PROMPT_SUPPORT)
  56. #warning "Your Configuration provides no method to acquire user feedback!"
  57. #endif
  58. #if MB(DUE3DOM_MINI) && PIN_EXISTS(TEMP_2) && !TEMP_SENSOR_BOARD
  59. #warning "Onboard temperature sensor for BOARD_DUE3DOM_MINI has moved from TEMP_SENSOR_2 (TEMP_2_PIN) to TEMP_SENSOR_BOARD (TEMP_BOARD_PIN)."
  60. #elif MB(BTT_SKR_E3_TURBO) && PIN_EXISTS(TEMP_2) && !TEMP_SENSOR_BOARD
  61. #warning "Onboard temperature sensor for BOARD_BTT_SKR_E3_TURBO has moved from TEMP_SENSOR_2 (TEMP_2_PIN) to TEMP_SENSOR_BOARD (TEMP_BOARD_PIN)."
  62. #endif
  63. #ifndef NO_AUTO_ASSIGN_WARNING
  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.)"
  66. #endif
  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.)"
  69. #endif
  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.)"
  72. #endif
  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.)"
  75. #endif
  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.)"
  78. #endif
  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
  121. #endif
  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.)"
  124. #endif
  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
  527. #endif
  528. #if AUTO_ASSIGNED_U_STEPPER
  529. #warning "Note: Auto-assigned U STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  530. #endif
  531. #if AUTO_ASSIGNED_U_CS
  532. #warning "Note: Auto-assigned U_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  533. #endif
  534. #if AUTO_ASSIGNED_U_MS1
  535. #warning "Note: Auto-assigned U_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  536. #endif
  537. #if AUTO_ASSIGNED_U_MS2
  538. #warning "Note: Auto-assigned U_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  539. #endif
  540. #if AUTO_ASSIGNED_U_MS3
  541. #warning "Note: Auto-assigned U_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  542. #endif
  543. #if AUTO_ASSIGNED_U_DIAG
  544. #if U_USE_ENDSTOP == _XMIN_
  545. #warning "Note: Auto-assigned U_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  546. #elif U_USE_ENDSTOP == _XMAX_
  547. #warning "Note: Auto-assigned U_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  548. #elif K_USE_ENDSTOP == _YMIN_
  549. #warning "Note: Auto-assigned U_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  550. #elif U_USE_ENDSTOP == _YMAX_
  551. #warning "Note: Auto-assigned U_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  552. #elif U_USE_ENDSTOP == _ZMIN_
  553. #warning "Note: Auto-assigned U_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  554. #elif U_USE_ENDSTOP == _ZMAX_
  555. #warning "Note: Auto-assigned U_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  556. #elif U_USE_ENDSTOP == _XDIAG_
  557. #warning "Note: Auto-assigned U_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  558. #elif U_USE_ENDSTOP == _YDIAG_
  559. #warning "Note: Auto-assigned U_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  560. #elif U_USE_ENDSTOP == _ZDIAG_
  561. #warning "Note: Auto-assigned U_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  562. #elif U_USE_ENDSTOP == _E0DIAG_
  563. #warning "Note: Auto-assigned U_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  564. #elif U_USE_ENDSTOP == _E1DIAG_
  565. #warning "Note: Auto-assigned U_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  566. #elif U_USE_ENDSTOP == _E2DIAG_
  567. #warning "Note: Auto-assigned U_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  568. #elif U_USE_ENDSTOP == _E3DIAG_
  569. #warning "Note: Auto-assigned U_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  570. #elif U_USE_ENDSTOP == _E4DIAG_
  571. #warning "Note: Auto-assigned U_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  572. #elif U_USE_ENDSTOP == _E5DIAG_
  573. #warning "Note: Auto-assigned U_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  574. #elif U_USE_ENDSTOP == _E6DIAG_
  575. #warning "Note: Auto-assigned U_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  576. #elif U_USE_ENDSTOP == _E7DIAG_
  577. #warning "Note: Auto-assigned U_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  578. #endif
  579. #endif
  580. #if AUTO_ASSIGNED_V_STEPPER
  581. #warning "Note: Auto-assigned V STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  582. #endif
  583. #if AUTO_ASSIGNED_V_CS
  584. #warning "Note: Auto-assigned V_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  585. #endif
  586. #if AUTO_ASSIGNED_V_MS1
  587. #warning "Note: Auto-assigned V_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  588. #endif
  589. #if AUTO_ASSIGNED_V_MS2
  590. #warning "Note: Auto-assigned V_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  591. #endif
  592. #if AUTO_ASSIGNED_V_MS3
  593. #warning "Note: Auto-assigned V_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  594. #endif
  595. #if AUTO_ASSIGNED_V_DIAG
  596. #if V_USE_ENDSTOP == _XMIN_
  597. #warning "Note: Auto-assigned V_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  598. #elif V_USE_ENDSTOP == _XMAX_
  599. #warning "Note: Auto-assigned V_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  600. #elif V_USE_ENDSTOP == _YMIN_
  601. #warning "Note: Auto-assigned V_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  602. #elif V_USE_ENDSTOP == _YMAX_
  603. #warning "Note: Auto-assigned V_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  604. #elif V_USE_ENDSTOP == _ZMIN_
  605. #warning "Note: Auto-assigned V_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  606. #elif V_USE_ENDSTOP == _ZMAX_
  607. #warning "Note: Auto-assigned V_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  608. #elif V_USE_ENDSTOP == _XDIAG_
  609. #warning "Note: Auto-assigned V_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  610. #elif V_USE_ENDSTOP == _YDIAG_
  611. #warning "Note: Auto-assigned V_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  612. #elif V_USE_ENDSTOP == _ZDIAG_
  613. #warning "Note: Auto-assigned V_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  614. #elif V_USE_ENDSTOP == _E0DIAG_
  615. #warning "Note: Auto-assigned V_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  616. #elif V_USE_ENDSTOP == _E1DIAG_
  617. #warning "Note: Auto-assigned V_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  618. #elif V_USE_ENDSTOP == _E2DIAG_
  619. #warning "Note: Auto-assigned V_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  620. #elif V_USE_ENDSTOP == _E3DIAG_
  621. #warning "Note: Auto-assigned V_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  622. #elif V_USE_ENDSTOP == _E4DIAG_
  623. #warning "Note: Auto-assigned V_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  624. #elif V_USE_ENDSTOP == _E5DIAG_
  625. #warning "Note: Auto-assigned V_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  626. #elif V_USE_ENDSTOP == _E6DIAG_
  627. #warning "Note: Auto-assigned V_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  628. #elif V_USE_ENDSTOP == _E7DIAG_
  629. #warning "Note: Auto-assigned V_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  630. #endif
  631. #endif
  632. #if AUTO_ASSIGNED_W_STEPPER
  633. #warning "Note: Auto-assigned W STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  634. #endif
  635. #if AUTO_ASSIGNED_W_CS
  636. #warning "Note: Auto-assigned W_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  637. #endif
  638. #if AUTO_ASSIGNED_W_MS1
  639. #warning "Note: Auto-assigned W_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  640. #endif
  641. #if AUTO_ASSIGNED_W_MS2
  642. #warning "Note: Auto-assigned W_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  643. #endif
  644. #if AUTO_ASSIGNED_W_MS3
  645. #warning "Note: Auto-assigned W_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  646. #endif
  647. #if AUTO_ASSIGNED_W_DIAG
  648. #if W_USE_ENDSTOP == _XMIN_
  649. #warning "Note: Auto-assigned W_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  650. #elif W_USE_ENDSTOP == _XMAX_
  651. #warning "Note: Auto-assigned W_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  652. #elif W_USE_ENDSTOP == _YMIN_
  653. #warning "Note: Auto-assigned W_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  654. #elif W_USE_ENDSTOP == _YMAX_
  655. #warning "Note: Auto-assigned W_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  656. #elif W_USE_ENDSTOP == _ZMIN_
  657. #warning "Note: Auto-assigned W_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  658. #elif W_USE_ENDSTOP == _ZMAX_
  659. #warning "Note: Auto-assigned W_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  660. #elif W_USE_ENDSTOP == _XDIAG_
  661. #warning "Note: Auto-assigned W_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  662. #elif W_USE_ENDSTOP == _YDIAG_
  663. #warning "Note: Auto-assigned W_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  664. #elif W_USE_ENDSTOP == _ZDIAG_
  665. #warning "Note: Auto-assigned W_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  666. #elif W_USE_ENDSTOP == _E0DIAG_
  667. #warning "Note: Auto-assigned W_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  668. #elif W_USE_ENDSTOP == _E1DIAG_
  669. #warning "Note: Auto-assigned W_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  670. #elif W_USE_ENDSTOP == _E2DIAG_
  671. #warning "Note: Auto-assigned W_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  672. #elif W_USE_ENDSTOP == _E3DIAG_
  673. #warning "Note: Auto-assigned W_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  674. #elif W_USE_ENDSTOP == _E4DIAG_
  675. #warning "Note: Auto-assigned W_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  676. #elif W_USE_ENDSTOP == _E5DIAG_
  677. #warning "Note: Auto-assigned W_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  678. #elif W_USE_ENDSTOP == _E6DIAG_
  679. #warning "Note: Auto-assigned W_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  680. #elif W_USE_ENDSTOP == _E7DIAG_
  681. #warning "Note: Auto-assigned W_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  682. #endif
  683. #endif
  684. #if ENABLED(CHAMBER_FAN) && !defined(CHAMBER_FAN_INDEX)
  685. #warning "Note: Auto-assigned CHAMBER_FAN_INDEX to the first free FAN pin. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  686. #endif
  687. #endif // !NO_AUTO_ASSIGN_WARNING
  688. #if IS_LEGACY_TFT
  689. #warning "Don't forget to update your TFT settings in Configuration.h."
  690. #endif
  691. // Ender 3 Pro (but, apparently all Creality 4.2.2 boards)
  692. #if ENABLED(EMIT_CREALITY_422_WARNING) || MB(CREALITY_V4)
  693. #warning "Creality 4.2.2 boards come with a variety of stepper drivers. Check the board label and set the correct *_DRIVER_TYPE! (C=HR4988, E=A4988, A=TMC2208, B=TMC2209, H=TMC2225)."
  694. #endif
  695. #if PRINTCOUNTER_SYNC
  696. #warning "To prevent step loss, motion will pause for PRINTCOUNTER auto-save."
  697. #endif
  698. #if HOMING_Z_WITH_PROBE && IS_CARTESIAN && DISABLED(Z_SAFE_HOMING)
  699. #error "Z_SAFE_HOMING is recommended when homing with a probe. Enable Z_SAFE_HOMING or comment out this line to continue."
  700. #endif
  701. //
  702. // Warn users of potential endstop/DIAG pin conflicts to prevent homing issues when not using sensorless homing
  703. //
  704. #if !USE_SENSORLESS
  705. #if ENABLED(USES_DIAG_JUMPERS) && DISABLED(DIAG_JUMPERS_REMOVED)
  706. #warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled. (Define DIAG_JUMPERS_REMOVED to suppress this warning.)"
  707. #elif ENABLED(USES_DIAG_PINS) && DISABLED(DIAG_PINS_REMOVED)
  708. #warning "Driver DIAG pins must be physically removed unless SENSORLESS_HOMING is enabled. (See https://bit.ly/2ZPRlt0) (Define DIAG_PINS_REMOVED to suppress this warning.)"
  709. #endif
  710. #endif
  711. #if CANNOT_EMBED_CONFIGURATION
  712. #warning "Disabled CONFIGURATION_EMBEDDING because the target usually has less flash storage. Define FORCE_CONFIG_EMBED to override."
  713. #endif
  714. #if HAS_LCD_CONTRAST && LCD_CONTRAST_MIN >= LCD_CONTRAST_MAX
  715. #warning "Contrast cannot be changed when LCD_CONTRAST_MIN >= LCD_CONTRAST_MAX."
  716. #endif
  717. #if PROGRESS_MSG_EXPIRE > 0 && HAS_STATUS_MESSAGE_TIMEOUT
  718. #warning "It is recommended not to combine PROGRESS_MSG_EXPIRE with STATUS_MESSAGE_TIMEOUT_SEC."
  719. #endif
  720. /**
  721. * FYSETC/MKS/BTT Mini Panel backlighting
  722. */
  723. #if EITHER(FYSETC_242_OLED_12864, FYSETC_MINI_12864_2_1) && !ALL(NEOPIXEL_LED, LED_CONTROL_MENU, LED_USER_PRESET_STARTUP, LED_COLOR_PRESETS)
  724. #warning "Your FYSETC/MKS/BTT Mini Panel works best with NEOPIXEL_LED, LED_CONTROL_MENU, LED_USER_PRESET_STARTUP, and LED_COLOR_PRESETS."
  725. #endif
  726. #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) && DISABLED(RGB_LED)
  727. #warning "Your FYSETC Mini Panel works best with RGB_LED."
  728. #elif EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1) && DISABLED(LED_USER_PRESET_STARTUP)
  729. #warning "Your FYSETC Mini Panel works best with LED_USER_PRESET_STARTUP."
  730. #endif
  731. #if EITHER(FYSETC_242_OLED_12864, FYSETC_MINI_12864) && BOTH(PSU_CONTROL, HAS_COLOR_LEDS) && !LED_POWEROFF_TIMEOUT
  732. #warning "Your FYSETC display with PSU_CONTROL works best with LED_POWEROFF_TIMEOUT."
  733. #endif
  734. /**
  735. * Maple environent
  736. */
  737. #ifdef __STM32F1__
  738. #warning "Maple build environments are deprecated. Please use a non-Maple build environment. Report issues to the Marlin Firmware project."
  739. #endif
  740. /**
  741. * Průša MK3/S/+ fan pin reassignment
  742. */
  743. #if MB(BTT_BTT002_V1_0, EINSY_RAMBO) && DISABLED(NO_MK3_FAN_PINS_WARNING)
  744. #warning "Define MK3_FAN_PINS to swap hotend and part cooling fan pins. (Define NO_MK3_FAN_PINS_WARNING to suppress this warning.)"
  745. #endif