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, RepRap LCD, 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 1000
  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 GCODE_MACROS \
  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 MULTI_NOZZLE_DUPLICATION
  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 SPINDLE_FEATURE MESH_BED_LEVELING G26_MESH_EDITING MESH_G28_REST_ORIGIN LCD_BED_LEVELING MESH_EDIT_MENU ULTIMAKERCONTROLLER
  83. exec_test $1 $2 "Spindle, MESH_BED_LEVELING, and 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. SD_ABORT_ON_ENDSTOP_HIT ADVANCED_OK \
  148. VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL \
  149. EXTRA_FAN_SPEED FWRETRACT MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
  150. opt_set FAN_MIN_PWM 50
  151. opt_set FAN_KICKSTART_TIME 100
  152. opt_set XY_FREQUENCY_LIMIT 15
  153. exec_test $1 $2 "Many less common options"
  154. ######## Other Standard LCD/Panels ##############
  155. #
  156. # ULTRA_LCD
  157. #
  158. #restore_configs
  159. #opt_enable ULTRA_LCD
  160. #exec_test $1 $2 "Stuff"
  161. #
  162. # DOGLCD
  163. #
  164. #restore_configs
  165. #opt_enable DOGLCD
  166. #exec_test $1 $2 "Stuff"
  167. #
  168. # MAKRPANEL
  169. # Needs to use Melzi and Sanguino hardware
  170. #
  171. #restore_configs
  172. #opt_enable MAKRPANEL
  173. #exec_test $1 $2 "Stuff"
  174. #
  175. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  176. #
  177. #restore_configs
  178. #opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  179. #opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  180. #exec_test $1 $2 "Stuff"
  181. # #
  182. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  183. #
  184. #restore_configs
  185. #opt_enable G3D_PANEL SDSUPPORT SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
  186. #opt_set SDSORT_GCODE true
  187. #opt_set SDSORT_USES_RAM true
  188. #opt_set SDSORT_USES_STACK true
  189. #opt_set SDSORT_CACHE_NAMES true
  190. #exec_test $1 $2 "Stuff"
  191. #
  192. # REPRAPWORLD_KEYPAD
  193. #
  194. # Cant find configuration details to get it to compile
  195. #restore_configs
  196. #opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  197. #exec_test $1 $2 "Stuff"
  198. #
  199. # RA_CONTROL_PANEL
  200. #
  201. #restore_configs
  202. #opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  203. #exec_test $1 $2 "Stuff"
  204. ######## I2C LCD/PANELS ##############
  205. #
  206. # !!!ATTENTION!!!
  207. # Most I2C configurations are failing at the moment because they require
  208. # a different Liquid Crystal library "LiquidTWI2".
  209. #
  210. # LCD_SAINSMART_I2C_1602
  211. #
  212. #restore_configs
  213. #opt_enable LCD_SAINSMART_I2C_1602
  214. #exec_test $1 $2 "Stuff"
  215. #
  216. # LCD_I2C_PANELOLU2
  217. #
  218. #restore_configs
  219. #opt_enable LCD_I2C_PANELOLU2
  220. #exec_test $1 $2 "Stuff"
  221. #
  222. # LCD_I2C_VIKI
  223. #
  224. #restore_configs
  225. #opt_enable LCD_I2C_VIKI
  226. #exec_test $1 $2 "Stuff"
  227. #
  228. # LCM1602
  229. #
  230. #restore_configs
  231. #opt_enable LCM1602
  232. #exec_test $1 $2 "Stuff"
  233. #
  234. # Language files test with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  235. #
  236. #restore_configs
  237. #opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  238. #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
  239. #
  240. #restore_configs
  241. #opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
  242. #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
  243. ######## Example Configurations ##############
  244. #
  245. # Test a full-featured CR-10S config
  246. #
  247. use_example_configs Creality/CR-10S
  248. exec_test $1 $2 "Full-featured CR-10S config"
  249. #
  250. # BQ Hephestos 2
  251. #restore_configs
  252. #use_example_configs Hephestos_2
  253. #exec_test $1 $2 "Stuff"
  254. #
  255. # Delta Config (generic) + ABL bilinear + BLTOUCH
  256. use_example_configs delta/generic
  257. opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR BLTOUCH BLTOUCH_FORCE_5V_MODE
  258. exec_test $1 $2 "Delta Config (generic) + ABL bilinear + BLTOUCH"
  259. #
  260. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  261. #
  262. use_example_configs delta/generic
  263. opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT \
  264. OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
  265. exec_test $1 $2 "Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS"
  266. #
  267. # Delta Config (FLSUN AC because it's complex)
  268. #
  269. use_example_configs delta/FLSUN/auto_calibrate
  270. exec_test $1 $2 "Delta Config (FLSUN AC because it's complex)"
  271. #
  272. # Makibox Config need to check board type for Teensy++ 2.0
  273. #
  274. #use_example_configs makibox
  275. #exec_test $1 $2 "Stuff"
  276. #
  277. # SCARA with TMC2130
  278. #
  279. use_example_configs SCARA
  280. opt_enable USE_ZMIN_PLUG FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR PAUSE_BEFORE_DEPLOY_STOW \
  281. EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER \
  282. MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING SQUARE_WAVE_STEPPING
  283. opt_set X_MAX_ENDSTOP_INVERTING false
  284. opt_set X_DRIVER_TYPE TMC2209
  285. opt_set Y_DRIVER_TYPE TMC2130
  286. opt_set Z_DRIVER_TYPE TMC2130
  287. opt_set E0_DRIVER_TYPE TMC2660
  288. exec_test $1 $2 "SCARA with TMC2130, TMC2209, and TMC2660"
  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