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.
37 lines
1.0 KiB
37 lines
1.0 KiB
6 years ago
|
#!/usr/bin/env bash
|
||
6 years ago
|
#
|
||
|
# Build tests for DUE (Atmel SAM3X8E ARM Cortex-M3)
|
||
|
#
|
||
6 years ago
|
|
||
|
# exit on first failure
|
||
|
set -e
|
||
|
|
||
6 years ago
|
restore_configs
|
||
6 years ago
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
|
||
6 years ago
|
opt_enable S_CURVE_ACCELERATION EEPROM_SETTINGS
|
||
6 years ago
|
opt_set E0_AUTO_FAN_PIN 8
|
||
|
opt_set EXTRUDER_AUTO_FAN_SPEED 100
|
||
6 years ago
|
exec_test $1 $2 "RAMPS4DUE_EFB S_CURVE_ACCELERATION EEPROM_SETTINGS"
|
||
7 years ago
|
|
||
|
restore_configs
|
||
|
opt_set MOTHERBOARD BOARD_RADDS
|
||
6 years ago
|
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
|
||
7 years ago
|
pins_set RAMPS X_MAX_PIN -1
|
||
|
pins_set RAMPS Y_MAX_PIN -1
|
||
6 years ago
|
opt_add Z2_MAX_PIN 2
|
||
|
opt_add Z3_MAX_PIN 3
|
||
6 years ago
|
exec_test $1 $2 "Test RADDS with Z_TRIPLE_STEPPER_DRIVERS and Z_STEPPER_AUTO_ALIGN"
|
||
6 years ago
|
|
||
|
#
|
||
|
# Test SWITCHING_EXTRUDER
|
||
|
#
|
||
|
restore_configs
|
||
|
opt_set MOTHERBOARD BOARD_RAMPS4DUE_EEF
|
||
|
opt_set EXTRUDERS 2
|
||
|
opt_set NUM_SERVOS 1
|
||
6 years ago
|
opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER BEEP_ON_FEEDRATE_CHANGE
|
||
6 years ago
|
exec_test $1 $2 "Test RAMPS4DUE with SWITCHING_EXTRUDER"
|