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.

rambo 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. #!/usr/bin/env bash
  2. #
  3. # Build tests for AVR ATmega2560 RAMBo
  4. #
  5. # exit on first failure
  6. set -e
  7. #
  8. # Lots of options - Formerly the first Mega2560 test
  9. #
  10. restore_configs
  11. opt_set MOTHERBOARD BOARD_RAMBO \
  12. EXTRUDERS 2 TEMP_SENSOR_0 -2 TEMP_SENSOR_1 1 TEMP_SENSOR_BED 2 \
  13. TEMP_SENSOR_PROBE 1 TEMP_PROBE_PIN 12 \
  14. TEMP_SENSOR_CHAMBER 3 TEMP_CHAMBER_PIN 3 HEATER_CHAMBER_PIN 45 \
  15. GRID_MAX_POINTS_X 16 \
  16. FANMUX0_PIN 53
  17. opt_disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN USE_WATCHDOG
  18. opt_enable USE_ZMAX_PLUG REPRAP_DISCOUNT_SMART_CONTROLLER LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST \
  19. FIX_MOUNTED_PROBE CODEPENDENT_XY_HOMING PIDTEMPBED PROBE_TEMP_COMPENSATION \
  20. PREHEAT_BEFORE_PROBING PROBING_HEATERS_OFF PROBING_FANS_OFF PROBING_STEPPERS_OFF WAIT_FOR_BED_HEATER \
  21. EEPROM_SETTINGS SDSUPPORT SD_REPRINT_LAST_SELECTED_FILE BINARY_FILE_TRANSFER \
  22. BLINKM PCA9533 PCA9632 RGB_LED RGB_LED_R_PIN RGB_LED_G_PIN RGB_LED_B_PIN LED_CONTROL_MENU \
  23. NEOPIXEL_LED NEOPIXEL_PIN CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CASE_LIGHT_MENU \
  24. PID_PARAMS_PER_HOTEND PID_AUTOTUNE_MENU PID_EDIT_MENU LCD_SHOW_E_TOTAL \
  25. PRINTCOUNTER SERVICE_NAME_1 SERVICE_INTERVAL_1 LEVEL_BED_CORNERS LEVEL_CENTER_TOO \
  26. NOZZLE_PARK_FEATURE FILAMENT_RUNOUT_SENSOR FILAMENT_RUNOUT_DISTANCE_MM \
  27. ADVANCED_PAUSE_FEATURE FILAMENT_LOAD_UNLOAD_GCODES FILAMENT_UNLOAD_ALL_EXTRUDERS \
  28. PASSWORD_FEATURE PASSWORD_ON_STARTUP PASSWORD_ON_SD_PRINT_MENU PASSWORD_AFTER_SD_PRINT_END PASSWORD_AFTER_SD_PRINT_ABORT \
  29. AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DISTINCT_E_FACTORS \
  30. SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE \
  31. BACKLASH_COMPENSATION BACKLASH_GCODE BAUD_RATE_GCODE BEZIER_CURVE_SUPPORT \
  32. FWRETRACT ARC_P_CIRCLES CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS \
  33. PSU_CONTROL PS_OFF_CONFIRM PS_OFF_SOUND AUTO_POWER_CONTROL \
  34. POWER_LOSS_RECOVERY POWER_LOSS_PIN POWER_LOSS_STATE POWER_LOSS_RECOVER_ZHOME POWER_LOSS_ZHOME_POS \
  35. SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER LIN_ADVANCE EXTRA_LIN_ADVANCE_K \
  36. HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT PINS_DEBUGGING MAX7219_DEBUG M114_DETAIL
  37. opt_add DEBUG_POWER_LOSS_RECOVERY
  38. exec_test $1 $2 "RAMBO | EXTRUDERS 2 | CHAR LCD + SD | FIX Probe | ABL-Linear | Advanced Pause | PLR | LEDs ..." "$3"
  39. #
  40. # Full size Rambo Dual Endstop CNC
  41. #
  42. restore_configs
  43. opt_set MOTHERBOARD BOARD_RAMBO \
  44. EXTRUDERS 0 TEMP_SENSOR_0 999 DUMMY_THERMISTOR_999_VALUE 170 Z_HOME_DIR 1 \
  45. DIGIPOT_MOTOR_CURRENT '{ 120, 120, 120, 120, 120 }' \
  46. DEFAULT_AXIS_STEPS_PER_UNIT '{ 80, 80, 4000 }' \
  47. DEFAULT_MAX_FEEDRATE '{ 300, 300, 5 }' \
  48. DEFAULT_MAX_ACCELERATION '{ 3000, 3000, 100 }' \
  49. MANUAL_FEEDRATE '{ 50*60, 50*60, 4*60 }' \
  50. AXIS_RELATIVE_MODES '{ false, false, false }' \
  51. LEVEL_CORNERS_LEVELING_ORDER '{ LF, RF }'
  52. opt_enable USE_XMAX_PLUG USE_YMAX_PLUG USE_ZMAX_PLUG \
  53. REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER REVERSE_ENCODER_DIRECTION SDSUPPORT EEPROM_SETTINGS \
  54. S_CURVE_ACCELERATION X_DUAL_STEPPER_DRIVERS X_DUAL_ENDSTOPS Y_DUAL_STEPPER_DRIVERS Y_DUAL_ENDSTOPS \
  55. ADAPTIVE_STEP_SMOOTHING CNC_COORDINATE_SYSTEMS GCODE_MOTION_MODES \
  56. LEVEL_BED_CORNERS LEVEL_CENTER_TOO
  57. opt_disable MIN_SOFTWARE_ENDSTOP_Z MAX_SOFTWARE_ENDSTOPS
  58. exec_test $1 $2 "Rambo CNC Configuration" "$3"
  59. #
  60. # Rambo heated bed only
  61. #
  62. restore_configs
  63. opt_set MOTHERBOARD BOARD_RAMBO EXTRUDERS 0 TEMP_SENSOR_BED 1 \
  64. DEFAULT_AXIS_STEPS_PER_UNIT '{ 80, 80, 4000 }' \
  65. DEFAULT_MAX_FEEDRATE '{ 300, 300, 5 }' \
  66. DEFAULT_MAX_ACCELERATION '{ 3000, 3000, 100 }' \
  67. MANUAL_FEEDRATE '{ 50*60, 50*60, 4*60 }' \
  68. AXIS_RELATIVE_MODES '{ false, false, false }'
  69. opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  70. exec_test $1 $2 "Rambo heated bed only" "$3"
  71. #
  72. # Build with the default configurations
  73. #
  74. restore_configs
  75. opt_set MOTHERBOARD BOARD_EINSY_RAMBO \
  76. X_DRIVER_TYPE TMC2130 Y_DRIVER_TYPE TMC2130 Z_DRIVER_TYPE TMC2130 E0_DRIVER_TYPE TMC2130
  77. exec_test $1 $2 "Einsy RAMBo with TMC2130" "$3"
  78. #
  79. # Test MINIRAMBO with PWM_MOTOR_CURRENT and many features
  80. #
  81. restore_configs
  82. opt_set MOTHERBOARD BOARD_MINIRAMBO \
  83. CONTROLLERFAN_SPEED_IDLE 128 \
  84. PWM_MOTOR_CURRENT '{ 1300, 1300, 1250 }' \
  85. I2C_SLAVE_ADDRESS 63
  86. opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER \
  87. SDSUPPORT PCA9632 SOUND_MENU_ITEM GCODE_REPEAT_MARKERS \
  88. AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY LCD_BED_LEVELING G26_MESH_VALIDATION MESH_EDIT_MENU \
  89. LIN_ADVANCE EXTRA_LIN_ADVANCE_K \
  90. INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT EXPERIMENTAL_I2CBUS M100_FREE_MEMORY_WATCHER \
  91. NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE \
  92. ADVANCED_PAUSE_FEATURE PARK_HEAD_ON_PAUSE ADVANCED_PAUSE_CONTINUOUS_PURGE FILAMENT_LOAD_UNLOAD_GCODES \
  93. PRINTCOUNTER SERVICE_NAME_1 SERVICE_INTERVAL_1 M114_DETAIL
  94. opt_add M100_FREE_MEMORY_DUMPER
  95. opt_add M100_FREE_MEMORY_CORRUPTOR
  96. exec_test $1 $2 "MINIRAMBO | RRDGFSC | ABL Bilinear Manual | M100 | PWM_MOTOR_CURRENT | M600..." "$3"
  97. #
  98. # Test many less common options
  99. #
  100. restore_configs
  101. opt_set MOTHERBOARD BOARD_RAMBO \
  102. TEMP_SENSOR_0 -2 \
  103. DIGIPOT_I2C_NUM_CHANNELS 5 \
  104. LCD_LANGUAGE it \
  105. MIXING_STEPPERS 2 \
  106. SERVO_DELAY '{ 300, 300, 300 }' \
  107. CONTROLLER_FAN_PIN X_MAX_PIN FILWIDTH_PIN 5 \
  108. FAN_MIN_PWM 50 FAN_KICKSTART_TIME 100 \
  109. XY_FREQUENCY_LIMIT 15
  110. opt_enable COREYX USE_XMAX_PLUG MIXING_EXTRUDER GRADIENT_MIX \
  111. BABYSTEPPING BABYSTEP_DISPLAY_TOTAL FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR \
  112. REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER MENU_ADDAUTOSTART SDSUPPORT SDCARD_SORT_ALPHA \
  113. ENDSTOP_NOISE_THRESHOLD FAN_SOFT_PWM \
  114. FIX_MOUNTED_PROBE PROBING_ESTEPPERS_OFF AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE PROBE_OFFSET_WIZARD \
  115. Z_SAFE_HOMING SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER \
  116. SD_ABORT_ON_ENDSTOP_HIT HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT HOST_PAUSE_M76 ADVANCED_OK M114_DETAIL \
  117. VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS EXTRA_FAN_SPEED FWRETRACT \
  118. USE_CONTROLLER_FAN CONTROLLER_FAN_EDITABLE CONTROLLER_FAN_USE_Z_ONLY
  119. opt_disable DISABLE_INACTIVE_EXTRUDER
  120. exec_test $1 $2 "Rambo | CoreXY, Gradient Mix | Endstop Int. | Home Y > X | FW Retract ..." "$3"
  121. # clean up
  122. restore_configs