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