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

Warnings.cpp 48KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  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 ENABLED(LA_DEBUG)
  34. #warning "WARNING! Disable LA_DEBUG for the final build!"
  35. #endif
  36. #if NUM_AXES_WARNING
  37. #warning "Note: NUM_AXES is now based on the *_DRIVER_TYPE settings so you can remove NUM_AXES from Configuration.h."
  38. #endif
  39. // Safety Features
  40. #if DISABLED(USE_WATCHDOG)
  41. #warning "Safety Alert! Enable USE_WATCHDOG for the final build!"
  42. #endif
  43. #if HAS_HOTEND && DISABLED(THERMAL_PROTECTION_HOTENDS)
  44. #warning "Safety Alert! Enable THERMAL_PROTECTION_HOTENDS for the final build!"
  45. #endif
  46. #if HAS_HEATED_BED && DISABLED(THERMAL_PROTECTION_BED)
  47. #warning "Safety Alert! Enable THERMAL_PROTECTION_BED for the final build!"
  48. #endif
  49. #if HAS_HEATED_CHAMBER && DISABLED(THERMAL_PROTECTION_CHAMBER)
  50. #warning "Safety Alert! Enable THERMAL_PROTECTION_CHAMBER for the final build!"
  51. #endif
  52. #if HAS_COOLER && DISABLED(THERMAL_PROTECTION_COOLER)
  53. #warning "Safety Alert! Enable THERMAL_PROTECTION_COOLER for the final build!"
  54. #endif
  55. #if ANY_THERMISTOR_IS(998) || ANY_THERMISTOR_IS(999)
  56. #warning "Warning! Don't use dummy thermistors (998/999) for final build!"
  57. #endif
  58. #if NONE(HAS_RESUME_CONTINUE, HOST_PROMPT_SUPPORT)
  59. #warning "Your Configuration provides no method to acquire user feedback!"
  60. #endif
  61. #if MB(DUE3DOM_MINI) && PIN_EXISTS(TEMP_2) && !TEMP_SENSOR_BOARD
  62. #warning "Onboard temperature sensor for BOARD_DUE3DOM_MINI has moved from TEMP_SENSOR_2 (TEMP_2_PIN) to TEMP_SENSOR_BOARD (TEMP_BOARD_PIN)."
  63. #elif MB(BTT_SKR_E3_TURBO) && PIN_EXISTS(TEMP_2) && !TEMP_SENSOR_BOARD
  64. #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)."
  65. #endif
  66. #ifndef NO_AUTO_ASSIGN_WARNING
  67. #if AUTO_ASSIGNED_LCD_SERIAL
  68. #warning "Note: Auto-assigned LCD_SERIAL_PORT. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  69. #endif
  70. #if AUTO_ASSIGNED_X2_STEPPER
  71. #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.)"
  72. #endif
  73. #if AUTO_ASSIGNED_X2_MS1
  74. #warning "Note: Auto-assigned X2_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  75. #endif
  76. #if AUTO_ASSIGNED_X2_MS2
  77. #warning "Note: Auto-assigned X2_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  78. #endif
  79. #if AUTO_ASSIGNED_X2_MS3
  80. #warning "Note: Auto-assigned X2_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  81. #endif
  82. #if AUTO_ASSIGNED_X2_CS
  83. #warning "Note: Auto-assigned X2_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  84. #endif
  85. #if AUTO_ASSIGNED_X2_DIAG
  86. #if X2_USE_ENDSTOP == _XMIN_
  87. #warning "Note: Auto-assigned X2_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  88. #elif X2_USE_ENDSTOP == _XMAX_
  89. #warning "Note: Auto-assigned X2_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  90. #elif X2_USE_ENDSTOP == _XSTOP_
  91. #warning "Note: Auto-assigned X2_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  92. #elif X2_USE_ENDSTOP == _YMIN_
  93. #warning "Note: Auto-assigned X2_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  94. #elif X2_USE_ENDSTOP == _YMAX_
  95. #warning "Note: Auto-assigned X2_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  96. #elif X2_USE_ENDSTOP == _YSTOP_
  97. #warning "Note: Auto-assigned X2_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  98. #elif X2_USE_ENDSTOP == _ZMIN_
  99. #warning "Note: Auto-assigned X2_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  100. #elif X2_USE_ENDSTOP == _ZMAX_
  101. #warning "Note: Auto-assigned X2_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  102. #elif X2_USE_ENDSTOP == _ZSTOP_
  103. #warning "Note: Auto-assigned X2_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  104. #elif X2_USE_ENDSTOP == _XDIAG_
  105. #warning "Note: Auto-assigned X2_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  106. #elif X2_USE_ENDSTOP == _YDIAG_
  107. #warning "Note: Auto-assigned X2_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  108. #elif X2_USE_ENDSTOP == _ZDIAG_
  109. #warning "Note: Auto-assigned X2_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  110. #elif X2_USE_ENDSTOP == _E0DIAG_
  111. #warning "Note: Auto-assigned X2_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  112. #elif X2_USE_ENDSTOP == _E1DIAG_
  113. #warning "Note: Auto-assigned X2_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  114. #elif X2_USE_ENDSTOP == _E2DIAG_
  115. #warning "Note: Auto-assigned X2_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  116. #elif X2_USE_ENDSTOP == _E3DIAG_
  117. #warning "Note: Auto-assigned X2_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  118. #elif X2_USE_ENDSTOP == _E4DIAG_
  119. #warning "Note: Auto-assigned X2_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  120. #elif X2_USE_ENDSTOP == _E5DIAG_
  121. #warning "Note: Auto-assigned X2_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  122. #elif X2_USE_ENDSTOP == _E6DIAG_
  123. #warning "Note: Auto-assigned X2_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  124. #elif X2_USE_ENDSTOP == _E7DIAG_
  125. #warning "Note: Auto-assigned X2_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  126. #endif
  127. #endif
  128. #if AUTO_ASSIGNED_Y2_STEPPER
  129. #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.)"
  130. #endif
  131. #if AUTO_ASSIGNED_Y2_MS1
  132. #warning "Note: Auto-assigned Y2_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  133. #endif
  134. #if AUTO_ASSIGNED_Y2_MS2
  135. #warning "Note: Auto-assigned Y2_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  136. #endif
  137. #if AUTO_ASSIGNED_Y2_MS3
  138. #warning "Note: Auto-assigned Y2_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  139. #endif
  140. #if AUTO_ASSIGNED_Y2_CS
  141. #warning "Note: Auto-assigned Y2_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  142. #endif
  143. #if AUTO_ASSIGNED_Y2_DIAG
  144. #if Y2_USE_ENDSTOP == _XMIN_
  145. #warning "Note: Auto-assigned Y2_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  146. #elif Y2_USE_ENDSTOP == _XMAX_
  147. #warning "Note: Auto-assigned Y2_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  148. #elif Y2_USE_ENDSTOP == _XSTOP_
  149. #warning "Note: Auto-assigned Y2_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  150. #elif Y2_USE_ENDSTOP == _YMIN_
  151. #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  152. #elif Y2_USE_ENDSTOP == _YMAX_
  153. #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  154. #elif Y2_USE_ENDSTOP == _YSTOP_
  155. #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  156. #elif Y2_USE_ENDSTOP == _ZMIN_
  157. #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  158. #elif Y2_USE_ENDSTOP == _ZMAX_
  159. #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  160. #elif Y2_USE_ENDSTOP == _ZSTOP_
  161. #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  162. #elif Y2_USE_ENDSTOP == _XDIAG_
  163. #warning "Note: Auto-assigned Y2_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  164. #elif Y2_USE_ENDSTOP == _YDIAG_
  165. #warning "Note: Auto-assigned Y2_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  166. #elif Y2_USE_ENDSTOP == _ZDIAG_
  167. #warning "Note: Auto-assigned Y2_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  168. #elif Y2_USE_ENDSTOP == _E0DIAG_
  169. #warning "Note: Auto-assigned Y2_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  170. #elif Y2_USE_ENDSTOP == _E1DIAG_
  171. #warning "Note: Auto-assigned Y2_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  172. #elif Y2_USE_ENDSTOP == _E2DIAG_
  173. #warning "Note: Auto-assigned Y2_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  174. #elif Y2_USE_ENDSTOP == _E3DIAG_
  175. #warning "Note: Auto-assigned Y2_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  176. #elif Y2_USE_ENDSTOP == _E4DIAG_
  177. #warning "Note: Auto-assigned Y2_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  178. #elif Y2_USE_ENDSTOP == _E5DIAG_
  179. #warning "Note: Auto-assigned Y2_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  180. #elif Y2_USE_ENDSTOP == _E6DIAG_
  181. #warning "Note: Auto-assigned Y2_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  182. #elif Y2_USE_ENDSTOP == _E7DIAG_
  183. #warning "Note: Auto-assigned Y2_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  184. #endif
  185. #endif
  186. #if AUTO_ASSIGNED_Z2_STEPPER
  187. #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.)"
  188. #endif
  189. #if AUTO_ASSIGNED_Z2_MS1
  190. #warning "Note: Auto-assigned Z2_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  191. #endif
  192. #if AUTO_ASSIGNED_Z2_MS2
  193. #warning "Note: Auto-assigned Z2_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  194. #endif
  195. #if AUTO_ASSIGNED_Z2_MS3
  196. #warning "Note: Auto-assigned Z2_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  197. #endif
  198. #if AUTO_ASSIGNED_Z2_CS
  199. #warning "Note: Auto-assigned Z2_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  200. #endif
  201. #if AUTO_ASSIGNED_Z2_DIAG
  202. #if Z2_USE_ENDSTOP == _XMIN_
  203. #warning "Note: Auto-assigned Z2_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  204. #elif Z2_USE_ENDSTOP == _XMAX_
  205. #warning "Note: Auto-assigned Z2_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  206. #elif Z2_USE_ENDSTOP == _XSTOP_
  207. #warning "Note: Auto-assigned Z2_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  208. #elif Z2_USE_ENDSTOP == _YMIN_
  209. #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  210. #elif Z2_USE_ENDSTOP == _YMAX_
  211. #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  212. #elif Z2_USE_ENDSTOP == _YSTOP_
  213. #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  214. #elif Z2_USE_ENDSTOP == _ZMIN_
  215. #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  216. #elif Z2_USE_ENDSTOP == _ZMAX_
  217. #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  218. #elif Z2_USE_ENDSTOP == _ZSTOP_
  219. #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  220. #elif Z2_USE_ENDSTOP == _XDIAG_
  221. #warning "Note: Auto-assigned Z2_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  222. #elif Z2_USE_ENDSTOP == _YDIAG_
  223. #warning "Note: Auto-assigned Z2_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  224. #elif Z2_USE_ENDSTOP == _ZDIAG_
  225. #warning "Note: Auto-assigned Z2_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  226. #elif Z2_USE_ENDSTOP == _E0DIAG_
  227. #warning "Note: Auto-assigned Z2_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  228. #elif Z2_USE_ENDSTOP == _E1DIAG_
  229. #warning "Note: Auto-assigned Z2_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  230. #elif Z2_USE_ENDSTOP == _E2DIAG_
  231. #warning "Note: Auto-assigned Z2_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  232. #elif Z2_USE_ENDSTOP == _E3DIAG_
  233. #warning "Note: Auto-assigned Z2_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  234. #elif Z2_USE_ENDSTOP == _E4DIAG_
  235. #warning "Note: Auto-assigned Z2_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  236. #elif Z2_USE_ENDSTOP == _E5DIAG_
  237. #warning "Note: Auto-assigned Z2_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  238. #elif Z2_USE_ENDSTOP == _E6DIAG_
  239. #warning "Note: Auto-assigned Z2_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  240. #elif Z2_USE_ENDSTOP == _E7DIAG_
  241. #warning "Note: Auto-assigned Z2_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  242. #endif
  243. #endif
  244. #if AUTO_ASSIGNED_Z3_STEPPER
  245. #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.)"
  246. #endif
  247. #if AUTO_ASSIGNED_Z3_CS
  248. #warning "Note: Auto-assigned Z3_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  249. #endif
  250. #if AUTO_ASSIGNED_Z3_MS1
  251. #warning "Note: Auto-assigned Z3_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  252. #endif
  253. #if AUTO_ASSIGNED_Z3_MS2
  254. #warning "Note: Auto-assigned Z3_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  255. #endif
  256. #if AUTO_ASSIGNED_Z3_MS3
  257. #warning "Note: Auto-assigned Z3_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  258. #endif
  259. #if AUTO_ASSIGNED_Z3_DIAG
  260. #if Z3_USE_ENDSTOP == _XMIN_
  261. #warning "Note: Auto-assigned Z3_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  262. #elif Z3_USE_ENDSTOP == _XMAX_
  263. #warning "Note: Auto-assigned Z3_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  264. #elif Z3_USE_ENDSTOP == _XSTOP_
  265. #warning "Note: Auto-assigned Z3_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  266. #elif Z3_USE_ENDSTOP == _YMIN_
  267. #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  268. #elif Z3_USE_ENDSTOP == _YMAX_
  269. #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  270. #elif Z3_USE_ENDSTOP == _YSTOP_
  271. #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  272. #elif Z3_USE_ENDSTOP == _ZMIN_
  273. #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  274. #elif Z3_USE_ENDSTOP == _ZMAX_
  275. #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  276. #elif Z3_USE_ENDSTOP == _ZSTOP_
  277. #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  278. #elif Z3_USE_ENDSTOP == _XDIAG_
  279. #warning "Note: Auto-assigned Z3_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  280. #elif Z3_USE_ENDSTOP == _YDIAG_
  281. #warning "Note: Auto-assigned Z3_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  282. #elif Z3_USE_ENDSTOP == _ZDIAG_
  283. #warning "Note: Auto-assigned Z3_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  284. #elif Z3_USE_ENDSTOP == _E0DIAG_
  285. #warning "Note: Auto-assigned Z3_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  286. #elif Z3_USE_ENDSTOP == _E1DIAG_
  287. #warning "Note: Auto-assigned Z3_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  288. #elif Z3_USE_ENDSTOP == _E2DIAG_
  289. #warning "Note: Auto-assigned Z3_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  290. #elif Z3_USE_ENDSTOP == _E3DIAG_
  291. #warning "Note: Auto-assigned Z3_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  292. #elif Z3_USE_ENDSTOP == _E4DIAG_
  293. #warning "Note: Auto-assigned Z3_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  294. #elif Z3_USE_ENDSTOP == _E5DIAG_
  295. #warning "Note: Auto-assigned Z3_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  296. #elif Z3_USE_ENDSTOP == _E6DIAG_
  297. #warning "Note: Auto-assigned Z3_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  298. #elif Z3_USE_ENDSTOP == _E7DIAG_
  299. #warning "Note: Auto-assigned Z3_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  300. #endif
  301. #endif
  302. #if AUTO_ASSIGNED_Z4_STEPPER
  303. #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.)"
  304. #endif
  305. #if AUTO_ASSIGNED_Z4_CS
  306. #warning "Note: Auto-assigned Z4_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  307. #endif
  308. #if AUTO_ASSIGNED_Z4_MS1
  309. #warning "Note: Auto-assigned Z4_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  310. #endif
  311. #if AUTO_ASSIGNED_Z4_MS2
  312. #warning "Note: Auto-assigned Z4_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  313. #endif
  314. #if AUTO_ASSIGNED_Z4_MS3
  315. #warning "Note: Auto-assigned Z4_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  316. #endif
  317. #if AUTO_ASSIGNED_Z4_DIAG
  318. #if Z4_USE_ENDSTOP == _XMIN_
  319. #warning "Note: Auto-assigned Z4_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  320. #elif Z4_USE_ENDSTOP == _XMAX_
  321. #warning "Note: Auto-assigned Z4_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  322. #elif Z4_USE_ENDSTOP == _XSTOP_
  323. #warning "Note: Auto-assigned Z4_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  324. #elif Z4_USE_ENDSTOP == _YMIN_
  325. #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  326. #elif Z4_USE_ENDSTOP == _YMAX_
  327. #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  328. #elif Z4_USE_ENDSTOP == _YSTOP_
  329. #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  330. #elif Z4_USE_ENDSTOP == _ZMIN_
  331. #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  332. #elif Z4_USE_ENDSTOP == _ZMAX_
  333. #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  334. #elif Z4_USE_ENDSTOP == _ZSTOP_
  335. #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  336. #elif Z4_USE_ENDSTOP == _XDIAG_
  337. #warning "Note: Auto-assigned Z4_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  338. #elif Z4_USE_ENDSTOP == _YDIAG_
  339. #warning "Note: Auto-assigned Z4_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  340. #elif Z4_USE_ENDSTOP == _ZDIAG_
  341. #warning "Note: Auto-assigned Z4_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  342. #elif Z4_USE_ENDSTOP == _E0DIAG_
  343. #warning "Note: Auto-assigned Z4_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  344. #elif Z4_USE_ENDSTOP == _E1DIAG_
  345. #warning "Note: Auto-assigned Z4_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  346. #elif Z4_USE_ENDSTOP == _E2DIAG_
  347. #warning "Note: Auto-assigned Z4_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  348. #elif Z4_USE_ENDSTOP == _E3DIAG_
  349. #warning "Note: Auto-assigned Z4_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  350. #elif Z4_USE_ENDSTOP == _E4DIAG_
  351. #warning "Note: Auto-assigned Z4_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  352. #elif Z4_USE_ENDSTOP == _E5DIAG_
  353. #warning "Note: Auto-assigned Z4_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  354. #elif Z4_USE_ENDSTOP == _E6DIAG_
  355. #warning "Note: Auto-assigned Z4_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  356. #elif Z4_USE_ENDSTOP == _E7DIAG_
  357. #warning "Note: Auto-assigned Z4_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  358. #endif
  359. #endif
  360. #if AUTO_ASSIGNED_I_STEPPER
  361. #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.)"
  362. #endif
  363. #if AUTO_ASSIGNED_I_CS
  364. #warning "Note: Auto-assigned I_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  365. #endif
  366. #if AUTO_ASSIGNED_I_MS1
  367. #warning "Note: Auto-assigned I_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  368. #endif
  369. #if AUTO_ASSIGNED_I_MS2
  370. #warning "Note: Auto-assigned I_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  371. #endif
  372. #if AUTO_ASSIGNED_I_MS3
  373. #warning "Note: Auto-assigned I_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  374. #endif
  375. #if AUTO_ASSIGNED_I_DIAG
  376. #if I_USE_ENDSTOP == _XMIN_
  377. #warning "Note: Auto-assigned I_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  378. #elif I_USE_ENDSTOP == _XMAX_
  379. #warning "Note: Auto-assigned I_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  380. #elif I_USE_ENDSTOP == _XSTOP_
  381. #warning "Note: Auto-assigned I_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  382. #elif I_USE_ENDSTOP == _YMIN_
  383. #warning "Note: Auto-assigned I_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  384. #elif I_USE_ENDSTOP == _YMAX_
  385. #warning "Note: Auto-assigned I_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  386. #elif I_USE_ENDSTOP == _YSTOP_
  387. #warning "Note: Auto-assigned I_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  388. #elif I_USE_ENDSTOP == _ZMIN_
  389. #warning "Note: Auto-assigned I_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  390. #elif I_USE_ENDSTOP == _ZMAX_
  391. #warning "Note: Auto-assigned I_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  392. #elif I_USE_ENDSTOP == _ZSTOP_
  393. #warning "Note: Auto-assigned I_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  394. #elif I_USE_ENDSTOP == _XDIAG_
  395. #warning "Note: Auto-assigned I_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  396. #elif I_USE_ENDSTOP == _YDIAG_
  397. #warning "Note: Auto-assigned I_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  398. #elif I_USE_ENDSTOP == _ZDIAG_
  399. #warning "Note: Auto-assigned I_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  400. #elif I_USE_ENDSTOP == _E0DIAG_
  401. #warning "Note: Auto-assigned I_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  402. #elif I_USE_ENDSTOP == _E1DIAG_
  403. #warning "Note: Auto-assigned I_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  404. #elif I_USE_ENDSTOP == _E2DIAG_
  405. #warning "Note: Auto-assigned I_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  406. #elif I_USE_ENDSTOP == _E3DIAG_
  407. #warning "Note: Auto-assigned I_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  408. #elif I_USE_ENDSTOP == _E4DIAG_
  409. #warning "Note: Auto-assigned I_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  410. #elif I_USE_ENDSTOP == _E5DIAG_
  411. #warning "Note: Auto-assigned I_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  412. #elif I_USE_ENDSTOP == _E6DIAG_
  413. #warning "Note: Auto-assigned I_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  414. #elif I_USE_ENDSTOP == _E7DIAG_
  415. #warning "Note: Auto-assigned I_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  416. #endif
  417. #endif
  418. #if AUTO_ASSIGNED_J_STEPPER
  419. #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.)"
  420. #endif
  421. #if AUTO_ASSIGNED_J_CS
  422. #warning "Note: Auto-assigned J_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  423. #endif
  424. #if AUTO_ASSIGNED_J_MS1
  425. #warning "Note: Auto-assigned J_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  426. #endif
  427. #if AUTO_ASSIGNED_J_MS2
  428. #warning "Note: Auto-assigned J_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  429. #endif
  430. #if AUTO_ASSIGNED_J_MS3
  431. #warning "Note: Auto-assigned J_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  432. #endif
  433. #if AUTO_ASSIGNED_J_DIAG
  434. #if J_USE_ENDSTOP == _XMIN_
  435. #warning "Note: Auto-assigned J_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  436. #elif J_USE_ENDSTOP == _XMAX_
  437. #warning "Note: Auto-assigned J_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  438. #elif J_USE_ENDSTOP == _XSTOP_
  439. #warning "Note: Auto-assigned J_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  440. #elif J_USE_ENDSTOP == _YMIN_
  441. #warning "Note: Auto-assigned J_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  442. #elif J_USE_ENDSTOP == _YMAX_
  443. #warning "Note: Auto-assigned J_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  444. #elif J_USE_ENDSTOP == _YSTOP_
  445. #warning "Note: Auto-assigned J_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  446. #elif J_USE_ENDSTOP == _ZMIN_
  447. #warning "Note: Auto-assigned J_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  448. #elif J_USE_ENDSTOP == _ZMAX_
  449. #warning "Note: Auto-assigned J_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  450. #elif J_USE_ENDSTOP == _ZSTOP_
  451. #warning "Note: Auto-assigned J_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  452. #elif J_USE_ENDSTOP == _XDIAG_
  453. #warning "Note: Auto-assigned J_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  454. #elif J_USE_ENDSTOP == _YDIAG_
  455. #warning "Note: Auto-assigned J_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  456. #elif J_USE_ENDSTOP == _ZDIAG_
  457. #warning "Note: Auto-assigned J_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  458. #elif J_USE_ENDSTOP == _E0DIAG_
  459. #warning "Note: Auto-assigned J_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  460. #elif J_USE_ENDSTOP == _E1DIAG_
  461. #warning "Note: Auto-assigned J_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  462. #elif J_USE_ENDSTOP == _E2DIAG_
  463. #warning "Note: Auto-assigned J_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  464. #elif J_USE_ENDSTOP == _E3DIAG_
  465. #warning "Note: Auto-assigned J_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  466. #elif J_USE_ENDSTOP == _E4DIAG_
  467. #warning "Note: Auto-assigned J_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  468. #elif J_USE_ENDSTOP == _E5DIAG_
  469. #warning "Note: Auto-assigned J_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  470. #elif J_USE_ENDSTOP == _E6DIAG_
  471. #warning "Note: Auto-assigned J_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  472. #elif J_USE_ENDSTOP == _E7DIAG_
  473. #warning "Note: Auto-assigned J_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  474. #endif
  475. #endif
  476. #if AUTO_ASSIGNED_K_STEPPER
  477. #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.)"
  478. #endif
  479. #if AUTO_ASSIGNED_K_CS
  480. #warning "Note: Auto-assigned K_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  481. #endif
  482. #if AUTO_ASSIGNED_K_MS1
  483. #warning "Note: Auto-assigned K_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  484. #endif
  485. #if AUTO_ASSIGNED_K_MS2
  486. #warning "Note: Auto-assigned K_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  487. #endif
  488. #if AUTO_ASSIGNED_K_MS3
  489. #warning "Note: Auto-assigned K_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  490. #endif
  491. #if AUTO_ASSIGNED_K_DIAG
  492. #if K_USE_ENDSTOP == _XMIN_
  493. #warning "Note: Auto-assigned K_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  494. #elif K_USE_ENDSTOP == _XMAX_
  495. #warning "Note: Auto-assigned K_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  496. #elif K_USE_ENDSTOP == _XSTOP_
  497. #warning "Note: Auto-assigned K_DIAG_PIN to X_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  498. #elif K_USE_ENDSTOP == _YMIN_
  499. #warning "Note: Auto-assigned K_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  500. #elif K_USE_ENDSTOP == _YMAX_
  501. #warning "Note: Auto-assigned K_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  502. #elif K_USE_ENDSTOP == _YSTOP_
  503. #warning "Note: Auto-assigned K_DIAG_PIN to Y_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  504. #elif K_USE_ENDSTOP == _ZMIN_
  505. #warning "Note: Auto-assigned K_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  506. #elif K_USE_ENDSTOP == _ZMAX_
  507. #warning "Note: Auto-assigned K_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  508. #elif K_USE_ENDSTOP == _ZSTOP_
  509. #warning "Note: Auto-assigned K_DIAG_PIN to Z_STOP_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  510. #elif K_USE_ENDSTOP == _XDIAG_
  511. #warning "Note: Auto-assigned K_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  512. #elif K_USE_ENDSTOP == _YDIAG_
  513. #warning "Note: Auto-assigned K_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  514. #elif K_USE_ENDSTOP == _ZDIAG_
  515. #warning "Note: Auto-assigned K_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  516. #elif K_USE_ENDSTOP == _E0DIAG_
  517. #warning "Note: Auto-assigned K_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  518. #elif K_USE_ENDSTOP == _E1DIAG_
  519. #warning "Note: Auto-assigned K_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  520. #elif K_USE_ENDSTOP == _E2DIAG_
  521. #warning "Note: Auto-assigned K_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  522. #elif K_USE_ENDSTOP == _E3DIAG_
  523. #warning "Note: Auto-assigned K_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  524. #elif K_USE_ENDSTOP == _E4DIAG_
  525. #warning "Note: Auto-assigned K_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  526. #elif K_USE_ENDSTOP == _E5DIAG_
  527. #warning "Note: Auto-assigned K_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  528. #elif K_USE_ENDSTOP == _E6DIAG_
  529. #warning "Note: Auto-assigned K_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  530. #elif K_USE_ENDSTOP == _E7DIAG_
  531. #warning "Note: Auto-assigned K_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  532. #endif
  533. #endif
  534. #if AUTO_ASSIGNED_U_STEPPER
  535. #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.)"
  536. #endif
  537. #if AUTO_ASSIGNED_U_CS
  538. #warning "Note: Auto-assigned U_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  539. #endif
  540. #if AUTO_ASSIGNED_U_MS1
  541. #warning "Note: Auto-assigned U_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  542. #endif
  543. #if AUTO_ASSIGNED_U_MS2
  544. #warning "Note: Auto-assigned U_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  545. #endif
  546. #if AUTO_ASSIGNED_U_MS3
  547. #warning "Note: Auto-assigned U_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  548. #endif
  549. #if AUTO_ASSIGNED_U_DIAG
  550. #if U_USE_ENDSTOP == _XMIN_
  551. #warning "Note: Auto-assigned U_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  552. #elif U_USE_ENDSTOP == _XMAX_
  553. #warning "Note: Auto-assigned U_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  554. #elif K_USE_ENDSTOP == _YMIN_
  555. #warning "Note: Auto-assigned U_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  556. #elif U_USE_ENDSTOP == _YMAX_
  557. #warning "Note: Auto-assigned U_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  558. #elif U_USE_ENDSTOP == _ZMIN_
  559. #warning "Note: Auto-assigned U_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  560. #elif U_USE_ENDSTOP == _ZMAX_
  561. #warning "Note: Auto-assigned U_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  562. #elif U_USE_ENDSTOP == _XDIAG_
  563. #warning "Note: Auto-assigned U_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  564. #elif U_USE_ENDSTOP == _YDIAG_
  565. #warning "Note: Auto-assigned U_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  566. #elif U_USE_ENDSTOP == _ZDIAG_
  567. #warning "Note: Auto-assigned U_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  568. #elif U_USE_ENDSTOP == _E0DIAG_
  569. #warning "Note: Auto-assigned U_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  570. #elif U_USE_ENDSTOP == _E1DIAG_
  571. #warning "Note: Auto-assigned U_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  572. #elif U_USE_ENDSTOP == _E2DIAG_
  573. #warning "Note: Auto-assigned U_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  574. #elif U_USE_ENDSTOP == _E3DIAG_
  575. #warning "Note: Auto-assigned U_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  576. #elif U_USE_ENDSTOP == _E4DIAG_
  577. #warning "Note: Auto-assigned U_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  578. #elif U_USE_ENDSTOP == _E5DIAG_
  579. #warning "Note: Auto-assigned U_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  580. #elif U_USE_ENDSTOP == _E6DIAG_
  581. #warning "Note: Auto-assigned U_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  582. #elif U_USE_ENDSTOP == _E7DIAG_
  583. #warning "Note: Auto-assigned U_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  584. #endif
  585. #endif
  586. #if AUTO_ASSIGNED_V_STEPPER
  587. #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.)"
  588. #endif
  589. #if AUTO_ASSIGNED_V_CS
  590. #warning "Note: Auto-assigned V_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  591. #endif
  592. #if AUTO_ASSIGNED_V_MS1
  593. #warning "Note: Auto-assigned V_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  594. #endif
  595. #if AUTO_ASSIGNED_V_MS2
  596. #warning "Note: Auto-assigned V_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  597. #endif
  598. #if AUTO_ASSIGNED_V_MS3
  599. #warning "Note: Auto-assigned V_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  600. #endif
  601. #if AUTO_ASSIGNED_V_DIAG
  602. #if V_USE_ENDSTOP == _XMIN_
  603. #warning "Note: Auto-assigned V_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  604. #elif V_USE_ENDSTOP == _XMAX_
  605. #warning "Note: Auto-assigned V_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  606. #elif V_USE_ENDSTOP == _YMIN_
  607. #warning "Note: Auto-assigned V_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  608. #elif V_USE_ENDSTOP == _YMAX_
  609. #warning "Note: Auto-assigned V_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  610. #elif V_USE_ENDSTOP == _ZMIN_
  611. #warning "Note: Auto-assigned V_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  612. #elif V_USE_ENDSTOP == _ZMAX_
  613. #warning "Note: Auto-assigned V_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  614. #elif V_USE_ENDSTOP == _XDIAG_
  615. #warning "Note: Auto-assigned V_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  616. #elif V_USE_ENDSTOP == _YDIAG_
  617. #warning "Note: Auto-assigned V_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  618. #elif V_USE_ENDSTOP == _ZDIAG_
  619. #warning "Note: Auto-assigned V_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  620. #elif V_USE_ENDSTOP == _E0DIAG_
  621. #warning "Note: Auto-assigned V_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  622. #elif V_USE_ENDSTOP == _E1DIAG_
  623. #warning "Note: Auto-assigned V_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  624. #elif V_USE_ENDSTOP == _E2DIAG_
  625. #warning "Note: Auto-assigned V_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  626. #elif V_USE_ENDSTOP == _E3DIAG_
  627. #warning "Note: Auto-assigned V_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  628. #elif V_USE_ENDSTOP == _E4DIAG_
  629. #warning "Note: Auto-assigned V_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  630. #elif V_USE_ENDSTOP == _E5DIAG_
  631. #warning "Note: Auto-assigned V_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  632. #elif V_USE_ENDSTOP == _E6DIAG_
  633. #warning "Note: Auto-assigned V_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  634. #elif V_USE_ENDSTOP == _E7DIAG_
  635. #warning "Note: Auto-assigned V_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  636. #endif
  637. #endif
  638. #if AUTO_ASSIGNED_W_STEPPER
  639. #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.)"
  640. #endif
  641. #if AUTO_ASSIGNED_W_CS
  642. #warning "Note: Auto-assigned W_CS_PIN to an unused En_CS_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  643. #endif
  644. #if AUTO_ASSIGNED_W_MS1
  645. #warning "Note: Auto-assigned W_MS1_PIN to an unused En_MS1_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  646. #endif
  647. #if AUTO_ASSIGNED_W_MS2
  648. #warning "Note: Auto-assigned W_MS2_PIN to an unused En_MS2_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  649. #endif
  650. #if AUTO_ASSIGNED_W_MS3
  651. #warning "Note: Auto-assigned W_MS3_PIN to an unused En_MS3_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  652. #endif
  653. #if AUTO_ASSIGNED_W_DIAG
  654. #if W_USE_ENDSTOP == _XMIN_
  655. #warning "Note: Auto-assigned W_DIAG_PIN to X_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  656. #elif W_USE_ENDSTOP == _XMAX_
  657. #warning "Note: Auto-assigned W_DIAG_PIN to X_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  658. #elif W_USE_ENDSTOP == _YMIN_
  659. #warning "Note: Auto-assigned W_DIAG_PIN to Y_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  660. #elif W_USE_ENDSTOP == _YMAX_
  661. #warning "Note: Auto-assigned W_DIAG_PIN to Y_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  662. #elif W_USE_ENDSTOP == _ZMIN_
  663. #warning "Note: Auto-assigned W_DIAG_PIN to Z_MIN_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  664. #elif W_USE_ENDSTOP == _ZMAX_
  665. #warning "Note: Auto-assigned W_DIAG_PIN to Z_MAX_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  666. #elif W_USE_ENDSTOP == _XDIAG_
  667. #warning "Note: Auto-assigned W_DIAG_PIN to X_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  668. #elif W_USE_ENDSTOP == _YDIAG_
  669. #warning "Note: Auto-assigned W_DIAG_PIN to Y_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  670. #elif W_USE_ENDSTOP == _ZDIAG_
  671. #warning "Note: Auto-assigned W_DIAG_PIN to Z_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  672. #elif W_USE_ENDSTOP == _E0DIAG_
  673. #warning "Note: Auto-assigned W_DIAG_PIN to E0_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  674. #elif W_USE_ENDSTOP == _E1DIAG_
  675. #warning "Note: Auto-assigned W_DIAG_PIN to E1_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  676. #elif W_USE_ENDSTOP == _E2DIAG_
  677. #warning "Note: Auto-assigned W_DIAG_PIN to E2_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  678. #elif W_USE_ENDSTOP == _E3DIAG_
  679. #warning "Note: Auto-assigned W_DIAG_PIN to E3_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  680. #elif W_USE_ENDSTOP == _E4DIAG_
  681. #warning "Note: Auto-assigned W_DIAG_PIN to E4_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  682. #elif W_USE_ENDSTOP == _E5DIAG_
  683. #warning "Note: Auto-assigned W_DIAG_PIN to E5_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  684. #elif W_USE_ENDSTOP == _E6DIAG_
  685. #warning "Note: Auto-assigned W_DIAG_PIN to E6_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  686. #elif W_USE_ENDSTOP == _E7DIAG_
  687. #warning "Note: Auto-assigned W_DIAG_PIN to E7_DIAG_PIN. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  688. #endif
  689. #endif
  690. #if ENABLED(CHAMBER_FAN) && !defined(CHAMBER_FAN_INDEX)
  691. #warning "Note: Auto-assigned CHAMBER_FAN_INDEX to the first free FAN pin. (Define NO_AUTO_ASSIGN_WARNING to suppress this warning.)"
  692. #endif
  693. #endif // !NO_AUTO_ASSIGN_WARNING
  694. #if IS_LEGACY_TFT
  695. #warning "Don't forget to update your TFT settings in Configuration.h."
  696. #endif
  697. #if ENABLED(EMIT_CREALITY_422_WARNING)
  698. #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). (Define EMIT_CREALITY_422_WARNING false to suppress this warning.)"
  699. #endif
  700. #if PRINTCOUNTER_SYNC
  701. #warning "To prevent step loss, motion will pause for PRINTCOUNTER auto-save."
  702. #endif
  703. #if HOMING_Z_WITH_PROBE && IS_CARTESIAN && DISABLED(Z_SAFE_HOMING)
  704. #error "Z_SAFE_HOMING is recommended when homing with a probe. Enable Z_SAFE_HOMING or comment out this line to continue."
  705. #endif
  706. //
  707. // Warn users of potential endstop/DIAG pin conflicts to prevent homing issues when not using sensorless homing
  708. //
  709. #if !USE_SENSORLESS
  710. #if ENABLED(USES_DIAG_JUMPERS) && DISABLED(DIAG_JUMPERS_REMOVED)
  711. #warning "Motherboard DIAG jumpers must be removed when SENSORLESS_HOMING is disabled. (Define DIAG_JUMPERS_REMOVED to suppress this warning.)"
  712. #elif ENABLED(USES_DIAG_PINS) && DISABLED(DIAG_PINS_REMOVED)
  713. #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.)"
  714. #endif
  715. #endif
  716. #if CANNOT_EMBED_CONFIGURATION
  717. #warning "Disabled CONFIGURATION_EMBEDDING because the target usually has less flash storage. Define FORCE_CONFIG_EMBED to override."
  718. #endif
  719. #if HAS_LCD_CONTRAST && LCD_CONTRAST_MIN >= LCD_CONTRAST_MAX
  720. #warning "Contrast cannot be changed when LCD_CONTRAST_MIN >= LCD_CONTRAST_MAX."
  721. #endif
  722. #if PROGRESS_MSG_EXPIRE > 0 && HAS_STATUS_MESSAGE_TIMEOUT
  723. #warning "It is recommended not to combine PROGRESS_MSG_EXPIRE with STATUS_MESSAGE_TIMEOUT_SEC."
  724. #endif
  725. /**
  726. * FYSETC/MKS/BTT Mini Panel backlighting
  727. */
  728. #if EITHER(FYSETC_242_OLED_12864, FYSETC_MINI_12864_2_1) && !ALL(NEOPIXEL_LED, LED_CONTROL_MENU, LED_USER_PRESET_STARTUP, LED_COLOR_PRESETS)
  729. #warning "Your FYSETC/MKS/BTT Mini Panel works best with NEOPIXEL_LED, LED_CONTROL_MENU, LED_USER_PRESET_STARTUP, and LED_COLOR_PRESETS."
  730. #endif
  731. #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) && DISABLED(RGB_LED)
  732. #warning "Your FYSETC Mini Panel works best with RGB_LED."
  733. #elif EITHER(FYSETC_MINI_12864_2_0, FYSETC_MINI_12864_2_1) && DISABLED(LED_USER_PRESET_STARTUP)
  734. #warning "Your FYSETC Mini Panel works best with LED_USER_PRESET_STARTUP."
  735. #endif
  736. #if EITHER(FYSETC_242_OLED_12864, FYSETC_MINI_12864) && BOTH(PSU_CONTROL, HAS_COLOR_LEDS) && !LED_POWEROFF_TIMEOUT
  737. #warning "Your FYSETC display with PSU_CONTROL works best with LED_POWEROFF_TIMEOUT."
  738. #endif
  739. /**
  740. * Maple environment
  741. */
  742. #ifdef __STM32F1__
  743. #warning "Maple build environments are deprecated. Please use a non-Maple build environment. Report issues to the Marlin Firmware project."
  744. #endif
  745. /**
  746. * Průša MK3/S/+ fan pin reassignment
  747. */
  748. #if MB(BTT_BTT002_V1_0, EINSY_RAMBO) && DISABLED(NO_MK3_FAN_PINS_WARNING)
  749. #warning "Define MK3_FAN_PINS to swap hotend and part cooling fan pins. (Define NO_MK3_FAN_PINS_WARNING to suppress this warning.)"
  750. #endif
  751. /**
  752. * BD Sensor should always include BABYSTEPPING
  753. */
  754. #if ENABLED(BD_SENSOR) && DISABLED(BABYSTEPPING)
  755. #warning "BABYSTEPPING is recommended with BD_SENSOR."
  756. #endif