2020-05-10 01:49:30 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2020-06-18 17:26:40 -05:00
|
|
|
# Build tests for rumba32
|
2020-05-10 01:49:30 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Build examples
|
|
|
|
restore_configs
|
2020-06-11 20:28:20 -05:00
|
|
|
opt_set MOTHERBOARD BOARD_RUMBA32_V1_0
|
2020-05-10 01:49:30 -05:00
|
|
|
opt_set SERIAL_PORT -1
|
2020-05-18 13:51:32 -05:00
|
|
|
opt_disable PIDTEMP
|
|
|
|
opt_enable PIDTEMPBED
|
|
|
|
opt_set TEMP_SENSOR_BED 1
|
|
|
|
opt_disable THERMAL_PROTECTION_BED
|
2020-05-10 01:49:30 -05:00
|
|
|
opt_set X_DRIVER_TYPE TMC2130
|
2020-06-18 17:26:40 -05:00
|
|
|
exec_test $1 $2 "RUMBA32 V1.0 with TMC2130, PID Bed, and bed thermal protection disabled"
|
2020-06-11 20:28:20 -05:00
|
|
|
|
|
|
|
# Build examples
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RUMBA32_V1_1
|
|
|
|
opt_set SERIAL_PORT -1
|
|
|
|
opt_enable PIDTEMPBED EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
|
|
|
opt_set TEMP_SENSOR_BED 1
|
|
|
|
opt_set X_DRIVER_TYPE TMC2130
|
|
|
|
opt_set Y_DRIVER_TYPE TMC2208
|
2020-06-18 17:26:40 -05:00
|
|
|
exec_test $1 $2 "RUMBA32 V1.1 with TMC2130, TMC2208, PID Bed, EEPROM settings, and graphic LCD controller"
|
|
|
|
|
|
|
|
# Build examples
|
|
|
|
restore_configs
|
|
|
|
opt_set MOTHERBOARD BOARD_RUMBA32_MKS
|
|
|
|
opt_set SERIAL_PORT -1
|
|
|
|
opt_set X_DRIVER_TYPE TMC2130
|
|
|
|
opt_set Y_DRIVER_TYPE TMC2208
|
|
|
|
exec_test $1 $2 "RUMBA32 MKS Default Config with Mixed TMC Drivers"
|
2020-05-10 01:49:30 -05:00
|
|
|
|
|
|
|
# cleanup
|
|
|
|
restore_configs
|