2019-09-03 02:49:58 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2020-04-06 22:51:09 +02:00
|
|
|
# Build tests for STM32F407VGT6 BigTreeTech BTT002 V1.0
|
2019-09-03 02:49:58 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# exit on first failure
|
|
|
|
set -e
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build with the default configurations
|
|
|
|
#
|
|
|
|
restore_configs
|
2021-03-03 07:15:56 +01:00
|
|
|
opt_set MOTHERBOARD BOARD_BTT_BTT002_V1_0 \
|
|
|
|
SERIAL_PORT 1 \
|
|
|
|
X_DRIVER_TYPE TMC2209 \
|
|
|
|
Y_DRIVER_TYPE TMC2130
|
2020-11-18 03:04:28 +01:00
|
|
|
exec_test $1 $2 "BigTreeTech BTT002 Default Configuration plus TMC steppers" "$3"
|
2019-09-03 02:49:58 +02:00
|
|
|
|
2021-06-13 23:56:18 +02: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 02:49:58 +02:00
|
|
|
# clean up
|
|
|
|
restore_configs
|