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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for Teensy 3.5/3.6 (ARM Cortex-M4)
  4. #
  5. # exit on first failure
  6. set -e
  7. restore_configs
  8. opt_set MOTHERBOARD BOARD_TEENSY35_36
  9. cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  10. exec_test $1 $2 "Teensy3.5 with default config"
  11. #
  12. # Test as many features together as possible
  13. #
  14. restore_configs
  15. opt_set EXTRUDERS 2
  16. opt_set TEMP_SENSOR_0 1
  17. opt_set TEMP_SENSOR_1 5
  18. opt_set TEMP_SENSOR_BED 1
  19. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT \
  20. FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY \
  21. FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
  22. BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY \
  23. PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER
  24. opt_enable_adv ADVANCED_PAUSE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA PARK_HEAD_ON_PAUSE
  25. opt_set_adv I2C_SLAVE_ADDRESS 63
  26. opt_set GRID_MAX_POINTS_X 16
  27. exec_test $1 $2 "Teensy3.5 with many features"
  28. #
  29. # Test a Sled Z Probe with Linear leveling
  30. #
  31. restore_configs
  32. opt_enable EEPROM_SETTINGS \
  33. Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE
  34. exec_test $1 $2 "Sled Z Probe with Linear leveling"
  35. #
  36. # Test a Servo Probe
  37. #
  38. # restore_configs
  39. # opt_enable Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE \
  40. # AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  41. # opt_set NUM_SERVOS 1
  42. # exec_test $1 $2 "Servo Probe"
  43. #
  44. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  45. #
  46. # opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  47. # opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  48. # exec_test $1 $2 "...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES"
  49. #
  50. # Test MESH_BED_LEVELING feature, with LCD
  51. #
  52. restore_configs
  53. opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  54. exec_test $1 $2 "MESH_BED_LEVELING feature, with LCD"
  55. #
  56. # Mixing Extruder
  57. #
  58. restore_configs
  59. opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1
  60. opt_set MIXING_STEPPERS 2
  61. exec_test $1 $2 "Mixing Extruder"
  62. #
  63. # Test SWITCHING_EXTRUDER
  64. #
  65. # restore_configs
  66. # opt_set EXTRUDERS 2
  67. # opt_set NUM_SERVOS 1
  68. # opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  69. # exec_test $1 $2 "SWITCHING_EXTRUDER"
  70. #
  71. # Enable COREXY
  72. #
  73. restore_configs
  74. opt_enable COREXY
  75. exec_test $1 $2 "COREXY"
  76. #
  77. # Enable COREXZ
  78. #
  79. restore_configs
  80. opt_enable COREXZ
  81. exec_test $1 $2 "COREXZ"
  82. #
  83. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  84. #
  85. restore_configs
  86. opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  87. pins_set RAMPS X_MAX_PIN -1
  88. opt_add_adv Z2_MAX_PIN 2
  89. opt_enable USE_XMAX_PLUG
  90. exec_test $1 $2 "Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS"
  91. # Clean up
  92. restore_configs