2019-08-19 06:29:59 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Build tests for AVR ATmega2560 RAMBo
|
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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 "Default Configuration"
|
|
|
|
|
2019-12-11 09:28:16 +01:00
|
|
|
#
|
|
|
|
# Full size Rambo Dual Endstop CNC
|
|
|
|
#
|
|
|
|
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"
|
|
|
|
|
2019-08-19 06:29:59 +02:00
|
|
|
# clean up
|
|
|
|
restore_configs
|