You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
925 B
Plaintext
40 lines
925 B
Plaintext
5 years ago
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Build tests for BigTreeTech GTR 1.0
|
||
|
#
|
||
|
|
||
|
# exit on first failure
|
||
|
set -e
|
||
|
|
||
|
restore_configs
|
||
|
opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
|
||
|
opt_set SERIAL_PORT -1
|
||
|
opt_set EXTRUDERS 8
|
||
|
opt_set TEMP_SENSOR_1 1
|
||
|
opt_set TEMP_SENSOR_2 1
|
||
|
opt_set TEMP_SENSOR_3 1
|
||
|
opt_set TEMP_SENSOR_4 1
|
||
|
opt_set TEMP_SENSOR_5 1
|
||
|
opt_set TEMP_SENSOR_6 1
|
||
|
opt_set TEMP_SENSOR_7 1
|
||
|
# Not necessary to enable auto-fan for all extruders to hit problematic code paths
|
||
|
opt_set E0_AUTO_FAN_PIN PC10
|
||
|
opt_set E1_AUTO_FAN_PIN PC11
|
||
|
opt_set E2_AUTO_FAN_PIN PC12
|
||
|
exec_test $1 $2 "BigTreeTech GTR 8 Extruders with Auto-Fan"
|
||
|
|
||
|
restore_configs
|
||
|
opt_set MOTHERBOARD BOARD_BTT_GTR_V1_0
|
||
|
opt_set SERIAL_PORT -1
|
||
|
opt_set EXTRUDERS 6
|
||
|
opt_set TEMP_SENSOR_1 1
|
||
|
opt_set TEMP_SENSOR_2 1
|
||
|
opt_set TEMP_SENSOR_3 1
|
||
|
opt_set TEMP_SENSOR_4 1
|
||
|
opt_set TEMP_SENSOR_5 1
|
||
|
opt_set NUM_Z_STEPPER_DRIVERS 3
|
||
|
exec_test $1 $2 "BigTreeTech GTR 6 Extruders Triple Z"
|
||
|
|
||
|
# clean up
|
||
|
restore_configs
|