2018-07-14 00:42:15 -04:00
|
|
|
#!/usr/bin/env bash
|
2018-10-09 00:03:53 -04:00
|
|
|
#
|
|
|
|
# Build tests for DUE (Atmel SAM3X8E ARM Cortex-M3)
|
|
|
|
#
|
2018-07-14 00:42:15 -04:00
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
2018-09-02 04:27:39 -04:00
|
|
|
restore_configs
|
2018-07-14 00:42:15 -04:00
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
|
2018-08-14 18:54:12 -04:00
|
|
|
opt_enable S_CURVE_ACCELERATION EEPROM_SETTINGS
|
2018-07-14 00:42:15 -04:00
|
|
|
opt_set E0_AUTO_FAN_PIN 8
|
|
|
|
opt_set EXTRUDER_AUTO_FAN_SPEED 100
|
2018-08-14 18:54:12 -04:00
|
|
|
exec_test $1 $2 "RAMPS4DUE_EFB S_CURVE_ACCELERATION EEPROM_SETTINGS"
|
2018-06-19 12:55:49 -04:00
|
|
|
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RADDS
|
|
|
|
opt_enable USE_XMAX_PLUG USE_YMAX_PLUG
|
|
|
|
opt_enable_adv Z_TRIPLE_STEPPER_DRIVERS Z_TRIPLE_ENDSTOPS
|
|
|
|
opt_add_adv Z2_MAX_ENDSTOP_INVERTING false
|
|
|
|
opt_add_adv Z3_MAX_ENDSTOP_INVERTING false
|
|
|
|
pins_set RAMPS X_MAX_PIN -1
|
|
|
|
pins_set RAMPS Y_MAX_PIN -1
|
|
|
|
opt_add_adv Z2_MAX_PIN 2
|
|
|
|
opt_add_adv Z3_MAX_PIN 3
|
|
|
|
exec_test $1 $2 "RADDS Z_TRIPLE"
|
2018-09-24 21:59:12 -04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test SWITCHING_EXTRUDER
|
|
|
|
#
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF
|
|
|
|
opt_set EXTRUDERS 2
|
|
|
|
opt_set NUM_SERVOS 1
|
|
|
|
opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
|
|
|
|
exec_test $1 $2 "SWITCHING_EXTRUDER"
|