My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

mega2560-tests 13KB

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