config.ini 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. #
  2. # Marlin Firmware
  3. # config.ini - Options to apply before the build
  4. #
  5. [config:base]
  6. #
  7. # ini_use_config - A comma-separated list of actions to apply to the Configuration files.
  8. # The actions will be applied in the listed order.
  9. # - none
  10. # Ignore this file and don't apply any configuration options
  11. #
  12. # - base
  13. # Just apply the options in config:base to the configuration
  14. #
  15. # - minimal
  16. # Just apply the options in config:minimal to the configuration
  17. #
  18. # - all
  19. # Apply all 'config:*' sections in this file to the configuration
  20. #
  21. # - another.ini
  22. # Load another INI file with a path relative to this config.ini file (i.e., within Marlin/)
  23. #
  24. # - https://me.myserver.com/path/to/configs
  25. # Fetch configurations from any URL.
  26. #
  27. # - example/Creality/Ender-5 Plus @ bugfix-2.1.x
  28. # Fetch example configuration files from the MarlinFirmware/Configurations repository
  29. # https://raw.githubusercontent.com/MarlinFirmware/Configurations/bugfix-2.1.x/config/examples/Creality/Ender-5%20Plus/
  30. #
  31. # - example/default @ release-2.0.9.7
  32. # Fetch default configuration files from the MarlinFirmware/Configurations repository
  33. # https://raw.githubusercontent.com/MarlinFirmware/Configurations/release-2.0.9.7/config/default/
  34. #
  35. # - [disable]
  36. # Comment out all #defines in both Configuration.h and Configuration_adv.h. This is useful
  37. # to start with a clean slate before applying any config: options, so only the options explicitly
  38. # set in config.ini will be enabled in the configuration.
  39. #
  40. # - [flatten] (Not yet implemented)
  41. # Produce a flattened set of Configuration.h and Configuration_adv.h files with only the enabled
  42. # #defines and no comments. A clean look, but context-free.
  43. #
  44. ini_use_config = none
  45. # Load all config: sections in this file
  46. ;ini_use_config = all
  47. # Disable everything and apply subsequent config:base options
  48. ;ini_use_config = [disable], base
  49. # Load config file relative to Marlin/
  50. ;ini_use_config = another.ini
  51. # Download configurations from GitHub
  52. ;ini_use_config = example/Creality/Ender-5 Plus @ bugfix-2.1.x
  53. # Download configurations from your server
  54. ;ini_use_config = https://me.myserver.com/path/to/configs
  55. # Evaluate config:base and do a config dump
  56. ;ini_use_config = base
  57. ;config_export = 2
  58. [config:minimal]
  59. motherboard = BOARD_RAMPS_14_EFB
  60. serial_port = 0
  61. baudrate = 250000
  62. string_config_h_author = "(default from config.ini)"
  63. capabilities_report = on
  64. extended_capabilities_report = on
  65. use_watchdog = on
  66. thermal_protection_hotends = on
  67. thermal_protection_hysteresis = 4
  68. thermal_protection_period = 40
  69. bufsize = 4
  70. block_buffer_size = 16
  71. max_cmd_size = 96
  72. extruders = 1
  73. temp_sensor_0 = 1
  74. temp_hysteresis = 3
  75. heater_0_mintemp = 5
  76. heater_0_maxtemp = 275
  77. pidtemp = on
  78. pid_k1 = 0.95
  79. pid_max = 255
  80. pid_functional_range = 10
  81. default_kp = 22.20
  82. default_ki = 1.08
  83. default_kd = 114.00
  84. temp_sensor_bed = 1
  85. bed_mintemp = 5
  86. bed_maxtemp = 150
  87. thermal_protection_bed = on
  88. thermal_protection_bed_hysteresis = 2
  89. thermal_protection_bed_period = 20
  90. x_driver_type = A4988
  91. y_driver_type = A4988
  92. z_driver_type = A4988
  93. e0_driver_type = A4988
  94. x_bed_size = 200
  95. x_min_pos = 0
  96. x_max_pos = X_BED_SIZE
  97. y_bed_size = 200
  98. y_min_pos = 0
  99. y_max_pos = Y_BED_SIZE
  100. z_min_pos = 0
  101. z_max_pos = 200
  102. x_home_dir = -1
  103. y_home_dir = -1
  104. z_home_dir = -1
  105. x_min_endstop_hit_state = HIGH
  106. y_min_endstop_hit_state = HIGH
  107. z_min_endstop_hit_state = HIGH
  108. default_axis_steps_per_unit = { 80, 80, 400, 500 }
  109. axis_relative_modes = { false, false, false, false }
  110. default_max_feedrate = { 300, 300, 5, 25 }
  111. default_max_acceleration = { 3000, 3000, 100, 10000 }
  112. homing_feedrate_mm_m = { (50*60), (50*60), (4*60) }
  113. homing_bump_divisor = { 2, 2, 4 }
  114. x_enable_on = LOW
  115. y_enable_on = LOW
  116. z_enable_on = LOW
  117. e_enable_on = LOW
  118. invert_x_dir = false
  119. invert_y_dir = true
  120. invert_z_dir = false
  121. invert_e0_dir = false
  122. step_state_e = HIGH
  123. step_state_x = HIGH
  124. step_state_y = HIGH
  125. step_state_z = HIGH
  126. proportional_font_ratio = 1.0
  127. default_nominal_filament_dia = 1.75
  128. junction_deviation_mm = 0.013
  129. default_acceleration = 3000
  130. default_travel_acceleration = 3000
  131. default_retract_acceleration = 3000
  132. default_minimumfeedrate = 0.0
  133. default_mintravelfeedrate = 0.0
  134. min_steps_per_segment = 6
  135. default_minsegmenttime = 20000
  136. [config:basic]
  137. bed_overshoot = 10
  138. busy_while_heating = on
  139. default_keepalive_interval = 2
  140. eeprom_boot_silent = on
  141. eeprom_chitchat = on
  142. endstoppullups = on
  143. extrude_maxlength = 200
  144. extrude_mintemp = 170
  145. host_keepalive_feature = on
  146. hotend_overshoot = 15
  147. jd_handle_small_segments = on
  148. max_bed_power = 255
  149. min_software_endstops = on
  150. max_software_endstops = on
  151. min_software_endstop_x = on
  152. min_software_endstop_y = on
  153. min_software_endstop_z = on
  154. max_software_endstop_x = on
  155. max_software_endstop_y = on
  156. max_software_endstop_z = on
  157. preheat_1_label = "PLA"
  158. preheat_1_temp_hotend = 180
  159. preheat_1_temp_bed = 70
  160. preheat_1_fan_speed = 0
  161. preheat_2_label = "ABS"
  162. preheat_2_temp_hotend = 240
  163. preheat_2_temp_bed = 110
  164. preheat_2_fan_speed = 0
  165. prevent_cold_extrusion = on
  166. prevent_lengthy_extrude = on
  167. printjob_timer_autostart = on
  168. temp_bed_hysteresis = 3
  169. temp_bed_residency_time = 10
  170. temp_bed_window = 1
  171. temp_residency_time = 10
  172. temp_window = 1
  173. validate_homing_endstops = on
  174. editable_steps_per_unit = on
  175. [config:advanced]
  176. arc_support = on
  177. auto_report_temperatures = on
  178. autotemp = on
  179. autotemp_min = 210
  180. autotemp_max = 250
  181. autotemp_factor = 0.1f
  182. autotemp_oldweight = 0.98
  183. default_stepper_timeout_sec = 120
  184. disable_idle_x = on
  185. disable_idle_y = on
  186. disable_idle_z = on
  187. disable_idle_e = on
  188. e0_auto_fan_pin = -1
  189. faster_gcode_parser = on
  190. debug_flags_gcode = on
  191. homing_bump_mm = { 5, 5, 2 }
  192. max_arc_segment_mm = 1.0
  193. min_arc_segment_mm = 0.1
  194. min_circle_segments = 72
  195. n_arc_correction = 25
  196. serial_overrun_protection = on
  197. slowdown = on
  198. slowdown_divisor = 2
  199. tx_buffer_size = 0
  200. bed_check_interval = 5000
  201. watch_bed_temp_increase = 2
  202. watch_bed_temp_period = 60
  203. watch_temp_increase = 2
  204. watch_temp_period = 40