2018-07-13 23:42:15 -05:00
|
|
|
#!/usr/bin/env bash
|
2018-10-08 23:03:53 -05:00
|
|
|
#
|
|
|
|
# Build tests for DUE (Atmel SAM3X8E ARM Cortex-M3)
|
|
|
|
#
|
2018-07-13 23:42:15 -05:00
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2019-09-17 23:41:34 -05:00
|
|
|
backup_ramps # pins_set is used below...
|
2019-07-11 02:32:24 -05:00
|
|
|
|
2018-09-02 03:27:39 -05:00
|
|
|
restore_configs
|
2019-09-17 23:41:34 -05:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
|
|
|
|
opt_set TEMP_SENSOR_0 -2
|
|
|
|
opt_set TEMP_SENSOR_BED 2
|
|
|
|
opt_set GRID_MAX_POINTS_X 16
|
|
|
|
opt_set FANMUX0_PIN 53
|
|
|
|
opt_enable S_CURVE_ACCELERATION EEPROM_SETTINGS GCODE_MACROS \
|
|
|
|
PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING CODEPENDENT_XY_HOMING \
|
|
|
|
EEPROM_SETTINGS SDSUPPORT BINARY_FILE_TRANSFER \
|
|
|
|
BLINKM PCA9632 RGB_LED RGB_LED_R_PIN RGB_LED_G_PIN RGB_LED_B_PIN LED_CONTROL_MENU \
|
|
|
|
NEOPIXEL_LED CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CASE_LIGHT_MENU \
|
|
|
|
NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_DISTANCE_MM FILAMENT_RUNOUT_SENSOR \
|
|
|
|
AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE \
|
|
|
|
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 \
|
|
|
|
SLOW_PWM_HEATERS THERMAL_PROTECTION_CHAMBER \
|
|
|
|
PINS_DEBUGGING MAX7219_DEBUG M114_DETAIL \
|
|
|
|
EXTENSIBLE_UI
|
|
|
|
opt_add EXTUI_EXAMPLE
|
2018-07-13 23:42:15 -05:00
|
|
|
opt_set E0_AUTO_FAN_PIN 8
|
|
|
|
opt_set EXTRUDER_AUTO_FAN_SPEED 100
|
2019-09-17 23:41:34 -05:00
|
|
|
opt_set TEMP_SENSOR_CHAMBER 3
|
|
|
|
opt_set HEATER_CHAMBER_PIN 45
|
|
|
|
exec_test $1 $2 "RAMPS4DUE_EFB with EXTENSIBLE_UI, S-Curve, many options."
|
2018-06-19 11:55:49 -05:00
|
|
|
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RADDS
|
2019-03-18 16:31:11 -05:00
|
|
|
opt_enable USE_XMAX_PLUG USE_YMAX_PLUG BLTOUCH AUTO_BED_LEVELING_BILINEAR \
|
2019-05-07 21:25:54 -05:00
|
|
|
Z_TRIPLE_STEPPER_DRIVERS Z_TRIPLE_ENDSTOPS Z_STEPPER_AUTO_ALIGN ENDSTOPPULLUPS
|
2018-11-18 19:58:02 -06:00
|
|
|
opt_add Z2_MAX_ENDSTOP_INVERTING false
|
|
|
|
opt_add Z3_MAX_ENDSTOP_INVERTING false
|
2019-07-11 02:32:24 -05:00
|
|
|
pins_set ramps/RAMPS X_MAX_PIN -1
|
|
|
|
pins_set ramps/RAMPS Y_MAX_PIN -1
|
2018-11-18 19:58:02 -06:00
|
|
|
opt_add Z2_MAX_PIN 2
|
|
|
|
opt_add Z3_MAX_PIN 3
|
2019-05-07 20:38:40 -05:00
|
|
|
exec_test $1 $2 "RADDS with Z_TRIPLE_STEPPER_DRIVERS and Z_STEPPER_AUTO_ALIGN"
|
2018-09-24 20:59:12 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test SWITCHING_EXTRUDER
|
|
|
|
#
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF
|
|
|
|
opt_set EXTRUDERS 2
|
|
|
|
opt_set NUM_SERVOS 1
|
2019-05-07 20:38:40 -05:00
|
|
|
opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER BEEP_ON_FEEDRATE_CHANGE POWER_LOSS_RECOVERY
|
|
|
|
exec_test $1 $2 "RAMPS4DUE_EEF with SWITCHING_EXTRUDER, POWER_LOSS_RECOVERY"
|