My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

megaatmega2560-tests 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for AVR
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Backup pins_RAMPS.h
  9. #
  10. cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  11. #
  12. # Build with the default configurations
  13. #
  14. restore_configs
  15. exec_test $1 $2 "Default Configuration"
  16. #
  17. # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
  18. # Test a "Fix Mounted" Probe with Safe Homing, some arc options,
  19. # linear bed leveling, M48, leveling debug, and firmware retraction.
  20. #
  21. opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  22. opt_set EXTRUDERS 2
  23. opt_set TEMP_SENSOR_0 -2
  24. opt_set TEMP_SENSOR_1 1
  25. opt_set TEMP_SENSOR_BED 2
  26. opt_set POWER_SUPPLY 1
  27. opt_set GRID_MAX_POINTS_X 16
  28. opt_set FANMUX0_PIN 53
  29. opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING EEPROM_SETTINGS \
  30. REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT SD_REPRINT_LAST_SELECTED_FILE BINARY_FILE_TRANSFER \
  31. NEOPIXEL_LED BLINKM PCA9632 RGB_LED RGB_LED_R_PIN RGB_LED_G_PIN RGB_LED_B_PIN \
  32. NOZZLE_PARK_FEATURE FILAMENT_RUNOUT_SENSOR FILAMENT_RUNOUT_DISTANCE_MM \
  33. AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
  34. SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE \
  35. FWRETRACT ARC_P_CIRCLES ADVANCED_PAUSE_FEATURE CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS \
  36. AUTO_POWER_CONTROL POWER_LOSS_RECOVERY POWER_LOSS_PIN POWER_LOSS_STATE \
  37. LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST PINS_DEBUGGING \
  38. MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CODEPENDENT_XY_HOMING BACKLASH_COMPENSATION BACKLASH_GCODE
  39. opt_enable SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER
  40. opt_set TEMP_SENSOR_CHAMBER 3
  41. opt_set HEATER_CHAMBER_PIN 45
  42. exec_test $1 $2 "RAMPS with 2 extruders, RRDFGSC, Linear ABL, LEDs, and many options"
  43. #
  44. # Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
  45. #
  46. use_example_configs AnimationExample
  47. opt_set SHOW_CUSTOM_BOOTSCREEN
  48. opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  49. opt_set EXTRUDERS 5
  50. opt_set TEMP_SENSOR_1 1
  51. opt_set TEMP_SENSOR_2 5
  52. opt_set TEMP_SENSOR_3 20
  53. opt_set TEMP_SENSOR_4 999
  54. opt_set TEMP_SENSOR_BED 1
  55. opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT SKEW_CORRECTION \
  56. EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT \
  57. USB_FLASH_DRIVE_SUPPORT SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES LIGHTWEIGHT_UI \
  58. CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING BABYSTEP_XY LIN_ADVANCE NANODLP_Z_SYNC QUICK_HOME JUNCTION_DEVIATION
  59. exec_test $1 $2 "Azteeg X3 with 5 extruders, RRDFGSC, probeless UBL, Linear Advance, and more"
  60. #
  61. # Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language
  62. #
  63. opt_enable Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
  64. opt_set LCD_LANGUAGE jp-kana
  65. opt_disable SEGMENT_LEVELED_MOVES
  66. opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET BABYSTEP_DISPLAY_TOTAL
  67. exec_test $1 $2 "... Sled Z Probe, Skew, UBL Cartesian moves, Japanese, and Z probe BABYSTEPPING"
  68. #
  69. # Test a Servo Probe
  70. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  71. #
  72. restore_configs
  73. opt_enable ZONESTAR_LCD Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
  74. AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  75. opt_set NUM_SERVOS 1
  76. opt_enable NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
  77. exec_test $1 $2 "RAMPS with ZONESTAR_LCD, Servo Probe, 3-Point ABL, DEBUG_LEVELING_FEATURE, EEPROM, G38, and more"
  78. #
  79. # Test MESH_BED_LEVELING feature, with LCD
  80. #
  81. restore_configs
  82. opt_enable MESH_BED_LEVELING G26_MESH_EDITING MESH_G28_REST_ORIGIN LCD_BED_LEVELING MESH_EDIT_MENU ULTIMAKERCONTROLLER
  83. exec_test $1 $2 "MESH_BED_LEVELING feature, with LCD"
  84. #
  85. # Test MINIRAMBO with PWM_MOTOR_CURRENT and many features
  86. #
  87. restore_configs
  88. opt_set MOTHERBOARD BOARD_MINIRAMBO
  89. opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR G26_MESH_EDITING LCD_BED_LEVELING MESH_EDIT_MENU \
  90. EEPROM_SETTINGS EEPROM_CHITCHAT \
  91. M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR \
  92. INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT \
  93. ULTIMAKERCONTROLLER SDSUPPORT \
  94. PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632 \
  95. BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS \
  96. ADVANCED_PAUSE_FEATURE ADVANCED_PAUSE_CONTINUOUS_PURGE FILAMENT_LOAD_UNLOAD_GCODES PARK_HEAD_ON_PAUSE \
  97. LCD_INFO_MENU M114_DETAIL
  98. opt_set PWM_MOTOR_CURRENT "{ 1300, 1300, 1250 }"
  99. opt_set I2C_SLAVE_ADDRESS 63
  100. exec_test $1 $2 "MINIRAMBO for PWM_MOTOR_CURRENT etc"
  101. #
  102. # Mixing Extruder with 5 steppers, Cyrillic
  103. #
  104. restore_configs
  105. opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  106. opt_enable MIXING_EXTRUDER GRADIENT_MIX GRADIENT_VTOOL CR10_STOCKDISPLAY
  107. opt_set MIXING_STEPPERS 5
  108. opt_set LCD_LANGUAGE ru
  109. exec_test $1 $2 "Mixing Extruder with 5 steppers, Cyrillic"
  110. #
  111. # Test DUAL_X_CARRIAGE
  112. #
  113. restore_configs
  114. opt_set MOTHERBOARD BOARD_RUMBA
  115. opt_set EXTRUDERS 2
  116. opt_set TEMP_SENSOR_1 1
  117. opt_enable USE_XMAX_PLUG DUAL_X_CARRIAGE
  118. exec_test $1 $2 "DUAL_X_CARRIAGE"
  119. #
  120. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  121. #
  122. #restore_configs
  123. #opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  124. #opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  125. #opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  126. #opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  127. #
  128. # Enable COREXY
  129. #
  130. #restore_configs
  131. #opt_enable COREXY
  132. #exec_test $1 $2 "Stuff"
  133. #
  134. # Test many less common options
  135. #
  136. restore_configs
  137. opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  138. opt_set EXTRUDERS 2
  139. opt_set TEMP_SENSOR_1 -4
  140. opt_set SERVO_DELAY "{ 300, 300, 300 }"
  141. opt_enable COREYX USE_XMAX_PLUG \
  142. REPRAP_DISCOUNT_SMART_CONTROLLER BABYSTEPPING BABYSTEP_DISPLAY_TOTAL DAC_MOTOR_CURRENT_DEFAULT \
  143. FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR \
  144. ENDSTOP_INTERRUPTS_FEATURE ENDSTOP_NOISE_THRESHOLD FAN_SOFT_PWM SDSUPPORT \
  145. SWITCHING_TOOLHEAD NUM_SERVOS DEBUG_LEVELING_FEATURE \
  146. SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER \
  147. ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ADVANCED_OK \
  148. VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL \
  149. EXTRA_FAN_SPEED FWRETRACT Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS \
  150. MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
  151. opt_set FAN_MIN_PWM 50
  152. opt_set FAN_KICKSTART_TIME 100
  153. opt_set XY_FREQUENCY_LIMIT 15
  154. exec_test $1 $2 "Many less common options"
  155. ######## Other Standard LCD/Panels ##############
  156. #
  157. # ULTRA_LCD
  158. #
  159. #restore_configs
  160. #opt_enable ULTRA_LCD
  161. #exec_test $1 $2 "Stuff"
  162. #
  163. # DOGLCD
  164. #
  165. #restore_configs
  166. #opt_enable DOGLCD
  167. #exec_test $1 $2 "Stuff"
  168. #
  169. # MAKRPANEL
  170. # Needs to use Melzi and Sanguino hardware
  171. #
  172. #restore_configs
  173. #opt_enable MAKRPANEL
  174. #exec_test $1 $2 "Stuff"
  175. #
  176. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  177. #
  178. #restore_configs
  179. #opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  180. #opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  181. #exec_test $1 $2 "Stuff"
  182. # #
  183. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  184. #
  185. #restore_configs
  186. #opt_enable G3D_PANEL SDSUPPORT SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
  187. #opt_set SDSORT_GCODE true
  188. #opt_set SDSORT_USES_RAM true
  189. #opt_set SDSORT_USES_STACK true
  190. #opt_set SDSORT_CACHE_NAMES true
  191. #exec_test $1 $2 "Stuff"
  192. #
  193. # REPRAPWORLD_KEYPAD
  194. #
  195. # Cant find configuration details to get it to compile
  196. #restore_configs
  197. #opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  198. #exec_test $1 $2 "Stuff"
  199. #
  200. # RA_CONTROL_PANEL
  201. #
  202. #restore_configs
  203. #opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  204. #exec_test $1 $2 "Stuff"
  205. ######## I2C LCD/PANELS ##############
  206. #
  207. # !!!ATTENTION!!!
  208. # Most I2C configurations are failing at the moment because they require
  209. # a different Liquid Crystal library "LiquidTWI2".
  210. #
  211. # LCD_SAINSMART_I2C_1602
  212. #
  213. #restore_configs
  214. #opt_enable LCD_SAINSMART_I2C_1602
  215. #exec_test $1 $2 "Stuff"
  216. #
  217. # LCD_I2C_PANELOLU2
  218. #
  219. #restore_configs
  220. #opt_enable LCD_I2C_PANELOLU2
  221. #exec_test $1 $2 "Stuff"
  222. #
  223. # LCD_I2C_VIKI
  224. #
  225. #restore_configs
  226. #opt_enable LCD_I2C_VIKI
  227. #exec_test $1 $2 "Stuff"
  228. #
  229. # LCM1602
  230. #
  231. #restore_configs
  232. #opt_enable LCM1602
  233. #exec_test $1 $2 "Stuff"
  234. #
  235. # Language files test with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  236. #
  237. #restore_configs
  238. #opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  239. #for lang in an bg ca zh_CN zh_TW cz da de el el-gr en es eu fi fr gl hr it jp-kana nl pl pt pt-br ru sk tr uk test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; exec_test $1 $2 "Stuff"; done
  240. #
  241. #restore_configs
  242. #opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
  243. #for lang in an bg ca zh_CN zh_TW cz da de el el-gr en es eu fi fr gl hr it jp-kana nl pl pt pt-br ru sk tr uk test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; exec_test $1 $2 "Stuff"; done
  244. ######## Example Configurations ##############
  245. #
  246. # Test a full-featured CR-10S config
  247. #
  248. use_example_configs Creality/CR-10S
  249. exec_test $1 $2 "Full-featured CR-10S config"
  250. #
  251. # BQ Hephestos 2
  252. #restore_configs
  253. #use_example_configs Hephestos_2
  254. #exec_test $1 $2 "Stuff"
  255. #
  256. # Delta Config (generic) + ABL bilinear + BLTOUCH
  257. use_example_configs delta/generic
  258. opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR BLTOUCH BLTOUCH_V3
  259. exec_test $1 $2 "Delta Config (generic) + ABL bilinear + BLTOUCH"
  260. #
  261. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  262. #
  263. use_example_configs delta/generic
  264. opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT \
  265. OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
  266. exec_test $1 $2 "Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS"
  267. #
  268. # Delta Config (FLSUN AC because it's complex)
  269. #
  270. use_example_configs delta/FLSUN/auto_calibrate
  271. exec_test $1 $2 "Delta Config (FLSUN AC because it's complex)"
  272. #
  273. # Makibox Config need to check board type for Teensy++ 2.0
  274. #
  275. #use_example_configs makibox
  276. #exec_test $1 $2 "Stuff"
  277. #
  278. # SCARA with TMC2130
  279. #
  280. use_example_configs SCARA
  281. opt_enable USE_ZMIN_PLUG FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR PAUSE_BEFORE_DEPLOY_STOW \
  282. EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER \
  283. MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING
  284. opt_set X_DRIVER_TYPE TMC2130
  285. opt_set Y_DRIVER_TYPE TMC2130
  286. opt_set Z_DRIVER_TYPE TMC2130
  287. opt_set E0_DRIVER_TYPE TMC2130
  288. exec_test $1 $2 "SCARA with TMC2130"
  289. #
  290. # Test mixed TMC config
  291. #
  292. restore_configs
  293. opt_set X_DRIVER_TYPE TMC2160
  294. opt_set Y_DRIVER_TYPE TMC5160
  295. opt_set Z_DRIVER_TYPE TMC2208
  296. opt_set E0_DRIVER_TYPE TMC2130
  297. opt_set X_MIN_ENDSTOP_INVERTING true
  298. opt_set Y_MIN_ENDSTOP_INVERTING true
  299. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD USE_ZMIN_PLUG SENSORLESS_HOMING TMC_DEBUG
  300. exec_test $1 $2 "Mixed TMC configuration"
  301. #
  302. # tvrrug Config need to check board type for sanguino atmega644p
  303. #
  304. #use_example_configs tvrrug/Round2
  305. #exec_test $1 $2 "Stuff"
  306. #
  307. #
  308. # clean up
  309. restore_configs