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.
74 lines
3.0 KiB
74 lines
3.0 KiB
5 years ago
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Build tests for AVR ATmega2560 RAMBo
|
||
|
#
|
||
|
|
||
|
# exit on first failure
|
||
|
set -e
|
||
|
|
||
5 years ago
|
#
|
||
|
# Lots of options - Formerly the first Mega2560 test
|
||
|
#
|
||
|
restore_configs
|
||
|
opt_set MOTHERBOARD BOARD_RAMBO
|
||
|
opt_set EXTRUDERS 2
|
||
|
opt_set TEMP_SENSOR_0 -2
|
||
|
opt_set TEMP_SENSOR_1 1
|
||
|
opt_set TEMP_SENSOR_BED 2
|
||
|
opt_set TEMP_SENSOR_PROBE 1
|
||
|
opt_add TEMP_PROBE_PIN 12
|
||
|
opt_set TEMP_SENSOR_CHAMBER 3
|
||
4 years ago
|
opt_add TEMP_CHAMBER_PIN 3
|
||
5 years ago
|
opt_add HEATER_CHAMBER_PIN 45
|
||
|
opt_set GRID_MAX_POINTS_X 16
|
||
|
opt_set FANMUX0_PIN 53
|
||
|
opt_disable USE_WATCHDOG
|
||
|
opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER LCD_PROGRESS_BAR LCD_PROGRESS_BAR_TEST \
|
||
5 years ago
|
FIX_MOUNTED_PROBE Z_SAFE_HOMING CODEPENDENT_XY_HOMING PIDTEMPBED PROBE_TEMP_COMPENSATION \
|
||
5 years ago
|
PROBING_HEATERS_OFF PROBING_FANS_OFF PROBING_STEPPERS_OFF WAIT_FOR_BED_HEATER \
|
||
|
EEPROM_SETTINGS SDSUPPORT SD_REPRINT_LAST_SELECTED_FILE BINARY_FILE_TRANSFER \
|
||
5 years ago
|
BLINKM PCA9533 PCA9632 RGB_LED RGB_LED_R_PIN RGB_LED_G_PIN RGB_LED_B_PIN LED_CONTROL_MENU \
|
||
5 years ago
|
NEOPIXEL_LED CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CASE_LIGHT_MENU \
|
||
|
PID_PARAMS_PER_HOTEND PID_AUTOTUNE_MENU PID_EDIT_MENU LCD_SHOW_E_TOTAL \
|
||
|
PRINTCOUNTER SERVICE_NAME_1 SERVICE_INTERVAL_1 LEVEL_BED_CORNERS \
|
||
|
NOZZLE_PARK_FEATURE FILAMENT_RUNOUT_SENSOR FILAMENT_RUNOUT_DISTANCE_MM \
|
||
|
ADVANCED_PAUSE_FEATURE FILAMENT_LOAD_UNLOAD_GCODES FILAMENT_UNLOAD_ALL_EXTRUDERS \
|
||
|
AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DISTINCT_E_FACTORS \
|
||
|
SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE \
|
||
|
BACKLASH_COMPENSATION BACKLASH_GCODE BAUD_RATE_GCODE BEZIER_CURVE_SUPPORT \
|
||
|
FWRETRACT ARC_P_CIRCLES CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS \
|
||
|
PSU_CONTROL AUTO_POWER_CONTROL POWER_LOSS_RECOVERY POWER_LOSS_PIN POWER_LOSS_STATE \
|
||
|
SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER LIN_ADVANCE EXTRA_LIN_ADVANCE_K \
|
||
|
HOST_ACTION_COMMANDS HOST_PROMPT_SUPPORT PINS_DEBUGGING MAX7219_DEBUG M114_DETAIL
|
||
|
exec_test $1 $2 "RAMBO | EXTRUDERS 2 | CHAR LCD + SD | FIX Probe | ABL-Linear | Advanced Pause | PLR | LEDs ..."
|
||
|
|
||
5 years ago
|
#
|
||
|
# Full size Rambo Dual Endstop CNC
|
||
|
#
|
||
|
restore_configs
|
||
|
opt_set MOTHERBOARD BOARD_RAMBO
|
||
|
opt_set EXTRUDERS 0
|
||
|
opt_set TEMP_SENSOR_0 999
|
||
|
opt_set DUMMY_THERMISTOR_999_VALUE 170
|
||
|
opt_set DIGIPOT_MOTOR_CURRENT '{ 120, 120, 120, 120, 120 }'
|
||
|
opt_enable USE_XMAX_PLUG USE_YMAX_PLUG USE_ZMAX_PLUG \
|
||
|
REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER REVERSE_ENCODER_DIRECTION SDSUPPORT EEPROM_SETTINGS \
|
||
|
S_CURVE_ACCELERATION X_DUAL_STEPPER_DRIVERS X_DUAL_ENDSTOPS Y_DUAL_STEPPER_DRIVERS Y_DUAL_ENDSTOPS \
|
||
|
ADAPTIVE_STEP_SMOOTHING CNC_COORDINATE_SYSTEMS GCODE_MOTION_MODES
|
||
|
opt_disable MIN_SOFTWARE_ENDSTOP_Z MAX_SOFTWARE_ENDSTOPS
|
||
|
exec_test $1 $2 "Rambo CNC Configuration"
|
||
|
|
||
|
#
|
||
|
# Build with the default configurations
|
||
|
#
|
||
|
restore_configs
|
||
|
opt_set MOTHERBOARD BOARD_EINSY_RAMBO
|
||
|
opt_set X_DRIVER_TYPE TMC2130
|
||
|
opt_set Y_DRIVER_TYPE TMC2130
|
||
|
opt_set Z_DRIVER_TYPE TMC2130
|
||
|
opt_set E0_DRIVER_TYPE TMC2130
|
||
|
exec_test $1 $2 "Einsy RAMBo with TMC2130"
|
||
|
|
||
5 years ago
|
# clean up
|
||
|
restore_configs
|