My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mega2560-tests 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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" "$3"
  12. #
  13. # Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
  14. #
  15. use_example_configs AnimationExample
  16. opt_set SHOW_CUSTOM_BOOTSCREEN
  17. opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  18. opt_set LCD_LANGUAGE fr
  19. opt_set EXTRUDERS 5
  20. opt_set TEMP_SENSOR_1 1
  21. opt_set TEMP_SENSOR_2 5
  22. opt_set TEMP_SENSOR_3 20
  23. opt_set TEMP_SENSOR_4 1000
  24. opt_set TEMP_SENSOR_BED 1
  25. opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_VALIDATION ENABLE_LEVELING_FADE_HEIGHT SKEW_CORRECTION \
  26. REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LIGHTWEIGHT_UI STATUS_MESSAGE_SCROLLING BOOT_MARLIN_LOGO_SMALL \
  27. SDSUPPORT SDCARD_SORT_ALPHA USB_FLASH_DRIVE_SUPPORT AUTO_REPORT_SD_STATUS SCROLL_LONG_FILENAMES CANCEL_OBJECTS SOUND_MENU_ITEM \
  28. EEPROM_SETTINGS EEPROM_CHITCHAT GCODE_MACROS CUSTOM_USER_MENUS \
  29. MULTI_NOZZLE_DUPLICATION CLASSIC_JERK LIN_ADVANCE EXTRA_LIN_ADVANCE_K QUICK_HOME \
  30. LCD_SET_PROGRESS_MANUALLY PRINT_PROGRESS_SHOW_DECIMALS SHOW_REMAINING_TIME \
  31. BABYSTEPPING BABYSTEP_XY NANODLP_Z_SYNC I2C_POSITION_ENCODERS M114_DETAIL
  32. exec_test $1 $2 "Azteeg X3 Pro | EXTRUDERS 5 | RRDFGSC | UBL | LIN_ADVANCE ..." "$3"
  33. #
  34. # Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language
  35. #
  36. use_example_configs AnimationExample
  37. opt_set SHOW_CUSTOM_BOOTSCREEN
  38. opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  39. opt_set LCD_LANGUAGE fr
  40. opt_set EXTRUDERS 5
  41. opt_set TEMP_SENSOR_1 1
  42. opt_set TEMP_SENSOR_2 5
  43. opt_set TEMP_SENSOR_3 20
  44. opt_set TEMP_SENSOR_4 1000
  45. opt_set TEMP_SENSOR_BED 1
  46. opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_VALIDATION ENABLE_LEVELING_FADE_HEIGHT SKEW_CORRECTION \
  47. REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LIGHTWEIGHT_UI STATUS_MESSAGE_SCROLLING BOOT_MARLIN_LOGO_SMALL \
  48. SDSUPPORT SDCARD_SORT_ALPHA USB_FLASH_DRIVE_SUPPORT SCROLL_LONG_FILENAMES CANCEL_OBJECTS NO_SD_AUTOSTART \
  49. EEPROM_SETTINGS EEPROM_CHITCHAT GCODE_MACROS CUSTOM_USER_MENUS \
  50. MULTI_NOZZLE_DUPLICATION CLASSIC_JERK LIN_ADVANCE QUICK_HOME \
  51. LCD_SET_PROGRESS_MANUALLY PRINT_PROGRESS_SHOW_DECIMALS SHOW_REMAINING_TIME \
  52. BABYSTEPPING BABYSTEP_XY NANODLP_Z_SYNC I2C_POSITION_ENCODERS M114_DETAIL \
  53. Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
  54. opt_set LCD_LANGUAGE jp_kana
  55. opt_disable SEGMENT_LEVELED_MOVES
  56. opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING BABYSTEP_HOTEND_Z_OFFSET BABYSTEP_DISPLAY_TOTAL M114_DETAIL
  57. exec_test $1 $2 "Azteeg X3 Pro | EXTRUDERS 5 | RRDFGSC | UBL | LIN_ADVANCE | Sled Probe | Skew | JP-Kana | Babystep offsets ..." "$3"
  58. #
  59. # 5 runout sensors with distinct states
  60. #
  61. restore_configs
  62. opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  63. opt_set EXTRUDERS 5
  64. opt_set NUM_SERVOS 1
  65. opt_set TEMP_SENSOR_1 1
  66. opt_set TEMP_SENSOR_2 1
  67. opt_set TEMP_SENSOR_3 1
  68. opt_set TEMP_SENSOR_4 1
  69. opt_enable VIKI2 BOOT_MARLIN_LOGO_ANIMATED SDSUPPORT AUTO_REPORT_SD_STATUS \
  70. Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE \
  71. EEPROM_SETTINGS EEPROM_CHITCHAT M114_DETAIL \
  72. NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET JOYSTICK \
  73. DIRECT_STEPPING DETECT_BROKEN_ENDSTOP \
  74. FILAMENT_RUNOUT_SENSOR NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE Z_SAFE_HOMING FIL_RUNOUT3_PULLUP
  75. opt_set NUM_RUNOUT_SENSORS 5
  76. opt_set FIL_RUNOUT2_PIN 44
  77. opt_set FIL_RUNOUT3_PIN 45
  78. opt_set FIL_RUNOUT3_STATE HIGH
  79. opt_set FIL_RUNOUT4_PIN 46
  80. opt_set FIL_RUNOUT5_PIN 47
  81. exec_test $1 $2 "Multiple runout sensors (x5) | Distinct runout states" "$3"
  82. #
  83. # Mixing Extruder with 5 steppers, Greek
  84. #
  85. restore_configs
  86. opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  87. opt_set LCD_LANGUAGE el_gr
  88. opt_enable MIXING_EXTRUDER GRADIENT_MIX GRADIENT_VTOOL CR10_STOCKDISPLAY \
  89. USE_CONTROLLER_FAN CONTROLLER_FAN_EDITABLE CONTROLLER_FAN_IGNORE_Z \
  90. FILAMENT_RUNOUT_SENSOR ADVANCED_PAUSE_FEATURE NOZZLE_PARK_FEATURE
  91. opt_set MIXING_STEPPERS 5
  92. opt_set NUM_RUNOUT_SENSORS E_STEPPERS
  93. opt_set FIL_RUNOUT2_PIN 16
  94. opt_set FIL_RUNOUT3_PIN 17
  95. opt_set FIL_RUNOUT4_PIN 4
  96. opt_set FIL_RUNOUT5_PIN 5
  97. opt_set LCD_LANGUAGE ru
  98. exec_test $1 $2 "Azteeg X3 | Mixing Extruder (x5) | Gradient Mix | Greek" "$3"
  99. #
  100. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  101. #
  102. #restore_configs
  103. #opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  104. #opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  105. #opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  106. #opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  107. #
  108. # Enable COREXY
  109. #
  110. #restore_configs
  111. #opt_enable COREXY
  112. #exec_test $1 $2 "Stuff" "$3"
  113. ######## Other Standard LCD/Panels ##############
  114. #
  115. # ULTRA_LCD
  116. #
  117. #restore_configs
  118. #opt_enable ULTRA_LCD
  119. #exec_test $1 $2 "Stuff" "$3"
  120. #
  121. # DOGLCD
  122. #
  123. #restore_configs
  124. #opt_enable DOGLCD
  125. #exec_test $1 $2 "Stuff" "$3"
  126. #
  127. # MAKRPANEL
  128. # Needs to use Melzi and Sanguino hardware
  129. #
  130. #restore_configs
  131. #opt_enable MAKRPANEL
  132. #exec_test $1 $2 "Stuff" "$3"
  133. #
  134. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  135. #
  136. #restore_configs
  137. #opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  138. #opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  139. #exec_test $1 $2 "Stuff" "$3"
  140. # #
  141. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  142. #
  143. #restore_configs
  144. #opt_enable G3D_PANEL SDSUPPORT SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
  145. #opt_set SDSORT_GCODE true
  146. #opt_set SDSORT_USES_RAM true
  147. #opt_set SDSORT_USES_STACK true
  148. #opt_set SDSORT_CACHE_NAMES true
  149. #exec_test $1 $2 "Stuff" "$3"
  150. #
  151. # REPRAPWORLD_KEYPAD
  152. #
  153. # Cant find configuration details to get it to compile
  154. #restore_configs
  155. #opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  156. #exec_test $1 $2 "Stuff" "$3"
  157. #
  158. # RA_CONTROL_PANEL
  159. #
  160. #restore_configs
  161. #opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  162. #exec_test $1 $2 "Stuff" "$3"
  163. ######## I2C LCD/PANELS ##############
  164. #
  165. # !!!ATTENTION!!!
  166. # Most I2C configurations are failing at the moment because they require
  167. # a different Liquid Crystal library "LiquidTWI2".
  168. #
  169. # LCD_SAINSMART_I2C_1602
  170. #
  171. #restore_configs
  172. #opt_enable LCD_SAINSMART_I2C_1602
  173. #exec_test $1 $2 "Stuff" "$3"
  174. #
  175. # LCD_I2C_PANELOLU2
  176. #
  177. #restore_configs
  178. #opt_enable LCD_I2C_PANELOLU2
  179. #exec_test $1 $2 "Stuff" "$3"
  180. #
  181. # LCD_I2C_VIKI
  182. #
  183. #restore_configs
  184. #opt_enable LCD_I2C_VIKI
  185. #exec_test $1 $2 "Stuff" "$3"
  186. #
  187. # LCM1602
  188. #
  189. #restore_configs
  190. #opt_enable LCM1602
  191. #exec_test $1 $2 "Stuff" "$3"
  192. #
  193. # Language files test with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  194. #
  195. #restore_configs
  196. #opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  197. #for lang in an bg ca cz da de el el_gr en es eu fi fr gl hr hu it jp_kana nl pl pt pt_br ro ru sk sv tr uk vi zh_CN zh_TW test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; exec_test $1 $2 "Stuff" "$3"; done
  198. #
  199. #restore_configs
  200. #opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
  201. #for lang in an bg ca cz da de el el_gr en es eu fi fr gl hr hu it jp_kana nl pl pt pt_br ro ru sk sv tr uk vi zh_CN zh_TW test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; exec_test $1 $2 "Stuff" "$3"; done
  202. ######## Example Configurations ##############
  203. #
  204. # Test a basic DUAL_X_CARRIAGE configuration
  205. #
  206. use_example_configs Formbot/T_Rex_3
  207. exec_test $1 $2 "Formbot/T_Rex_3 example configuration." "$3"
  208. #
  209. # BQ Hephestos 2
  210. #restore_configs
  211. #use_example_configs BQ/Hephestos_2
  212. #exec_test $1 $2 "Stuff" "$3"
  213. #
  214. # Makibox Config need to check board type for Teensy++ 2.0
  215. #
  216. #use_example_configs makibox
  217. #exec_test $1 $2 "Stuff" "$3"
  218. #
  219. # tvrrug Config need to check board type for sanguino atmega644p
  220. #
  221. #use_example_configs tvrrug/Round2
  222. #exec_test $1 $2 "Stuff" "$3"
  223. # clean up
  224. restore_configs