2018-07-14 06:42:15 +02:00
|
|
|
#!/usr/bin/env bash
|
2018-10-09 06:03:53 +02:00
|
|
|
#
|
|
|
|
# Build tests for DUE (Atmel SAM3X8E ARM Cortex-M3)
|
|
|
|
#
|
2018-07-14 06:42:15 +02:00
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2018-09-02 10:27:39 +02:00
|
|
|
restore_configs
|
2018-07-14 06:42:15 +02:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
|
2018-08-15 00:54:12 +02:00
|
|
|
opt_enable S_CURVE_ACCELERATION EEPROM_SETTINGS
|
2018-07-14 06:42:15 +02:00
|
|
|
opt_set E0_AUTO_FAN_PIN 8
|
|
|
|
opt_set EXTRUDER_AUTO_FAN_SPEED 100
|
2018-08-15 00:54:12 +02:00
|
|
|
exec_test $1 $2 "RAMPS4DUE_EFB S_CURVE_ACCELERATION EEPROM_SETTINGS"
|
2018-06-19 18:55:49 +02:00
|
|
|
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RADDS
|
2018-11-19 02:58:02 +01:00
|
|
|
opt_enable USE_XMAX_PLUG USE_YMAX_PLUG FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR \
|
|
|
|
Z_TRIPLE_STEPPER_DRIVERS Z_TRIPLE_ENDSTOPS Z_STEPPER_AUTO_ALIGN
|
|
|
|
opt_add Z2_MAX_ENDSTOP_INVERTING false
|
|
|
|
opt_add Z3_MAX_ENDSTOP_INVERTING false
|
2018-06-19 18:55:49 +02:00
|
|
|
pins_set RAMPS X_MAX_PIN -1
|
|
|
|
pins_set RAMPS Y_MAX_PIN -1
|
2018-11-19 02:58:02 +01:00
|
|
|
opt_add Z2_MAX_PIN 2
|
|
|
|
opt_add Z3_MAX_PIN 3
|
2018-10-29 20:01:36 +01:00
|
|
|
exec_test $1 $2 "Test RADDS with Z_TRIPLE_STEPPER_DRIVERS and Z_STEPPER_AUTO_ALIGN"
|
2018-09-25 03:59:12 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test SWITCHING_EXTRUDER
|
|
|
|
#
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF
|
|
|
|
opt_set EXTRUDERS 2
|
|
|
|
opt_set NUM_SERVOS 1
|
2019-01-05 02:30:08 +01:00
|
|
|
opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER BEEP_ON_FEEDRATE_CHANGE
|
2018-10-29 20:01:36 +01:00
|
|
|
exec_test $1 $2 "Test RAMPS4DUE with SWITCHING_EXTRUDER"
|