2019-09-03 00:49:58 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2020-04-06 20:51:09 +00:00
|
|
|
# Build tests for STM32F407VGT6 BigTreeTech BTT002 V1.0
|
2019-09-03 00:49:58 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build with the default configurations
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 06:15:56 +00:00
|
|
|
opt_set MOTHERBOARD BOARD_BTT_BTT002_V1_0 \
|
|
|
|
SERIAL_PORT 1 \
|
|
|
|
X_DRIVER_TYPE TMC2209 \
|
|
|
|
Y_DRIVER_TYPE TMC2130
|
2020-11-18 02:04:28 +00:00
|
|
|
exec_test $1 $2 "BigTreeTech BTT002 Default Configuration plus TMC steppers" "$3"
|
2019-09-03 00:49:58 +00:00
|
|
|
|
2021-06-13 21:56:18 +00:00
|
|
|
#
|
|
|
|
# A test with Probe Temperature Compensation enabled
|
|
|
|
#
|
|
|
|
use_example_configs Prusa/MK3S-BigTreeTech-BTT002
|
|
|
|
exec_test $1 $2 "BigTreeTech BTT002 with Prusa MK3S and related options" "$3"
|
|
|
|
|
2019-09-03 00:49:58 +00:00
|
|
|
# clean up
|
|
|
|
restore_configs
|