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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. #ifndef LANGUAGE_H
  2. #define LANGUAGE_H
  3. #include "Configuration.h"
  4. #define LANGUAGE_CONCAT(M) #M
  5. #define GENERATE_LANGUAGE_INCLUDE(M) LANGUAGE_CONCAT(language_##M.h)
  6. // NOTE: IF YOU CHANGE LANGUAGE FILES OR MERGE A FILE WITH CHANGES
  7. //
  8. // ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT" #define IN "Configuration.h"
  9. // ==> ALSO TRY ALL AVAILABLE LANGUAGE OPTIONS
  10. // See also documentation/LCDLanguageFont.md
  11. // Languages
  12. // en English
  13. // pl Polish
  14. // fr French
  15. // de German
  16. // es Spanish
  17. // ru Russian
  18. // it Italian
  19. // pt Portuguese
  20. // pt-br Portuguese (Brazil)
  21. // fi Finnish
  22. // an Aragonese
  23. // nl Dutch
  24. // ca Catalan
  25. // eu Basque-Euskera
  26. // kana Japanese
  27. // kana_utf Japanese
  28. #ifndef LANGUAGE_INCLUDE
  29. // pick your language from the list above
  30. #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
  31. #endif
  32. #ifdef HAS_AUTOMATIC_VERSIONING
  33. #include "_Version.h"
  34. #endif
  35. #define PROTOCOL_VERSION "1.0"
  36. #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
  37. #undef FIRMWARE_URL
  38. #define MACHINE_NAME "Ultimaker"
  39. #define FIRMWARE_URL "http://firmware.ultimaker.com"
  40. #elif MB(RUMBA)
  41. #define MACHINE_NAME "Rumba"
  42. #elif MB(3DRAG)
  43. #define MACHINE_NAME "3Drag"
  44. #undef FIRMWARE_URL
  45. #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
  46. #elif MB(K8200)
  47. #define MACHINE_NAME "K8200"
  48. #elif MB(5DPRINT)
  49. #define MACHINE_NAME "Makibox"
  50. #elif MB(SAV_MKI)
  51. #define MACHINE_NAME "SAV MkI"
  52. #undef FIRMWARE_URL
  53. #define FIRMWARE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
  54. #elif MB(WITBOX)
  55. #define MACHINE_NAME "WITBOX"
  56. #undef FIRMWARE_URL
  57. #define FIRMWARE_URL "http://www.bq.com/gb/downloads-witbox.html"
  58. #elif MB(HEPHESTOS)
  59. #define MACHINE_NAME "HEPHESTOS"
  60. #undef FIRMWARE_URL
  61. #define FIRMWARE_URL "http://www.bq.com/gb/downloads-prusa-i3-hephestos.html"
  62. #elif MB(BRAINWAVE_PRO)
  63. #define MACHINE_NAME "Kossel Pro"
  64. #ifndef FIRMWARE_URL
  65. #define FIRMWARE_URL "https://github.com/OpenBeamUSA/Marlin/"
  66. #endif
  67. #else
  68. #ifndef MACHINE_NAME
  69. #define MACHINE_NAME "Mendel"
  70. #endif
  71. #endif
  72. #ifdef CUSTOM_MENDEL_NAME
  73. #warning CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
  74. #define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
  75. #endif
  76. #ifdef CUSTOM_MACHINE_NAME
  77. #undef MACHINE_NAME
  78. #define MACHINE_NAME CUSTOM_MACHINE_NAME
  79. #endif
  80. #ifndef FIRMWARE_URL
  81. #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
  82. #endif
  83. #ifndef BUILD_VERSION
  84. #define BUILD_VERSION "V1; Sprinter/grbl mashup for gen6"
  85. #endif
  86. #ifndef MACHINE_UUID
  87. #define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
  88. #endif
  89. #define STRINGIFY_(n) #n
  90. #define STRINGIFY(n) STRINGIFY_(n)
  91. // Common LCD messages
  92. /* nothing here yet */
  93. // Common serial messages
  94. #define MSG_MARLIN "Marlin"
  95. // Serial Console Messages (do not translate those!)
  96. #define MSG_Enqueing "enqueing \""
  97. #define MSG_POWERUP "PowerUp"
  98. #define MSG_EXTERNAL_RESET " External Reset"
  99. #define MSG_BROWNOUT_RESET " Brown out Reset"
  100. #define MSG_WATCHDOG_RESET " Watchdog Reset"
  101. #define MSG_SOFTWARE_RESET " Software Reset"
  102. #define MSG_AUTHOR " | Author: "
  103. #define MSG_CONFIGURATION_VER " Last Updated: "
  104. #define MSG_FREE_MEMORY " Free Memory: "
  105. #define MSG_PLANNER_BUFFER_BYTES " PlannerBufferBytes: "
  106. #define MSG_OK "ok"
  107. #define MSG_FILE_SAVED "Done saving file."
  108. #define MSG_ERR_LINE_NO "Line Number is not Last Line Number+1, Last Line: "
  109. #define MSG_ERR_CHECKSUM_MISMATCH "checksum mismatch, Last Line: "
  110. #define MSG_ERR_NO_CHECKSUM "No Checksum with line number, Last Line: "
  111. #define MSG_ERR_NO_LINENUMBER_WITH_CHECKSUM "No Line Number with checksum, Last Line: "
  112. #define MSG_FILE_PRINTED "Done printing file"
  113. #define MSG_BEGIN_FILE_LIST "Begin file list"
  114. #define MSG_END_FILE_LIST "End file list"
  115. #define MSG_M104_INVALID_EXTRUDER "M104 Invalid extruder "
  116. #define MSG_M105_INVALID_EXTRUDER "M105 Invalid extruder "
  117. #define MSG_M200_INVALID_EXTRUDER "M200 Invalid extruder "
  118. #define MSG_M218_INVALID_EXTRUDER "M218 Invalid extruder "
  119. #define MSG_M221_INVALID_EXTRUDER "M221 Invalid extruder "
  120. #define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
  121. #define MSG_M109_INVALID_EXTRUDER "M109 Invalid extruder "
  122. #define MSG_HEATING "Heating..."
  123. #define MSG_HEATING_COMPLETE "Heating done."
  124. #define MSG_BED_HEATING "Bed Heating."
  125. #define MSG_BED_DONE "Bed done."
  126. #define MSG_M115_REPORT "FIRMWARE_NAME:Marlin " BUILD_VERSION " FIRMWARE_URL:" FIRMWARE_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_ERR_KILLED "Printer halted. kill() called!"
  129. #define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
  130. #define MSG_RESEND "Resend: "
  131. #define MSG_UNKNOWN_COMMAND "Unknown command: \""
  132. #define MSG_ACTIVE_EXTRUDER "Active Extruder: "
  133. #define MSG_INVALID_EXTRUDER "Invalid extruder"
  134. #define MSG_INVALID_SOLENOID "Invalid solenoid"
  135. #define MSG_X_MIN "x_min: "
  136. #define MSG_X_MAX "x_max: "
  137. #define MSG_Y_MIN "y_min: "
  138. #define MSG_Y_MAX "y_max: "
  139. #define MSG_Z_MIN "z_min: "
  140. #define MSG_Z_MAX "z_max: "
  141. #define MSG_Z2_MAX "z2_max: "
  142. #define MSG_Z_PROBE "z_probe: "
  143. #define MSG_M119_REPORT "Reporting endstop status"
  144. #define MSG_ENDSTOP_HIT "TRIGGERED"
  145. #define MSG_ENDSTOP_OPEN "open"
  146. #define MSG_HOTEND_OFFSET "Hotend offsets:"
  147. #define MSG_SD_CANT_OPEN_SUBDIR "Cannot open subdir"
  148. #define MSG_SD_INIT_FAIL "SD init fail"
  149. #define MSG_SD_VOL_INIT_FAIL "volume.init failed"
  150. #define MSG_SD_OPENROOT_FAIL "openRoot failed"
  151. #define MSG_SD_CARD_OK "SD card ok"
  152. #define MSG_SD_WORKDIR_FAIL "workDir open failed"
  153. #define MSG_SD_OPEN_FILE_FAIL "open failed, File: "
  154. #define MSG_SD_FILE_OPENED "File opened: "
  155. #define MSG_SD_SIZE " Size: "
  156. #define MSG_SD_FILE_SELECTED "File selected"
  157. #define MSG_SD_WRITE_TO_FILE "Writing to file: "
  158. #define MSG_SD_PRINTING_BYTE "SD printing byte "
  159. #define MSG_SD_NOT_PRINTING "Not SD printing"
  160. #define MSG_SD_ERR_WRITE_TO_FILE "error writing to file"
  161. #define MSG_SD_CANT_ENTER_SUBDIR "Cannot enter subdir: "
  162. #define MSG_STEPPER_TOO_HIGH "Steprate too high: "
  163. #define MSG_ENDSTOPS_HIT "endstops hit: "
  164. #define MSG_ERR_COLD_EXTRUDE_STOP " cold extrusion prevented"
  165. #define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
  166. #define MSG_BABYSTEPPING_X "Babystepping X"
  167. #define MSG_BABYSTEPPING_Y "Babystepping Y"
  168. #define MSG_BABYSTEPPING_Z "Babystepping Z"
  169. #define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error in menu structure"
  170. #define MSG_ERR_EEPROM_WRITE "Error writing to EEPROM!"
  171. // temperature.cpp strings
  172. #define MSG_PID_AUTOTUNE "PID Autotune"
  173. #define MSG_PID_AUTOTUNE_START MSG_PID_AUTOTUNE " start"
  174. #define MSG_PID_AUTOTUNE_FAILED MSG_PID_AUTOTUNE " failed!"
  175. #define MSG_PID_BAD_EXTRUDER_NUM MSG_PID_AUTOTUNE_FAILED " Bad extruder number"
  176. #define MSG_PID_TEMP_TOO_HIGH MSG_PID_AUTOTUNE_FAILED " Temperature too high"
  177. #define MSG_PID_TIMEOUT MSG_PID_AUTOTUNE_FAILED " timeout"
  178. #define MSG_BIAS " bias: "
  179. #define MSG_D " d: "
  180. #define MSG_T_MIN " min: "
  181. #define MSG_T_MAX " max: "
  182. #define MSG_KU " Ku: "
  183. #define MSG_TU " Tu: "
  184. #define MSG_CLASSIC_PID " Classic PID "
  185. #define MSG_KP " Kp: "
  186. #define MSG_KI " Ki: "
  187. #define MSG_KD " Kd: "
  188. #define MSG_OK_B "ok B:"
  189. #define MSG_OK_T "ok T:"
  190. #define MSG_AT " @:"
  191. #define MSG_PID_AUTOTUNE_FINISHED MSG_PID_AUTOTUNE " finished! Put the last Kp, Ki and Kd constants from above into Configuration.h"
  192. #define MSG_PID_DEBUG " PID_DEBUG "
  193. #define MSG_PID_DEBUG_INPUT ": Input "
  194. #define MSG_PID_DEBUG_OUTPUT " Output "
  195. #define MSG_PID_DEBUG_PTERM " pTerm "
  196. #define MSG_PID_DEBUG_ITERM " iTerm "
  197. #define MSG_PID_DEBUG_DTERM " dTerm "
  198. #define MSG_HEATING_FAILED "Heating failed"
  199. #define MSG_EXTRUDER_SWITCHED_OFF "Extruder switched off. Temperature difference between temp sensors is too high !"
  200. #define MSG_INVALID_EXTRUDER_NUM " - Invalid extruder number !"
  201. #define MSG_THERMAL_RUNAWAY_STOP "Thermal Runaway, system stopped! Heater_ID: "
  202. #define MSG_SWITCHED_OFF_MAX " switched off. MAXTEMP triggered !!"
  203. #define MSG_MINTEMP_EXTRUDER_OFF ": Extruder switched off. MINTEMP triggered !"
  204. #define MSG_MAXTEMP_EXTRUDER_OFF ": Extruder" MSG_SWITCHED_OFF_MAX
  205. #define MSG_MAXTEMP_BED_OFF "Heated bed" MSG_SWITCHED_OFF_MAX
  206. // LCD Menu Messages
  207. #if !(defined( DISPLAY_CHARSET_HD44780_JAPAN ) || defined( DISPLAY_CHARSET_HD44780_WESTERN ) || defined( DISPLAY_CHARSET_HD44780_CYRILLIC ))
  208. #define DISPLAY_CHARSET_HD44780_JAPAN
  209. #endif
  210. #include LANGUAGE_INCLUDE
  211. #include "language_en.h"
  212. #endif //__LANGUAGE_H