My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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