My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #ifndef LANGUAGE_H
  23. #define LANGUAGE_H
  24. #include "Configuration.h"
  25. #define GENERATE_LANGUAGE_INCLUDE(M) STRINGIFY_(language_##M.h)
  26. // NOTE: IF YOU CHANGE LANGUAGE FILES OR MERGE A FILE WITH CHANGES
  27. //
  28. // ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT" #define IN "Configuration.h"
  29. // ==> ALSO TRY ALL AVAILABLE LANGUAGE OPTIONS
  30. // See also https://github.com/MarlinFirmware/Marlin/wiki/LCD-Language
  31. // Languages
  32. // en English
  33. // pl Polish
  34. // fr French
  35. // de German
  36. // es Spanish
  37. // ru Russian
  38. // bg Bulgarian
  39. // it Italian
  40. // pt Portuguese
  41. // pt_utf8 Portuguese (UTF8)
  42. // pt-br Portuguese (Brazilian)
  43. // pt-br_utf8 Portuguese (Brazilian UTF8)
  44. // fi Finnish
  45. // an Aragonese
  46. // nl Dutch
  47. // gl Galician
  48. // ca Catalan
  49. // eu Basque-Euskera
  50. // kana Japanese
  51. // kana_utf8 Japanese (UTF8)
  52. // cn Chinese
  53. // cz Czech
  54. // fallback if no language is set, don't change
  55. #ifndef LANGUAGE_INCLUDE
  56. #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
  57. #endif
  58. #if ENABLED(USE_AUTOMATIC_VERSIONING)
  59. #include "_Version.h"
  60. #else
  61. #include "Default_Version.h"
  62. #endif
  63. #define PROTOCOL_VERSION "1.0"
  64. #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
  65. #define DEFAULT_MACHINE_NAME "Ultimaker"
  66. #define DEFAULT_SOURCE_URL "https://github.com/Ultimaker/Marlin"
  67. #elif MB(RUMBA)
  68. #define DEFAULT_MACHINE_NAME "Rumba"
  69. #elif MB(3DRAG)
  70. #define DEFAULT_MACHINE_NAME "3Drag"
  71. #define DEFAULT_SOURCE_URL "http://3dprint.elettronicain.it/"
  72. #elif MB(K8200)
  73. #define DEFAULT_MACHINE_NAME "K8200"
  74. #define DEFAULT_SOURCE_URL "https://github.com/CONSULitAS/Marlin-K8200"
  75. #elif MB(5DPRINT)
  76. #define DEFAULT_MACHINE_NAME "Makibox"
  77. #elif MB(SAV_MKI)
  78. #define DEFAULT_MACHINE_NAME "SAV MkI"
  79. #define DEFAULT_SOURCE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
  80. #else
  81. #define DEFAULT_MACHINE_NAME "3D Printer"
  82. #define DEFAULT_SOURCE_URL "https://github.com/MarlinFirmware/Marlin"
  83. #endif
  84. #ifdef CUSTOM_MACHINE_NAME
  85. #define MACHINE_NAME CUSTOM_MACHINE_NAME
  86. #else
  87. #define MACHINE_NAME DEFAULT_MACHINE_NAME
  88. #endif
  89. #ifndef SOURCE_CODE_URL
  90. #define SOURCE_CODE_URL DEFAULT_SOURCE_URL
  91. #endif
  92. #ifndef DETAILED_BUILD_VERSION
  93. #error BUILD_VERSION Information must be specified
  94. #endif
  95. #ifndef MACHINE_UUID
  96. #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
  97. #endif
  98. // Common LCD messages
  99. /* nothing here yet */
  100. // Common serial messages
  101. #define MSG_MARLIN "Marlin"
  102. // Serial Console Messages (do not translate those!)
  103. #define MSG_Enqueueing "enqueueing \""
  104. #define MSG_POWERUP "PowerUp"
  105. #define MSG_EXTERNAL_RESET " External Reset"
  106. #define MSG_BROWNOUT_RESET " Brown out Reset"
  107. #define MSG_WATCHDOG_RESET " Watchdog Reset"
  108. #define MSG_SOFTWARE_RESET " Software Reset"
  109. #define MSG_AUTHOR " | Author: "
  110. #define MSG_CONFIGURATION_VER " Last Updated: "
  111. #define MSG_FREE_MEMORY " Free Memory: "
  112. #define MSG_PLANNER_BUFFER_BYTES " PlannerBufferBytes: "
  113. #define MSG_OK "ok"
  114. #define MSG_WAIT "wait"
  115. #define MSG_FILE_SAVED "Done saving file."
  116. #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line: "
  117. #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line: "
  118. #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line: "
  119. #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line: "
  120. #define MSG_FILE_PRINTED "Done printing file"
  121. #define MSG_BEGIN_FILE_LIST "Begin file list"
  122. #define MSG_END_FILE_LIST "End file list"
  123. #define MSG_INVALID_EXTRUDER "Invalid extruder"
  124. #define MSG_INVALID_SOLENOID "Invalid solenoid"
  125. #define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
  126. #define MSG_M115_REPORT "FIRMWARE_NAME:Marlin " DETAILED_BUILD_VERSION " SOURCE_CODE_URL:" SOURCE_CODE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
  127. #define MSG_COUNT_X " Count X: "
  128. #define MSG_COUNT_A " Count A: "
  129. #define MSG_ERR_KILLED "Printer halted. kill() called!"
  130. #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
  131. #define MSG_BUSY_PROCESSING "busy: processing"
  132. #define MSG_BUSY_PAUSED_FOR_USER "busy: paused for user"
  133. #define MSG_BUSY_PAUSED_FOR_INPUT "busy: paused for input"
  134. #define MSG_RESEND "Resend: "
  135. #define MSG_UNKNOWN_COMMAND "Unknown command: \""
  136. #define MSG_ACTIVE_EXTRUDER "Active Extruder: "
  137. #define MSG_X_MIN "x_min: "
  138. #define MSG_X_MAX "x_max: "
  139. #define MSG_Y_MIN "y_min: "
  140. #define MSG_Y_MAX "y_max: "
  141. #define MSG_Z_MIN "z_min: "
  142. #define MSG_Z_MAX "z_max: "
  143. #define MSG_Z2_MAX "z2_max: "
  144. #define MSG_Z_PROBE "z_probe: "
  145. #define MSG_ERR_MATERIAL_INDEX "M145 S<index> out of range (0-1)"
  146. #define MSG_ERR_M421_REQUIRES_XYZ "M421 requires XYZ parameters"
  147. #define MSG_ERR_MESH_INDEX_OOB "Mesh XY index is out of bounds"
  148. #define MSG_ERR_M428_TOO_FAR "Too far from reference point"
  149. #define MSG_M119_REPORT "Reporting endstop status"
  150. #define MSG_ENDSTOP_HIT "TRIGGERED"
  151. #define MSG_ENDSTOP_OPEN "open"
  152. #define MSG_HOTEND_OFFSET "Hotend offsets:"
  153. #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir"
  154. #define MSG_SD_INIT_FAIL "SD init fail"
  155. #define MSG_SD_VOL_INIT_FAIL "volume.init failed"
  156. #define MSG_SD_OPENROOT_FAIL "openRoot failed"
  157. #define MSG_SD_CARD_OK "SD card ok"
  158. #define MSG_SD_WORKDIR_FAIL "workDir open failed"
  159. #define MSG_SD_OPEN_FILE_FAIL "open failed, File: "
  160. #define MSG_SD_FILE_OPENED "File opened: "
  161. #define MSG_SD_SIZE " Size: "
  162. #define MSG_SD_FILE_SELECTED "File selected"
  163. #define MSG_SD_WRITE_TO_FILE "Writing to file: "
  164. #define MSG_SD_PRINTING_BYTE "SD printing byte "
  165. #define MSG_SD_NOT_PRINTING "Not SD printing"
  166. #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file"
  167. #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir: "
  168. #define MSG_STEPPER_TOO_HIGH "Steprate too high: "
  169. #define MSG_ENDSTOPS_HIT "endstops hit: "
  170. #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented"
  171. #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
  172. #define MSG_TOO_COLD_FOR_M600 "M600 Hotend too cold to change filament"
  173. #define MSG_BABYSTEPPING_X "Babystepping X"
  174. #define MSG_BABYSTEPPING_Y "Babystepping Y"
  175. #define MSG_BABYSTEPPING_Z "Babystepping Z"
  176. #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error in menu structure"
  177. #define MSG_ERR_EEPROM_WRITE "Error writing to EEPROM!"
  178. // temperature.cpp strings
  179. #define MSG_PID_AUTOTUNE "PID Autotune"
  180. #define MSG_PID_AUTOTUNE_START MSG_PID_AUTOTUNE " start"
  181. #define MSG_PID_AUTOTUNE_FAILED MSG_PID_AUTOTUNE " failed!"
  182. #define MSG_PID_BAD_EXTRUDER_NUM MSG_PID_AUTOTUNE_FAILED " Bad extruder number"
  183. #define MSG_PID_TEMP_TOO_HIGH MSG_PID_AUTOTUNE_FAILED " Temperature too high"
  184. #define MSG_PID_TIMEOUT MSG_PID_AUTOTUNE_FAILED " timeout"
  185. #define MSG_BIAS " bias: "
  186. #define MSG_D " d: "
  187. #define MSG_T_MIN " min: "
  188. #define MSG_T_MAX " max: "
  189. #define MSG_KU " Ku: "
  190. #define MSG_TU " Tu: "
  191. #define MSG_CLASSIC_PID " Classic PID "
  192. #define MSG_KP " Kp: "
  193. #define MSG_KI " Ki: "
  194. #define MSG_KD " Kd: "
  195. #define MSG_B "B:"
  196. #define MSG_T "T:"
  197. #define MSG_AT " @:"
  198. #define MSG_PID_AUTOTUNE_FINISHED MSG_PID_AUTOTUNE " finished! Put the last Kp, Ki and Kd constants from below into Configuration.h"
  199. #define MSG_PID_DEBUG " PID_DEBUG "
  200. #define MSG_PID_DEBUG_INPUT ": Input "
  201. #define MSG_PID_DEBUG_OUTPUT " Output "
  202. #define MSG_PID_DEBUG_PTERM " pTerm "
  203. #define MSG_PID_DEBUG_ITERM " iTerm "
  204. #define MSG_PID_DEBUG_DTERM " dTerm "
  205. #define MSG_PID_DEBUG_CTERM " cTerm "
  206. #define MSG_INVALID_EXTRUDER_NUM " - Invalid extruder number !"
  207. #define MSG_HEATER_BED "bed"
  208. #define MSG_STOPPED_HEATER ", system stopped! Heater_ID: "
  209. #define MSG_REDUNDANCY "Heater switched off. Temperature difference between temp sensors is too high !"
  210. #define MSG_T_HEATING_FAILED "Heating failed"
  211. #define MSG_T_THERMAL_RUNAWAY "Thermal Runaway"
  212. #define MSG_T_MAXTEMP "MAXTEMP triggered"
  213. #define MSG_T_MINTEMP "MINTEMP triggered"
  214. // Debug
  215. #define MSG_DEBUG_ECHO "DEBUG ECHO ENABLED"
  216. #define MSG_DEBUG_INFO "DEBUG INFO ENABLED"
  217. #define MSG_DEBUG_ERRORS "DEBUG ERRORS ENABLED"
  218. #define MSG_DEBUG_DRYRUN "DEBUG DRYRUN ENABLED"
  219. #define MSG_DEBUG_LEVELING "DEBUG LEVELING ENABLED"
  220. // LCD Menu Messages
  221. #if DISABLED(DISPLAY_CHARSET_HD44780_JAPAN) && DISABLED(DISPLAY_CHARSET_HD44780_WESTERN) && DISABLED(DISPLAY_CHARSET_HD44780_CYRILLIC)
  222. #define DISPLAY_CHARSET_HD44780_JAPAN
  223. #endif
  224. #include LANGUAGE_INCLUDE
  225. #include "language_en.h"
  226. #endif //__LANGUAGE_H